public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm/dts: Add node for ina220 on LS1021ATWR
@ 2015-09-16  8:20 Yuan Yao
  2015-09-24 12:05 ` Shawn Guo
  0 siblings, 1 reply; 3+ messages in thread
From: Yuan Yao @ 2015-09-16  8:20 UTC (permalink / raw)
  To: shawnguo, linux-arm-kernel, linux-kernel; +Cc: hongtao.jia, yao.yuan

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@40 {
+		compatible = "ti,ina220";
+		reg = <0x40>;
+		shunt-resistor = <1000>;
+	};
+
+	ina220@41 {
+		compatible = "ti,ina220";
+		reg = <0x41>;
+		shunt-resistor = <1000>;
+	};
+
 };
 
 &i2c1 {
-- 
2.1.0.27.g96db324


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

* Re: [PATCH] arm/dts: Add node for ina220 on LS1021ATWR
  2015-09-16  8:20 [PATCH] arm/dts: Add node for ina220 on LS1021ATWR Yuan Yao
@ 2015-09-24 12:05 ` Shawn Guo
  2015-09-24 13:31   ` Yao Yuan
  0 siblings, 1 reply; 3+ messages in thread
From: Shawn Guo @ 2015-09-24 12:05 UTC (permalink / raw)
  To: Yuan Yao; +Cc: linux-arm-kernel, linux-kernel, hongtao.jia

On Wed, Sep 16, 2015 at 04:20:43PM +0800, Yuan Yao wrote:
> The INA220 monitors both shunt drop and supply voltage.
> 
> Signed-off-by: Yuan Yao <yao.yuan@freescale.com>

For sake of consistency, the subject prefix of dts patches that I
collect should be like "ARM: dts: ...".  I changed prefix and applied
patch.

Shawn

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

* RE: [PATCH] arm/dts: Add node for ina220 on LS1021ATWR
  2015-09-24 12:05 ` Shawn Guo
@ 2015-09-24 13:31   ` Yao Yuan
  0 siblings, 0 replies; 3+ messages in thread
From: Yao Yuan @ 2015-09-24 13:31 UTC (permalink / raw)
  To: Shawn Guo
  Cc: linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, Hongtao Jia

Thanks for your review. I will be care for other patches. 

Best Regards,
Yuan Yao

> -----Original Message-----
> From: Shawn Guo [mailto:shawnguo@kernel.org]
> Sent: Thursday, September 24, 2015 8:05 PM
> To: Yuan Yao-B46683 <yao.yuan@freescale.com>
> Cc: linux-arm-kernel@lists.infradead.org; linux-kernel@vger.kernel.org; Jia
> Hongtao-B38951 <hongtao.jia@freescale.com>
> Subject: Re: [PATCH] arm/dts: Add node for ina220 on LS1021ATWR
> 
> On Wed, Sep 16, 2015 at 04:20:43PM +0800, Yuan Yao wrote:
> > The INA220 monitors both shunt drop and supply voltage.
> >
> > Signed-off-by: Yuan Yao <yao.yuan@freescale.com>
> 
> For sake of consistency, the subject prefix of dts patches that I collect should
> be like "ARM: dts: ...".  I changed prefix and applied patch.
> 
> Shawn

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

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

Thread overview: 3+ 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-24 12:05 ` Shawn Guo
2015-09-24 13:31   ` Yao Yuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox