]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: Correct value of shunt resistor for VCCINT and VCC_SOC
authorSaeed Nowshadi <saeed.nowshadi@xilinx.com>
Tue, 4 Aug 2020 06:24:05 +0000 (23:24 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 23 Sep 2020 08:31:40 +0000 (10:31 +0200)
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>
arch/arm/dts/zynqmp-e-a2197-00-revA.dts

index b81919e319481b738e2c9dfbc2bfd1a413720416..aae3c626f562e055f4b9e65e3d85d4de0d488b67 100644 (file)
                                #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";