regulator: max77812: add max77812 regulator driver
[linux-4.4.git] / Documentation / devicetree / bindings / regulator / max77812-regulator.txt
1 MAX77812 voltage regulator
2
3 Required properties:
4 - compatible: "maxim,max77812-regulator"
5 - reg: I2C slave address
6
7 Regulators subnode:
8
9 MAX77812 supports four regulators, regulators should be described under
10     regualtors subnode.
11
12 Optional properties:
13 -maxim,ramp-up-slew-rate: to configure slew rate during regulator
14          voltage ramp up time
15 -maxim,ramp-down-slew-rate: to configre slew rate during regulator
16          voltage ramp down time
17 -maxim,soft-start-slew-rate: to configure slew rate during regulator
18         enable time
19 -maxim,shutdown-slew-rate: to configure slew rate during regulator
20         disable time or shutdown time
21
22 Each regulator is defined using the standard binding for regulators.
23
24 Example:
25
26         max77812@1b {
27                 compatible = "maxim,max77812-regulator";
28                 reg = <0x1b>;
29
30                 regulators {
31                         m1vout {
32                                 regulator-name = "mvout1";
33                                 regulator-min-microvolt = <250000>;
34                                 regulator-max-microvolt = <1525000>;
35                                 regulator-boot-on;
36                                 regulator-always-on;
37                                 regulator-init-mode = <REGULATOR_MODE_NORMAL>;
38                         };
39
40                         m2vout {
41                                 regulator-name = "mvout2";
42                                 regulator-always-on;
43                                 regulator-boot-on;
44                                 regulator-min-microvolt = <250000>;
45                                 regulator-max-microvolt = <1525000>;
46                                 regulator-init-mode = <REGULATOR_MODE_NORMAL>;
47                         };
48                 };
49         };
50