summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonghwa Lee <jonghwa3.lee@samsung.com>2014-10-01 15:47:10 +0900
committerJonghwa Lee <jonghwa3.lee@samsung.com>2014-10-08 11:16:16 +0900
commitf076473db1a3e4473298376733104b33e90571e4 (patch)
treec5247cf5d9c9ba03fd39e67d59a247a91d54685e
parenta5ec87b1da6c588438516a2f3c1ec076c074b270 (diff)
downloadlinux-3.10-f076473db1a3e4473298376733104b33e90571e4.tar.gz
linux-3.10-f076473db1a3e4473298376733104b33e90571e4.tar.bz2
linux-3.10-f076473db1a3e4473298376733104b33e90571e4.zip
arm: dts: exynos3250: Add battery thermal zone.
Add battery thermal zone using the thermistor close to battery to monitor exterior battery temperature. Change-Id: Ie755506b40a2b060b7b0cd028e1fc5463f9f42b1 Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
-rw-r--r--arch/arm/boot/dts/exynos3250-rinato.dts11
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/exynos3250-rinato.dts b/arch/arm/boot/dts/exynos3250-rinato.dts
index debb571fb4a..4e3d0ab8092 100644
--- a/arch/arm/boot/dts/exynos3250-rinato.dts
+++ b/arch/arm/boot/dts/exynos3250-rinato.dts
@@ -244,6 +244,14 @@
gpio = <&gpk0 2 0>;
enable-active-high;
};
+
+ thermal-zones {
+ battery {
+ polling-delay-passive = <0>;
+ polling-delay = <0>;
+ thermal-sensors = <&thermistor_battery>;
+ };
+ };
};
&adc {
@@ -260,12 +268,13 @@
io-channels = <&adc 0>;
};
- thermistor-battery@1 {
+ thermistor_battery: thermistor-battery@1 {
compatible = "ntc,ncp15wb473";
pullup-uv = <1800000>;
pullup-ohm = <100000>;
pulldown-ohm = <100000>;
io-channels = <&adc 1>;
+ #thermal-sensor-cells = <0>;
};
};