kernel/dts:define the thermal node for kane
authorxuwei9 <xuwei9@lenovo.com>
Tue, 16 Oct 2018 06:08:58 +0000 (14:08 +0800)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:23:50 +0000 (20:23 +0300)
Enablel thermal node
for Kane

Change-Id: I9210d59b1ae6d8d286ab582214b50e729642bdb1
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/1256235
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

arch/arm64/boot/dts/exynos/exynos9610-mot-kane.dtsi

index 6494b40c0628945cd8ca00f9b7396ac008b41094..6f9ee627cd828898bd1a54345272a229c05190fb 100644 (file)
                };
        };
 };
+
+&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";
+       };
+};
+