hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Rockchip system monitor device tree bindings
----------------------------------
 
Required properties:
- compatible: Should be one of the following.
 - "rockchip,system-monitor"
 
Optional properties:
- rockchip,video-4k-offline-cpus: A string containing cpus which will be killed
           when play 4k video.
- rockchip,thermal-zone: A thermal zone node containing thermal sensor,
           it's used to get the current temperature.
- rockchip,polling-delay: The maximum number of milliseconds to wait
           between polls.
- rockchip,offline-cpu-temp: An integer indicating the trip temperature level.
- rockchip,temp-hysteresis: A low hysteresis value on rockchip,offline-cpu-temp
           property (above).
- rockchip,temp-offline-cpus: A string containing cpus which will be killed
           when temperature is high.
- rockchip,thermal-governor-dummy: This property allows system monitor to
           change thermal governor to dummy, and the system
           monitor will manage cooling devices.
 
Example:
 
system-monitor {
   compatible = "rockchip,system-monitor";
 
   rockchip,thermal-zone = "soc-thermal";
   rockchip,polling-delay = <200>; /* milliseconds */
   rockchip,offline-cpu-temp = <110000>; /* millicelsius */
   rockchip,temp-offline-cpus = "2-3";
 
   rockchip,video-4k-offline-cpus = "2-3";
};