diff options
author | Finley Xiao <finley.xiao@rock-chips.com> | 2019-04-03 11:52:32 +0800 |
---|---|---|
committer | Tao Huang <huangtao@rock-chips.com> | 2019-04-25 19:40:40 +0800 |
commit | d832876e4f1a835bab467ef64c639dadd7673b4d (patch) | |
tree | 842ef5ce816f05f9caa5a543000c6050fcf8b5ab /include | |
parent | 93ae127a12cac974a831097b050e10bae96c55a3 (diff) |
soc: rockchip: system_monitor: Add reboot notifier
Change-Id: Ic788ca9ba353c7d7c64e3e323698d8c23303eaa0
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/soc/rockchip/rockchip_system_monitor.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/soc/rockchip/rockchip_system_monitor.h b/include/soc/rockchip/rockchip_system_monitor.h index d6356a84d874..2c2b74e4a883 100644 --- a/include/soc/rockchip/rockchip_system_monitor.h +++ b/include/soc/rockchip/rockchip_system_monitor.h @@ -56,6 +56,7 @@ struct temp_opp_table { * @wide_temp_limit: Target maximum frequency when low or high temperature, * in Hz * @video_4k_freq: Maximum frequency when paly 4k video, in KHz + * @reboot_freq: Limit maximum and minimum frequency when reboot, in KHz * @status_min_limit: Minimum frequency of some status frequency, in KHz * @status_max_limit: Minimum frequency of all status frequency, in KHz * @freq_table: Optional list of frequencies in descending order @@ -67,6 +68,7 @@ struct temp_opp_table { * @is_high_temp: True if current temperature greater than high_temp * @is_low_temp_enabled: True if device node contains low temperature * configuration + * @is_status_freq_fixed: True if enter into some status */ struct monitor_dev_info { struct device *dev; @@ -83,6 +85,7 @@ struct monitor_dev_info { unsigned long high_temp_max_volt; unsigned long wide_temp_limit; unsigned int video_4k_freq; + unsigned int reboot_freq; unsigned int status_min_limit; unsigned int status_max_limit; unsigned long *freq_table; @@ -93,6 +96,7 @@ struct monitor_dev_info { bool is_low_temp; bool is_high_temp; bool is_low_temp_enabled; + bool is_status_freq_fixed; }; struct monitor_dev_profile { |