LOCAL / arm64: dts: Add thermal zone device node on TM2 board
authorBeomho Seo <beomho.seo@samsung.com>
Thu, 30 Apr 2015 02:02:12 +0000 (11:02 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 14 Dec 2016 04:44:39 +0000 (13:44 +0900)
This patch add thermal-zones device node on exynos5433 based tm2 board.

Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
arch/arm64/boot/dts/exynos/exynos5433-tm2.dts

index aedced9..4476b42 100644 (file)
                wake-gpios = <&gpr3 7 0>;
                host-wake-gpios = <&gpa2 2 0>;
        };
+
+       thermal-zones {
+               battery {
+                       polling-delay-passive = <0>;
+                       polling-delay = <0>;
+                       thermal-sensors = <&thermistor_battery>;
+               };
+       };
 };
 
 &cpu0 {
                io-channels = <&adc 0>;
        };
 
-       thermistor-battery {
+       thermistor_battery: thermistor-battery {
                compatible = "ntc,ncp03wf104";
                pullup-uv = <1800000>;
                pullup-ohm = <100000>;
                pulldown-ohm = <0>;
                io-channels = <&adc 1>;
+               #thermal-sensor-cells = <0>;
        };
 
        thermistor-charger {