Skip to content

Commit

Permalink
ARM: tegra: Add sbs-battery node to Dalmore
Browse files Browse the repository at this point in the history
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 <rklein@nvidia.com>
[swarren: remove unit-address from node name since it's unique already]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
  • Loading branch information
Rhyland Klein authored and Stephen Warren committed Apr 4, 2013
1 parent dc7c59d commit 33eb271
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions arch/arm/boot/dts/tegra114-dalmore.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit 33eb271

Please sign in to comment.