Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * Device tree sources for Exynos4 thermal zone
0004  *
0005  * Copyright (c) 2014 Lukasz Majewski <l.majewski@samsung.com>
0006  */
0007 
0008 #include <dt-bindings/thermal/thermal.h>
0009 
0010 / {
0011 thermal-zones {
0012         cpu_thermal: cpu-thermal {
0013                 thermal-sensors = <&tmu 0>;
0014                 polling-delay-passive = <0>;
0015                 polling-delay = <0>;
0016                 trips {
0017                         cpu_alert0: cpu-alert-0 {
0018                                 temperature = <70000>; /* millicelsius */
0019                                 hysteresis = <10000>; /* millicelsius */
0020                                 type = "active";
0021                         };
0022                         cpu_alert1: cpu-alert-1 {
0023                                 temperature = <95000>; /* millicelsius */
0024                                 hysteresis = <10000>; /* millicelsius */
0025                                 type = "active";
0026                         };
0027                         cpu_alert2: cpu-alert-2 {
0028                                 temperature = <110000>; /* millicelsius */
0029                                 hysteresis = <10000>; /* millicelsius */
0030                                 type = "active";
0031                         };
0032                         cpu_crit0: cpu-crit-0 {
0033                                 temperature = <120000>; /* millicelsius */
0034                                 hysteresis = <0>; /* millicelsius */
0035                                 type = "critical";
0036                         };
0037                 };
0038                 cooling-maps {
0039                         map0 {
0040                                 trip = <&cpu_alert0>;
0041                         };
0042                         map1 {
0043                                 trip = <&cpu_alert1>;
0044                         };
0045                 };
0046         };
0047 };
0048 };