Skip to content

Commit 8437760

Browse files
valeriosettikartben
authored andcommitted
tests: drivers: build_all: add support for "x-powers,axp2101-charger"
Extend the *.dtsi file to include also an "x-powers,axp2101-charger" instance. Signed-off-by: Valerio Setti <[email protected]>
1 parent 5d78ef3 commit 8437760

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tests/drivers/build_all/charger/i2c.dtsi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,15 @@ bq257130@4 {
5454
constant-charge-voltage-max-microvolt = <3800000>;
5555
system-voltage-min-threshold-microvolt = <3328000>;
5656
};
57+
58+
axp2101@5 {
59+
compatible = "x-powers,axp2101";
60+
reg = <0x5>;
61+
62+
charger {
63+
compatible = "x-powers,axp2101-charger";
64+
constant-charge-current-max-microamp = <300000>;
65+
constant-charge-voltage-max-microvolt = <4200000>;
66+
charge-term-current-microamp = <100000>;
67+
};
68+
};

0 commit comments

Comments
 (0)