Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 33eb271e authored by Rhyland Klein's avatar Rhyland Klein Committed by Stephen Warren
Browse files

ARM: tegra: Add sbs-battery node to Dalmore



This patch adds the node for the bq20z45 I2C gas gauge which is
compatible with the sbs-battery power supply driver.

Signed-off-by: default avatarRhyland Klein <rklein@nvidia.com>
[swarren: remove unit-address from node name since it's unique already]
Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
parent dc7c59d7
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -717,6 +717,19 @@
		status = "okay";
	};

	i2c@7000c000 {
		status = "okay";
		clock-frequency = <100000>;

		battery: smart-battery {
			compatible = "ti,bq20z45", "sbs,sbs-battery";
			reg = <0xb>;
			battery-name = "battery";
			sbs,i2c-retry-count = <2>;
			sbs,poll-retry-count = <100>;
		};
	};

	pmc {
		nvidia,invert-interrupt;
	};