Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  * Device Tree Source for OMAP3 SoC CPU thermal
0004  *
0005  * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/
0006  */
0007 
0008 #include <dt-bindings/thermal/thermal.h>
0009 
0010 cpu_thermal: cpu-thermal {
0011         polling-delay-passive = <250>; /* milliseconds */
0012         polling-delay = <1000>; /* milliseconds */
0013         coefficients = <0 20000>;
0014 
0015                         /* sensor       ID */
0016         thermal-sensors = <&bandgap     0>;
0017 
0018         cpu_trips: trips {
0019                 cpu_alert0: cpu_alert {
0020                         temperature = <80000>; /* millicelsius */
0021                         hysteresis = <2000>; /* millicelsius */
0022                         type = "passive";
0023                 };
0024                 cpu_crit: cpu_crit {
0025                         temperature = <90000>; /* millicelsius */
0026                         hysteresis = <2000>; /* millicelsius */
0027                         type = "critical";
0028                 };
0029         };
0030 
0031         cpu_cooling_maps: cooling-maps {
0032                 map0 {
0033                         trip = <&cpu_alert0>;
0034                         cooling-device =
0035                                 <&cpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
0036                 };
0037         };
0038 };