GNU Linux-libre 4.19.264-gnu1
[releases.git] / Documentation / devicetree / bindings / regulator / pv88060.txt
1 * Powerventure Semiconductor PV88060 Voltage Regulator
2
3 Required properties:
4 - compatible: "pvs,pv88060".
5 - reg: I2C slave address, usually 0x49.
6 - interrupts: the interrupt outputs of the controller
7 - regulators: A node that houses a sub-node for each regulator within the
8   device. Each sub-node is identified using the node's name, with valid
9   values listed below. The content of each sub-node is defined by the
10   standard binding for regulators; see regulator.txt.
11   BUCK1, LDO1, LDO2, LDO3, LDO4, LDO5, LDO6, LDO7, SW1, SW2, SW3, SW4,
12   SW5, and SW6.
13
14 Optional properties:
15 - Any optional property defined in regulator.txt
16
17 Example
18
19         pmic: pv88060@49 {
20                 compatible = "pvs,pv88060";
21                 reg = <0x49>;
22                 interrupt-parent = <&gpio>;
23                 interrupts = <24 24>;
24
25                 regulators {
26                         BUCK1 {
27                                 regulator-name = "buck1";
28                                 regulator-min-microvolt = <2800000>;
29                                 regulator-max-microvolt = <4387500>;
30                                 regulator-min-microamp  = <1496000>;
31                                 regulator-max-microamp  = <4189000>;
32                                 regulator-boot-on;
33                         };
34
35                         LDO1 {
36                                 regulator-name = "ldo1";
37                                 regulator-min-microvolt = <1200000>;
38                                 regulator-max-microvolt = <3350000>;
39                                 regulator-boot-on;
40                         };
41
42                         LDO2 {
43                                 regulator-name = "ldo2";
44                                 regulator-min-microvolt = <1200000>;
45                                 regulator-max-microvolt = <3350000>;
46                                 regulator-boot-on;
47                         };
48
49                         LDO3 {
50                                 regulator-name = "ldo3";
51                                 regulator-min-microvolt = <1200000>;
52                                 regulator-max-microvolt = <3350000>;
53                                 regulator-boot-on;
54                         };
55
56                         LDO4 {
57                                 regulator-name = "ldo4";
58                                 regulator-min-microvolt = <1200000>;
59                                 regulator-max-microvolt = <3350000>;
60                                 regulator-boot-on;
61                         };
62
63                         LDO5 {
64                                 regulator-name = "ldo5";
65                                 regulator-min-microvolt = <1200000>;
66                                 regulator-max-microvolt = <3350000>;
67                                 regulator-boot-on;
68                         };
69
70                         LDO6 {
71                                 regulator-name = "ldo6";
72                                 regulator-min-microvolt = <1200000>;
73                                 regulator-max-microvolt = <3350000>;
74                                 regulator-boot-on;
75                         };
76
77                         LDO7 {
78                                 regulator-name = "ldo7";
79                                 regulator-min-microvolt = <1200000>;
80                                 regulator-max-microvolt = <3350000>;
81                                 regulator-boot-on;
82                         };
83
84                         SW1 {
85                                 regulator-name = "sw1";
86                                 regulator-min-microvolt = <5000000>;
87                                 regulator-max-microvolt = <5000000>;
88                         };
89
90                         SW2 {
91                                 regulator-name = "sw2";
92                                 regulator-min-microvolt = <5000000>;
93                                 regulator-max-microvolt = <5000000>;
94                                 regulator-boot-on;
95                         };
96
97                         SW3 {
98                                 regulator-name = "sw3";
99                                 regulator-min-microvolt = <5000000>;
100                                 regulator-max-microvolt = <5000000>;
101                                 regulator-boot-on;
102                         };
103
104                         SW4 {
105                                 regulator-name = "sw4";
106                                 regulator-min-microvolt = <5000000>;
107                                 regulator-max-microvolt = <5000000>;
108                                 regulator-boot-on;
109                         };
110
111                         SW5 {
112                                 regulator-name = "sw5";
113                                 regulator-min-microvolt = <5000000>;
114                                 regulator-max-microvolt = <5000000>;
115                                 regulator-boot-on;
116                         };
117
118                         SW6 {
119                                 regulator-name = "sw6";
120                                 regulator-min-microvolt = <5000000>;
121                                 regulator-max-microvolt = <5000000>;
122                         };
123                 };
124         };