Merge branch 'work.splice_read' of git://git.kernel.org/pub/scm/linux/kernel/git...
[cascardo/linux.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
7 This node is a subnode of the axp20x PMIC.
8
9 Example:
10
11 axp209: pmic@34 {
12         compatible = "x-powers,axp209";
13         reg = <0x34>;
14         interrupt-parent = <&nmi_intc>;
15         interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
16         interrupt-controller;
17         #interrupt-cells = <1>;
18
19         regulators {
20                 x-powers,dcdc-freq = <1500>;
21
22                 vdd_cpu: dcdc2 {
23                         regulator-always-on;
24                         regulator-min-microvolt = <1000000>;
25                         regulator-max-microvolt = <1450000>;
26                         regulator-name = "vdd-cpu";
27                 };
28
29                 ...
30         };
31
32         usb-power-supply: usb-power-supply {
33                 compatible = "x-powers,axp202-usb-power-supply";
34         };
35 };