xref: /freebsd/sys/contrib/device-tree/Bindings/power/supply/axp20x_ac_power.txt (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1AXP20X and AXP22X PMICs' AC power supply
2
3Required Properties:
4 - compatible: One of:
5			"x-powers,axp202-ac-power-supply"
6			"x-powers,axp221-ac-power-supply"
7			"x-powers,axp813-ac-power-supply"
8
9This node is a subnode of the axp20x PMIC.
10
11The AXP20X can read the current current and voltage supplied by AC by
12reading ADC channels from the AXP20X ADC.
13
14The AXP22X is only able to tell if an AC power supply is present and
15usable.
16
17AXP813/AXP803 are able to limit current and supply voltage
18
19Example:
20
21&axp209 {
22	ac_power_supply: ac-power-supply {
23		compatible = "x-powers,axp202-ac-power-supply";
24	};
25};
26