E2530-A01 has the shunt resister value as {10, 10, 10} but
E2530-A03 has the shunt resister value as {5, 10, 10}.
Correcting this by:
- Creating top level dts file for E2530-A01.
- rename the powermon for e2530-a03 to e2530-a01.
- Override the properties value for eP2530-A03.
bug
1414772
Change-Id: I0637fa16379070eb71125a03c50b5bb1b5cf57f3
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
tegra124-loki-02-cell-battery.dtb \
tegra124-loki-03-cell-battery.dtb \
tegra124-loki-e2548-a00.dtb \
+ tegra124-loki-e2530-a01.dtb \
tegra124-loki-e2530-a03.dtb \
tegra124-loki-mods.dtb \
tegra124-foster.dtb \
--- /dev/null
+#include "tegra124-loki.dts"
+#include "tegra124-platforms/tegra124-loki-powermon-e2530-a01.dtsi"
#include "tegra124-loki.dts"
-#include "tegra124-platforms/tegra124-loki-powermon-e2530-a03.dtsi"
+#include "tegra124-platforms/tegra124-loki-powermon-e2530-a01.dtsi"
+
+/ {
+ i2c@7000c400 {
+ ina3221x@40 {
+ channel@0 {
+ ti,shunt-resistor-mohm = <5>;
+ };
+ };
+ };
+};
channel@0 {
reg = <0x0>;
ti,rail-name = "VDD_BATT";
- ti,shunt-resistor-mohm = <5>;
+ ti,shunt-resistor-mohm = <10>;
ti,current-critical-limit-ma = <6800>;
};