blob: d70494c4506ec6269a9acd6861c60fe4e46e2b02 [file] [log] [blame]
Przemyslaw Marczakd5175dc2015-05-13 13:38:32 +02001Sandbox, PMIC regulators
2
3This device uses two drivers:
4- drivers/power/pmic/sandbox.c (as parent I/O device)
5- drivers/power/regulator/sandbox.c (for child regulators)
6
7This file describes the binding info for the REGULATOR driver.
8
9First, please read the binding info for the PMIC:
10- doc/device-tree-bindings/pmic/sandbox.txt
11
12Required subnodes:
13- ldoN { };
14- buckN { };
15
16The sandbox PMIC can support: ldo1, ldo2, buck1, buck2.
17
18For each PMIC's regulator subnode, there is one required property:
19- regulator-name: used for regulator uclass platform data '.name'
20
21Optional:
22- regulator-min-microvolt: minimum allowed Voltage to set
23- regulator-max-microvolt: minimum allowed Voltage to set
24- regulator-min-microamps: minimum allowed Current limit to set (LDO1/BUCK1)
25- regulator-max-microamps: minimum allowed Current limit to set (LDO1/BUCK1)
26- regulator-always-on: regulator should be never disabled
27- regulator-boot-on: regulator should be enabled by the bootloader
28
29Example PMIC's regulator subnodes:
30
31ldo1 {
32 regulator-name = "VDD_1.0V";
33 regulator-min-microvolt = <1000000>;
34 regulator-max-microvolt = <1200000>;
35 regulator-min-microamps = <100000>;
36 regulator-max-microamps = <400000>;
37 regulator-always-on;
38};
39
40buck2 {
41 regulator-name = "VDD_1.8V";
42 regulator-min-microvolt = <1800000>;
43 regulator-max-microvolt = <1800000>;
44 regulator-boot-on;
45};