All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm/dts: Add node for ina220 on LS1021ATWR
@ 2015-09-16  8:20 ` Yuan Yao
  0 siblings, 0 replies; 6+ messages in thread
From: Yuan Yao @ 2015-09-16  8:20 UTC (permalink / raw)
  To: linux-arm-kernel

The INA220 monitors both shunt drop and supply voltage.

Signed-off-by: Yuan Yao <yao.yuan@freescale.com>
---
 arch/arm/boot/dts/ls1021a-twr.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm/boot/dts/ls1021a-twr.dts b/arch/arm/boot/dts/ls1021a-twr.dts
index e008f93..fbb89d1 100644
--- a/arch/arm/boot/dts/ls1021a-twr.dts
+++ b/arch/arm/boot/dts/ls1021a-twr.dts
@@ -144,6 +144,19 @@
 
 &i2c0 {
 	status = "okay";
+
+	ina220 at 40 {
+		compatible = "ti,ina220";
+		reg = <0x40>;
+		shunt-resistor = <1000>;
+	};
+
+	ina220 at 41 {
+		compatible = "ti,ina220";
+		reg = <0x41>;
+		shunt-resistor = <1000>;
+	};
+
 };
 
 &i2c1 {
-- 
2.1.0.27.g96db324

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-09-24 13:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-16  8:20 [PATCH] arm/dts: Add node for ina220 on LS1021ATWR Yuan Yao
2015-09-16  8:20 ` Yuan Yao
2015-09-24 12:05 ` Shawn Guo
2015-09-24 12:05   ` Shawn Guo
2015-09-24 13:31   ` Yao Yuan
2015-09-24 13:31     ` Yao Yuan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.