Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: Add thermistor dts fragment used by exynos based Peach boards

This patch creates a thermistor fragment carrying the NTC
Thermistor nodes as children of the IIO based ADC.

This fragment is included in exynos5420-peach-pit.dts and
exynos5800-peach-pi.dts.

Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>

authored by

Naveen Krishna Chatradhi and committed by
Kukjin Kim
7b488038 e634a152

+56
+44
arch/arm/boot/dts/cros-adc-thermistors.dtsi
··· 1 + /* 2 + * Thermistor dts fragment for devices that use Thermistors as 3 + * children of the IIO based ADC. 4 + * 5 + * Currently, used by Exynos5420 based Peach PIT and 6 + * Exynos5800 based Peach PI. 7 + * 8 + * Copyright (c) 2014 Samsung Electronics Co., Ltd. 9 + * 10 + * This program is free software; you can redistribute it and/or modify 11 + * it under the terms of the GNU General Public License version 2 as 12 + * published by the Free Software Foundation. 13 + */ 14 + 15 + &adc { 16 + ncp15wb473@3 { 17 + compatible = "murata,ncp15wb473"; 18 + pullup-uv = <1800000>; 19 + pullup-ohm = <47000>; 20 + pulldown-ohm = <0>; 21 + io-channels = <&adc 3>; 22 + }; 23 + ncp15wb473@4 { 24 + compatible = "murata,ncp15wb473"; 25 + pullup-uv = <1800000>; 26 + pullup-ohm = <47000>; 27 + pulldown-ohm = <0>; 28 + io-channels = <&adc 4>; 29 + }; 30 + ncp15wb473@5 { 31 + compatible = "murata,ncp15wb473"; 32 + pullup-uv = <1800000>; 33 + pullup-ohm = <47000>; 34 + pulldown-ohm = <0>; 35 + io-channels = <&adc 5>; 36 + }; 37 + ncp15wb473@6 { 38 + compatible = "murata,ncp15wb473"; 39 + pullup-uv = <1800000>; 40 + pullup-ohm = <47000>; 41 + pulldown-ohm = <0>; 42 + io-channels = <&adc 6>; 43 + }; 44 + };
+6
arch/arm/boot/dts/exynos5420-peach-pit.dts
··· 103 103 }; 104 104 }; 105 105 106 + &adc { 107 + status = "okay"; 108 + vdd-supply = <&ldo9_reg>; 109 + }; 110 + 106 111 &dp { 107 112 status = "okay"; 108 113 pinctrl-names = "default"; ··· 818 813 }; 819 814 820 815 #include "cros-ec-keyboard.dtsi" 816 + #include "cros-adc-thermistors.dtsi"
+6
arch/arm/boot/dts/exynos5800-peach-pi.dts
··· 101 101 }; 102 102 }; 103 103 104 + &adc { 105 + status = "okay"; 106 + vdd-supply = <&ldo9_reg>; 107 + }; 108 + 104 109 &dp { 105 110 status = "okay"; 106 111 pinctrl-names = "default"; ··· 816 811 }; 817 812 818 813 #include "cros-ec-keyboard.dtsi" 814 + #include "cros-adc-thermistors.dtsi"