ARM: dts: Add ADC and themistor nodes for exynos4412-trats2
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 17 Mar 2014 21:25:59 +0000 (06:25 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 17 Mar 2014 21:25:59 +0000 (06:25 +0900)
commit4f423788910c726104cd47f044f520792cc045e4
treee49e6c86b45fcca93bbb0a14192da0171d775f6c
parent8bdfa203c5827da811ed01dd19ba452135d21bee
ARM: dts: Add ADC and themistor nodes for exynos4412-trats2

This patch use ADC to get the temperature of SoC/battery by using NTC thermistor
driver in hwmon. NTC thermistor driver covnvert ADC's raw data to temperature
by using following variables:

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/boot/dts/exynos4412-trats2.dts