From b9b7d194bbabc9e49e8c10e2364a7859c86fdf81 Mon Sep 17 00:00:00 2001 From: xuwei9 Date: Tue, 16 Oct 2018 14:08:58 +0800 Subject: [PATCH] kernel/dts:define the thermal node for kane Enablel thermal node for Kane Change-Id: I9210d59b1ae6d8d286ab582214b50e729642bdb1 Signed-off-by: xuwei9 Reviewed-on: https://gerrit.mot.com/1256235 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Xiangpo Zhao Submit-Approved: Jira Key --- .../boot/dts/exynos/exynos9610-mot-kane.dtsi | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos9610-mot-kane.dtsi b/arch/arm64/boot/dts/exynos/exynos9610-mot-kane.dtsi index 6494b40c0628..6f9ee627cd82 100644 --- a/arch/arm64/boot/dts/exynos/exynos9610-mot-kane.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos9610-mot-kane.dtsi @@ -44,3 +44,53 @@ }; }; }; + +&exynos_adc { + status = "okay"; + cpu_thermistor { + compatible = "murata,ncp03wf104"; + status = "okay"; + pullup-uv = <1800000>; + pullup-ohm = <100000>; + pulldown-ohm = <0>; + io-channels = <&exynos_adc 0>; + io-channel-names = "cpu_therm"; + }; + chg_thermistor { + compatible = "murata,ncp03wf104"; + status = "okay"; + pullup-uv = <1800000>; + pullup-ohm = <100000>; + pulldown-ohm = <0>; + io-channels = <&exynos_adc 1>; + io-channel-names = "chg_therm"; + }; + pa_thermistor { + compatible = "murata,ncp03wf104"; + status = "okay"; + pullup-uv = <1800000>; + pullup-ohm = <100000>; + pulldown-ohm = <0>; + io-channels = <&exynos_adc 4>; + io-channel-names = "pa_therm"; + }; + board_thermistor { + compatible = "murata,ncp03wf104"; + status = "okay"; + pullup-uv = <1800000>; + pullup-ohm = <100000>; + pulldown-ohm = <0>; + io-channels = <&exynos_adc 7>; + io-channel-names = "board_therm"; + }; + battery_thermistor { + compatible = "murata,ncp03wf104"; + status = "okay"; + pullup-uv = <1800000>; + pullup-ohm = <100000>; + pulldown-ohm = <0>; + io-channels = <&exynos_adc 8>; + io-channel-names = "batt_therm"; + }; +}; + -- 2.20.1