diff options
author | Jonghwa Lee <jonghwa3.lee@samsung.com> | 2013-11-01 00:34:32 +0900 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-03-20 17:41:18 +0900 |
commit | 209a7f933f1885cc0c2431efc5abbc35394d24ca (patch) | |
tree | 946a75edc414dc347d63864881e570d07df5a976 /arch/arm | |
parent | fb8fa3e11f8d24f56fc605b05ce28ed1d9ce3205 (diff) | |
download | linux-3.10-209a7f933f1885cc0c2431efc5abbc35394d24ca.tar.gz linux-3.10-209a7f933f1885cc0c2431efc5abbc35394d24ca.tar.bz2 linux-3.10-209a7f933f1885cc0c2431efc5abbc35394d24ca.zip |
ntc_thermistor: Update DT and board configuration to enable NTC thermistors.
Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/exynos4412-m0.dts | 18 | ||||
-rw-r--r-- | arch/arm/configs/tizen_defconfig | 4 |
2 files changed, 21 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/exynos4412-m0.dts b/arch/arm/boot/dts/exynos4412-m0.dts index 30e34b43264..4ec07fcd02b 100644 --- a/arch/arm/boot/dts/exynos4412-m0.dts +++ b/arch/arm/boot/dts/exynos4412-m0.dts @@ -215,4 +215,22 @@ }; }; }; + + thermistor-ap@0 { + compatible = "ntc,ncp03wb473"; + status = "ok"; + pullup-uv = <1800000>; + pullup-ohm = <100000>; + pulldown-ohm = <100000> ; + io-channels = <&adc 1>; + }; + + thermistor-batt@0 { + compatible = "ntc,ncp03wb473"; + status = "ok"; + pullup-uv = <1800000>; + pullup-ohm = <100000>; + pulldown-ohm = <100000> ; + io-channels = <&adc 2>; + }; }; diff --git a/arch/arm/configs/tizen_defconfig b/arch/arm/configs/tizen_defconfig index 184e67cebf4..16598c642dc 100644 --- a/arch/arm/configs/tizen_defconfig +++ b/arch/arm/configs/tizen_defconfig @@ -1739,7 +1739,9 @@ CONFIG_CHARGER_MAX77693=y # CONFIG_POWER_RESET is not set # CONFIG_POWER_RESET_RESTART is not set # CONFIG_POWER_AVS is not set -# CONFIG_HWMON is not set +CONFIG_HWMON=y + +CONFIG_SENSORS_NTC_THERMISTOR=y # CONFIG_THERMAL is not set CONFIG_WATCHDOG=y CONFIG_WATCHDOG_CORE=y |