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