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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Michal Simek-3
From: Saeed Nowshadi <[hidden email]>

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 <[hidden email]>
Signed-off-by: Michal Simek <[hidden email]>
---

 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

Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] arm64: zynqmp: Correct value of shunt resistor for VCCINT and VCC_SOC

Michal Simek-4
čt 27. 8. 2020 v 14:42 odesílatel Michal Simek <[hidden email]> napsal:

>
> From: Saeed Nowshadi <[hidden email]>
>
> 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 <[hidden email]>
> Signed-off-by: Michal Simek <[hidden email]>
> ---
>
>  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

--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs