Skip to contentSkip to conversation

arm: dts: fix NTC thermistor device nodes for cros5250

PATCH Superseded Naveen Krishna Chatradhi 2 participants 3 messages Aug 22, 2013 – Aug 23, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: dts: fix NTC thermistor device nodes for cros5250

This patch fixes NTC devices nodes connected to ADC channel 3, 4, 5 and 6 on exynos5250 based snow device.

---
 arch/arm/boot/dts/cros5250-common.dtsi |   33 ++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
arch/arm/boot/dts/cros5250-common.dtsi +33 -0
index dc259e8b..26bc25a 100644
@@ -313,4 +313,37 @@
 			gpio-key,wakeup;
 		};
 	};
+
+	adc at 12D10000 {
+		vdd-supply = <&buck5_reg>;
+
+		ncp15wb473 at 3 {
+			compatible = "ntc,ncp15wb473";
+			pullup-uv = <1800000>;
+			pullup-ohm = <47000>;
+			pulldown-ohm = <0>;
+			io-channels = <&adc 3>;
+		};
+		ncp15wb473 at 4 {
+			compatible = "ntc,ncp15wb473";
+			pullup-uv = <1800000>;
+			pullup-ohm = <47000>;
+			pulldown-ohm = <0>;
+			io-channels = <&adc 4>;
+		};
+		ncp15wb473 at 5 {
+			compatible = "ntc,ncp15wb473";
+			pullup-uv = <1800000>;
+			pullup-ohm = <47000>;
+			pulldown-ohm = <0>;
+			io-channels = <&adc 5>;
+		};
+		ncp15wb473 at 6 {
+			compatible = "ntc,ncp15wb473";
+			pullup-uv = <1800000>;
+			pullup-ohm = <47000>;
+			pulldown-ohm = <0>;
+			io-channels = <&adc 6>;
+		};
+	};
 };
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 arm: dts: fix NTC thermistor device nodes for cros5250

Hi Naveen,

Quoted 8 lines · On Thursday 22 of August 2013 17:18:34 Naveen Krishna Chatradhi wrote:

This patch fixes NTC devices nodes connected to ADC channel 3, 4, 5 and 6 on exynos5250 based snow device.

---
 arch/arm/boot/dts/cros5250-common.dtsi |   33

++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+)

This patch does not look like fixing anything. Instead it adds board specific data to adc node to cros5250 common dtsi file.

Also please resend this patch with all the recipients added according to MAINTAINERS file.

Best regards,
Tomasz

#2 lore raw

PATCH v2 1/1 arm: dts: fix NTC thermistor device nodes for cros5250

In reply to Naveen Krishna Chatradhi

This patch fixes NTC devices nodes connected to ADC channel 3, 4, 5 and 6 on exynos5250 based snow device.

---

Added recipients accordingly, ./scripts/get_maintainer.pl -f of the modified files

 arch/arm/boot/dts/cros5250-common.dtsi |   33 ++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
arch/arm/boot/dts/cros5250-common.dtsi +33 -0
index dc259e8b..26bc25a 100644
@@ -313,4 +313,37 @@
 			gpio-key,wakeup;
 		};
 	};
+
+	adc at 12D10000 {
+		vdd-supply = <&buck5_reg>;
+
+		ncp15wb473 at 3 {
+			compatible = "ntc,ncp15wb473";
+			pullup-uv = <1800000>;
+			pullup-ohm = <47000>;
+			pulldown-ohm = <0>;
+			io-channels = <&adc 3>;
+		};
+		ncp15wb473 at 4 {
+			compatible = "ntc,ncp15wb473";
+			pullup-uv = <1800000>;
+			pullup-ohm = <47000>;
+			pulldown-ohm = <0>;
+			io-channels = <&adc 4>;
+		};
+		ncp15wb473 at 5 {
+			compatible = "ntc,ncp15wb473";
+			pullup-uv = <1800000>;
+			pullup-ohm = <47000>;
+			pulldown-ohm = <0>;
+			io-channels = <&adc 5>;
+		};
+		ncp15wb473 at 6 {
+			compatible = "ntc,ncp15wb473";
+			pullup-uv = <1800000>;
+			pullup-ohm = <47000>;
+			pulldown-ohm = <0>;
+			io-channels = <&adc 6>;
+		};
+	};
 };
Signature · 1 line
1.7.9.5