mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 05:56:38 +07:00
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 <rklein@nvidia.com> [swarren: remove unit-address from node name since it's unique already] Signed-off-by: Stephen Warren <swarren@nvidia.com>
This commit is contained in:
parent
dc7c59d7c9
commit
33eb271ed3
@ -717,6 +717,19 @@ serial@70006300 {
|
||||
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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user