diff options
author | Beomho Seo <beomho.seo@samsung.com> | 2015-04-30 11:02:12 +0900 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2016-12-14 13:44:39 +0900 |
commit | dd0c58f725ee388ec1aefbf7c31df2586db384e2 (patch) | |
tree | 62f23bbe660dc40d678dfd97d764507cdb3dfcd6 | |
parent | 239e0773cb3217ea01608479f791a1fc88b1640d (diff) |
LOCAL / arm64: dts: Add thermal zone device node on TM2 board
This patch add thermal-zones device node on exynos5433 based tm2 board.
Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
-rw-r--r-- | arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts index aedced9fd6ee..4476b423bf11 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts @@ -241,6 +241,14 @@ 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 { @@ -905,12 +913,13 @@ 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 { |