Linux Audio

Check our new training course

Loading...
v6.2
 1// SPDX-License-Identifier: GPL-2.0-only
 2/*
 3 * Device Tree Source for OMAP4/5 SoC CPU thermal
 4 *
 5 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
 6 * Contact: Eduardo Valentin <eduardo.valentin@ti.com>
 
 
 
 
 7 */
 8
 9#include <dt-bindings/thermal/thermal.h>
10
11cpu_thermal: cpu_thermal {
12	polling-delay-passive = <250>; /* milliseconds */
13	polling-delay = <1000>; /* milliseconds */
14
15			/* sensor       ID */
16	thermal-sensors = <&bandgap     0>;
17
18	cpu_trips: trips {
19		cpu_alert0: cpu_alert {
20			temperature = <100000>; /* millicelsius */
21			hysteresis = <2000>; /* millicelsius */
22			type = "passive";
23		};
24		cpu_crit: cpu_crit {
25			temperature = <125000>; /* millicelsius */
26			hysteresis = <2000>; /* millicelsius */
27			type = "critical";
28		};
29	};
30
31	cpu_cooling_maps: cooling-maps {
32		map0 {
33			trip = <&cpu_alert0>;
34			cooling-device =
35				<&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
36		};
37	};
38};
v5.9
 
 1/*
 2 * Device Tree Source for OMAP4/5 SoC CPU thermal
 3 *
 4 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
 5 * Contact: Eduardo Valentin <eduardo.valentin@ti.com>
 6 *
 7 * This file is licensed under the terms of the GNU General Public License
 8 * version 2.  This program is licensed "as is" without any warranty of any
 9 * kind, whether express or implied.
10 */
11
12#include <dt-bindings/thermal/thermal.h>
13
14cpu_thermal: cpu_thermal {
15	polling-delay-passive = <250>; /* milliseconds */
16	polling-delay = <1000>; /* milliseconds */
17
18			/* sensor       ID */
19        thermal-sensors = <&bandgap     0>;
20
21	cpu_trips: trips {
22                cpu_alert0: cpu_alert {
23                        temperature = <100000>; /* millicelsius */
24                        hysteresis = <2000>; /* millicelsius */
25                        type = "passive";
26                };
27                cpu_crit: cpu_crit {
28                        temperature = <125000>; /* millicelsius */
29                        hysteresis = <2000>; /* millicelsius */
30                        type = "critical";
31                };
32        };
33
34	cpu_cooling_maps: cooling-maps {
35		map0 {
36			trip = <&cpu_alert0>;
37			cooling-device =
38				<&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
39		};
40	};
41};