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

Michal Simek monstr at monstr.eu
Wed Sep 23 14:06:03 CEST 2020


čt 27. 8. 2020 v 14:42 odesílatel Michal Simek <michal.simek at xilinx.com> napsal:
>
> From: Saeed Nowshadi <saeed.nowshadi at 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 at xilinx.com>
> Signed-off-by: Michal Simek <michal.simek at 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 at 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 at 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


More information about the U-Boot mailing list