xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/supply/axp20x_battery.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunAXP20x and AXP22x battery power supply
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired Properties:
4*4882a593Smuzhiyun - compatible, one of:
5*4882a593Smuzhiyun			"x-powers,axp209-battery-power-supply"
6*4882a593Smuzhiyun			"x-powers,axp221-battery-power-supply"
7*4882a593Smuzhiyun			"x-powers,axp813-battery-power-supply"
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunThis node is a subnode of its respective PMIC DT node.
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunThe supported devices can read the battery voltage, charge and discharge
12*4882a593Smuzhiyuncurrents of the battery by reading ADC channels from the ADC.
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunExample:
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun&axp209 {
17*4882a593Smuzhiyun	battery_power_supply: battery-power-supply {
18*4882a593Smuzhiyun		compatible = "x-powers,axp209-battery-power-supply";
19*4882a593Smuzhiyun	}
20*4882a593Smuzhiyun};
21