Merge branch 'apw' (xfrm_user fixes)
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / power / supply / axp20x_ac_power.txt
1 AXP20X and AXP22X PMICs' AC power supply
2
3 Required Properties:
4  - compatible: One of:
5                         "x-powers,axp202-ac-power-supply"
6                         "x-powers,axp221-ac-power-supply"
7
8 This node is a subnode of the axp20x PMIC.
9
10 The AXP20X can read the current current and voltage supplied by AC by
11 reading ADC channels from the AXP20X ADC.
12
13 The AXP22X is only able to tell if an AC power supply is present and
14 usable.
15
16 Example:
17
18 &axp209 {
19         ac_power_supply: ac-power-supply {
20                 compatible = "x-powers,axp202-ac-power-supply";
21         };
22 };