Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  * Device Tree Source for OMAP4/5 SoC CPU thermal
0004  *
0005  * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
0006  * Contact: Eduardo Valentin <eduardo.valentin@ti.com>
0007  */
0008 
0009 #include <dt-bindings/thermal/thermal.h>
0010 
0011 cpu_thermal: cpu_thermal {
0012         polling-delay-passive = <250>; /* milliseconds */
0013         polling-delay = <1000>; /* milliseconds */
0014 
0015                         /* sensor       ID */
0016         thermal-sensors = <&bandgap     0>;
0017 
0018         cpu_trips: trips {
0019                 cpu_alert0: cpu_alert {
0020                         temperature = <100000>; /* millicelsius */
0021                         hysteresis = <2000>; /* millicelsius */
0022                         type = "passive";
0023                 };
0024                 cpu_crit: cpu_crit {
0025                         temperature = <125000>; /* 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                                 <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
0036                 };
0037         };
0038 };