Message ID | 1442391643-37883-1-git-send-email-yao.yuan@freescale.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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
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
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 {
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(+)