diff mbox series

arm64: zynqmp: Correct value of shunt resistor for VCCINT and VCC_SOC

Message ID 381c18f846f62b0aab209d081be62ad9ceb3ea4d.1598532138.git.michal.simek@xilinx.com
State Accepted
Commit ed6d31c8a67449f24cbf5a5ae56ba675d41ffa8e
Delegated to: Michal Simek
Headers show
Series arm64: zynqmp: Correct value of shunt resistor for VCCINT and VCC_SOC | expand

Commit Message

Michal Simek Aug. 27, 2020, 12:42 p.m. UTC
From: Saeed Nowshadi <saeed.nowshadi@xilinx.com>

Value of shunt resistor for INA226s that monitor VCCINT and VCC_SOC power
rails are incorrect.  This patch corrects those values.

Signed-off-by: Saeed Nowshadi <saeed.nowshadi@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 arch/arm/dts/zynqmp-e-a2197-00-revA.dts | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Michal Simek Sept. 23, 2020, 12:06 p.m. UTC | #1
čt 27. 8. 2020 v 14:42 odesílatel Michal Simek <michal.simek@xilinx.com> napsal:
>
> From: Saeed Nowshadi <saeed.nowshadi@xilinx.com>
>
> Value of shunt resistor for INA226s that monitor VCCINT and VCC_SOC power
> rails are incorrect.  This patch corrects those values.
>
> Signed-off-by: Saeed Nowshadi <saeed.nowshadi@xilinx.com>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
>  arch/arm/dts/zynqmp-e-a2197-00-revA.dts | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm/dts/zynqmp-e-a2197-00-revA.dts b/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
> index b81919e31948..aae3c626f562 100644
> --- a/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
> +++ b/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
> @@ -230,16 +230,16 @@
>                                 #io-channel-cells = <1>;
>                                 label = "ina226-vccint";
>                                 reg = <0x40>;
> -                               shunt-resistor = <5000>; /* R440 */
> -                               /* 0.78V @ 32A 1 of 6 Phases*/
> +                               shunt-resistor = <500>; /* R440 */
> +                               /* 0.80V @ 32A 1 of 6 Phases*/
>                         };
>                         vcc_soc: ina226@41 { /* u161 */
>                                 compatible = "ti,ina226";
>                                 #io-channel-cells = <1>;
>                                 label = "ina226-vcc-soc";
>                                 reg = <0x41>;
> -                               shunt-resistor = <2000>; /* R1186 */
> -                               /* 0.78V @ 18A */
> +                               shunt-resistor = <500>; /* R1702 */
> +                               /* 0.80V @ 18A */
>                         };
>                         vcc_pmc: ina226@42 { /* u163 */
>                                 compatible = "ti,ina226";
> --
> 2.28.0
>

Applied.
M
diff mbox series

Patch

diff --git a/arch/arm/dts/zynqmp-e-a2197-00-revA.dts b/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
index b81919e31948..aae3c626f562 100644
--- a/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
+++ b/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
@@ -230,16 +230,16 @@ 
 				#io-channel-cells = <1>;
 				label = "ina226-vccint";
 				reg = <0x40>;
-				shunt-resistor = <5000>; /* R440 */
-				/* 0.78V @ 32A 1 of 6 Phases*/
+				shunt-resistor = <500>; /* R440 */
+				/* 0.80V @ 32A 1 of 6 Phases*/
 			};
 			vcc_soc: ina226@41 { /* u161 */
 				compatible = "ti,ina226";
 				#io-channel-cells = <1>;
 				label = "ina226-vcc-soc";
 				reg = <0x41>;
-				shunt-resistor = <2000>; /* R1186 */
-				/* 0.78V @ 18A */
+				shunt-resistor = <500>; /* R1702 */
+				/* 0.80V @ 18A */
 			};
 			vcc_pmc: ina226@42 { /* u163 */
 				compatible = "ti,ina226";