ARM: tegra: Add sbs-battery node to Dalmore
Subsystems (2)
PATCH 1/1 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 Rhyland Klein <[email protected]>
--- arch/arm/boot/dts/tegra114-dalmore.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+)
arch/arm/boot/dts/tegra114-dalmore.dts +13 -0
@@ -718,6 +718,19 @@ clock-frequency = <408000000>; }; + i2c at 7000c000 { + status = "okay"; + clock-frequency = <100000>; + + battery: smart-battery at b { + 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; };
Signature · 1 line
1.7.9.5
Stephen Warren
AppliedPATCH 1/1 ARM: tegra: Add sbs-battery node to Dalmore
Quoted 2 lines · Rhyland Klein
This patch adds the node for the bq20z45 I2C gas gauge which is compatible with the sbs-battery power supply driver.
Applied to Tegra's for-3.10/dt branch.
arch/arm/boot/dts/tegra114-dalmore.dts line 725
Quoted 3 lines
arch/arm/boot/dts/tegra114-dalmore.dts +1
-0+ battery: smart-battery at b {
I removed "@b" here, since the unit-address isn't necessary to make the node name unique.