aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Gonzalez <marc_gonzalez@sigmadesigns.com>2016-05-04 06:47:02 -0400
committerArnd Bergmann <arnd@arndb.de>2016-05-10 10:11:27 -0400
commita6e818898caeb5cb7bf478f74d58938ae1d520d3 (patch)
tree945281d2c0167ca55592e37b3ffb1b9cd2026be3
parent0f02588434a448dc593d4fae35eda10fad1897c5 (diff)
ARM: dts: tango4: Initial thermal support
Define the CPU temperature sensor, and critical trip point. Commit 799d71da471c ("add temperature sensor support for tango SoC") added the device driver. Acked-by: Eduardo Valentin <edubezval@gmail.com> Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r--arch/arm/boot/dts/tango4-smp8758.dtsi23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tango4-smp8758.dtsi b/arch/arm/boot/dts/tango4-smp8758.dtsi
index 7ed88ee629fb..01d5f8f1c71d 100644
--- a/arch/arm/boot/dts/tango4-smp8758.dtsi
+++ b/arch/arm/boot/dts/tango4-smp8758.dtsi
@@ -28,4 +28,27 @@
28 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, 28 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
29 <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; 29 <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
30 }; 30 };
31
32 soc {
33 cpu_temp: thermal@920100 {
34 #thermal-sensor-cells = <0>;
35 compatible = "sigma,smp8758-thermal";
36 reg = <0x920100 12>;
37 };
38 };
39
40 thermal-zones {
41 cpu_thermal: cpu-thermal {
42 polling-delay = <997>; /* milliseconds */
43 polling-delay-passive = <499>; /* milliseconds */
44 thermal-sensors = <&cpu_temp>;
45 trips {
46 cpu_critical {
47 temperature = <120000>;
48 hysteresis = <2500>;
49 type = "critical";
50 };
51 };
52 };
53 };
31}; 54};