Thread (1 message) 1 message, 1 author, 2014-01-06

[PATCHv2 6/7] arm: dts: add tmp102 i2c sensor node on dra7-evm

From: Eduardo Valentin <hidden>
Date: 2014-01-06 12:40:33
Also in: linux-devicetree, linux-pm, lkml
Subsystem: the rest · Maintainer: Linus Torvalds

On dra7-evm there is an tmp102 temperature sensor on i2c bus 1.
This patch adds its device tree node.

Cc: Beno?t Cousson <redacted>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Rob Herring <redacted>
Cc: Pawel Moll <redacted>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <redacted>
Cc: Ian Campbell <redacted>
Cc: Russell King <redacted>
Cc: devicetree at vger.kernel.org
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-kernel at vger.kernel.org
Signed-off-by: Eduardo Valentin <redacted>
---
 arch/arm/boot/dts/dra7-evm.dts | 7 +++++++
 1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
index 5babba0..36e2c9e 100644
--- a/arch/arm/boot/dts/dra7-evm.dts
+++ b/arch/arm/boot/dts/dra7-evm.dts
@@ -212,6 +212,13 @@
 			};
 		};
 	};
+
+	tmp102: tmp102 at 48 {
+		compatible = "ti,tmp102";
+		reg = <0x48>;
+
+		#thermal-sensor-cells = <0>;
+	};
 };
 
 &i2c2 {
-- 
1.8.2.1.342.gfa7285d
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help