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