Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / power / supply / axp20x_usb_power.txt
1 AXP20x USB power supply
2
3 Required Properties:
4 -compatible: One of: "x-powers,axp202-usb-power-supply"
5                      "x-powers,axp221-usb-power-supply"
6                      "x-powers,axp223-usb-power-supply"
7
8 The AXP223 PMIC shares most of its behaviour with the AXP221 but has slight
9 variations such as the former being able to set the VBUS power supply max
10 current to 100mA, unlike the latter.
11
12 This node is a subnode of the axp20x PMIC.
13
14 Example:
15
16 axp209: pmic@34 {
17         compatible = "x-powers,axp209";
18         reg = <0x34>;
19         interrupt-parent = <&nmi_intc>;
20         interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
21         interrupt-controller;
22         #interrupt-cells = <1>;
23
24         regulators {
25                 x-powers,dcdc-freq = <1500>;
26
27                 vdd_cpu: dcdc2 {
28                         regulator-always-on;
29                         regulator-min-microvolt = <1000000>;
30                         regulator-max-microvolt = <1450000>;
31                         regulator-name = "vdd-cpu";
32                 };
33
34                 ...
35         };
36
37         usb-power-supply: usb-power-supply {
38                 compatible = "x-powers,axp202-usb-power-supply";
39         };
40 };