2020-07-14 07:17:24

by Biwen Li (OSS)

[permalink] [raw]
Subject: [RESEND v2] arm64: dts: lx2160a-rdb: fix shunt-resistor value

From: Biwen Li <[email protected]>

Fix value of shunt-resistor property.
The LX2160A-RDB has 500 uOhm shunt for
the INA220, not 1000 uOhm. Unless
it will get wrong power consumption(1/2)

Signed-off-by: Biwen Li <[email protected]>
---
arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
index 22d0308..54fe8cd 100644
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
@@ -121,7 +121,7 @@
power-monitor@40 {
compatible = "ti,ina220";
reg = <0x40>;
- shunt-resistor = <1000>;
+ shunt-resistor = <500>;
};
};

--
2.7.4


2020-07-20 02:32:50

by Shawn Guo

[permalink] [raw]
Subject: Re: [RESEND v2] arm64: dts: lx2160a-rdb: fix shunt-resistor value

On Tue, Jul 14, 2020 at 03:08:28PM +0800, Biwen Li wrote:
> From: Biwen Li <[email protected]>
>
> Fix value of shunt-resistor property.
> The LX2160A-RDB has 500 uOhm shunt for
> the INA220, not 1000 uOhm. Unless
> it will get wrong power consumption(1/2)
>
> Signed-off-by: Biwen Li <[email protected]>

Applied, thanks.