Skip to content

Commit b0ae3b1

Browse files
committed
battery: add battery charge current in dts
Signed-off-by: Vincent-FK <vincent.buso@funkey-project.com>
1 parent cc79971 commit b0ae3b1

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

arch/arm/boot/dts/sun8i-v3s-funkey.dts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@
6363
default-brightness-level = <11>;
6464
power-supply = <&reg_vcc5v0>;
6565
};
66+
67+
bat: battery {
68+
compatible = "simple-battery";
69+
constant_charge_current_max_microamp = <400000>;
70+
};
6671
};
6772

6873
&codec {
@@ -121,6 +126,7 @@
121126

122127
&battery_power_supply {
123128
status = "okay";
129+
monitored-battery = <&bat>;
124130
};
125131

126132
&usb_power_supply {

0 commit comments

Comments
 (0)