提交 33eb271e 编写于 作者: R Rhyland Klein 提交者: Stephen Warren

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: NRhyland Klein <rklein@nvidia.com>
[swarren: remove unit-address from node name since it's unique already]
Signed-off-by: NStephen Warren <swarren@nvidia.com>
上级 dc7c59d7
...@@ -717,6 +717,19 @@ ...@@ -717,6 +717,19 @@
status = "okay"; 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 { pmc {
nvidia,invert-interrupt; nvidia,invert-interrupt;
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册