xref: /freebsd/sys/contrib/device-tree/Bindings/power/supply/axp20x_battery.txt (revision ebacd8013fe5f7fdf9f6a5b286f6680dd2891036)
1AXP20x and AXP22x battery power supply
2
3Required Properties:
4 - compatible, one of:
5			"x-powers,axp209-battery-power-supply"
6			"x-powers,axp221-battery-power-supply"
7			"x-powers,axp813-battery-power-supply"
8
9This node is a subnode of its respective PMIC DT node.
10
11The supported devices can read the battery voltage, charge and discharge
12currents of the battery by reading ADC channels from the ADC.
13
14Example:
15
16&axp209 {
17	battery_power_supply: battery-power-supply {
18		compatible = "x-powers,axp209-battery-power-supply";
19	}
20};
21