diff options
Diffstat (limited to 'include/soc/rockchip/rockchip_opp_select.h')
-rw-r--r-- | include/soc/rockchip/rockchip_opp_select.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/soc/rockchip/rockchip_opp_select.h b/include/soc/rockchip/rockchip_opp_select.h index 1324feebbf39..ed4495355d94 100644 --- a/include/soc/rockchip/rockchip_opp_select.h +++ b/include/soc/rockchip/rockchip_opp_select.h @@ -44,6 +44,7 @@ struct thermal_opp_info { int high_temp_max_volt; bool is_low_temp; bool is_high_temp; + bool is_low_temp_enabled; }; #ifdef CONFIG_ROCKCHIP_OPP @@ -74,6 +75,7 @@ rockchip_register_thermal_notifier(struct device *dev, void rockchip_unregister_thermal_notifier(struct thermal_opp_info *info); int rockchip_cpu_low_temp_adjust(struct thermal_opp_info *info, bool is_low); +int rockchip_cpu_suspend_low_temp_adjust(struct thermal_opp_info *info); int rockchip_cpu_high_temp_adjust(struct thermal_opp_info *info, bool is_high); int rockchip_dev_low_temp_adjust(struct thermal_opp_info *info, @@ -156,6 +158,12 @@ static inline int rockchip_cpu_low_temp_adjust(struct thermal_opp_info *info, return -ENOTSUPP; } +static inline int +rockchip_cpu_suspend_low_temp_adjust(struct thermal_opp_info *info) +{ + return -ENOTSUPP; +} + static inline int rockchip_cpu_high_temp_adjust(struct thermal_opp_info *info, bool is_high) { |