From: Hyeonseong Gil Date: Wed, 8 Aug 2018 23:55:54 +0000 (+0900) Subject: [ERD][RAMEN9610-13615] [9610] arm64: dts: Enable Thermistor node X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c1a2bd16f683c96f3a36f8d5dde257c22f8e93b6;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [ERD][RAMEN9610-13615] [9610] arm64: dts: Enable Thermistor node Change-Id: I9ead9c45fe7c4f1a464c91e69bdb25a1d812557f Signed-off-by: Hyeonseong Gil Signed-off-by: Hanjun Shin --- diff --git a/arch/arm64/boot/dts/exynos/exynos9610-erd9610_common.dtsi b/arch/arm64/boot/dts/exynos/exynos9610-erd9610_common.dtsi index 7d2079e09594..819d900629b1 100644 --- a/arch/arm64/boot/dts/exynos/exynos9610-erd9610_common.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos9610-erd9610_common.dtsi @@ -1820,3 +1820,25 @@ sink,capable_max_voltage = <9000>; }; }; + +&exynos_adc { + status = "okay"; + soc_thermistor { + compatible = "murata,ncp03wf104"; + status = "okay"; + pullup-uv = <1800000>; + pullup-ohm = <100000>; + pulldown-ohm = <0>; + io-channels = <&exynos_adc 0>; + io-channel-names = "soc_therm"; + }; + batt_thermistor { + compatible = "murata,ncp03wf104"; + status = "okay"; + pullup-uv = <1800000>; + pullup-ohm = <100000>; + pulldown-ohm = <0>; + io-channels = <&exynos_adc 1>; + io-channel-names = "batt_therm"; + }; +};