Skip to content

Commit 328829a

Browse files
Lukasz MajewskiKukjin Kim
authored andcommitted
ARM: dts: define default thermal-zones for exynos4
Trip points corresponding to the one defined in the exynos_tmu_data.c for Exynos4 have been included. This thermal-zones attribute is afterwards reused for Exynos4210, Exynos4412 and Exynos5250. Signed-off-by: Lukasz Majewski <[email protected]> Acked-by: Eduardo Valentin <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
1 parent b350de6 commit 328829a

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
/*
2+
* Device tree sources for Exynos4 thermal zone
3+
*
4+
* Copyright (c) 2014 Lukasz Majewski <[email protected]>
5+
*
6+
* This program is free software; you can redistribute it and/or modify
7+
* it under the terms of the GNU General Public License version 2 as
8+
* published by the Free Software Foundation.
9+
*
10+
*/
11+
12+
#include <dt-bindings/thermal/thermal.h>
13+
14+
/ {
15+
thermal-zones {
16+
cpu_thermal: cpu-thermal {
17+
thermal-sensors = <&tmu 0>;
18+
polling-delay-passive = <0>;
19+
polling-delay = <0>;
20+
trips {
21+
cpu_alert0: cpu-alert-0 {
22+
temperature = <70000>; /* millicelsius */
23+
hysteresis = <10000>; /* millicelsius */
24+
type = "active";
25+
};
26+
cpu_alert1: cpu-alert-1 {
27+
temperature = <95000>; /* millicelsius */
28+
hysteresis = <10000>; /* millicelsius */
29+
type = "active";
30+
};
31+
cpu_alert2: cpu-alert-2 {
32+
temperature = <110000>; /* millicelsius */
33+
hysteresis = <10000>; /* millicelsius */
34+
type = "active";
35+
};
36+
cpu_crit0: cpu-crit-0 {
37+
temperature = <120000>; /* millicelsius */
38+
hysteresis = <0>; /* millicelsius */
39+
type = "critical";
40+
};
41+
};
42+
cooling-maps {
43+
map0 {
44+
trip = <&cpu_alert0>;
45+
};
46+
map1 {
47+
trip = <&cpu_alert1>;
48+
};
49+
};
50+
};
51+
};
52+
};

0 commit comments

Comments
 (0)