1 Binding for TI/National Semiconductor LP872x Driver
4 - compatible: "ti,lp8720" or "ti,lp8725"
5 - reg: I2C slave address. 0x7d = LP8720, 0x7a = LP8725
8 - ti,general-config: the value of LP872X_GENERAL_CFG register (u8)
10 bit[2]: BUCK output voltage control by external DVS pin or register
11 1 = external pin, 0 = bit7 of register 08h
12 bit[1]: sleep control by external DVS pin or register
13 1 = external pin, 0 = bit6 of register 08h
14 bit[0]: time step unit(usec). 1 = 25, 0 = 50
17 bit[7:6]: time step unit(usec). 00 = 32, 01 = 64, 10 = 128, 11 = 256
18 bit[4]: BUCK2 enable control. 1 = enable, 0 = disable
19 bit[3]: BUCK2 output voltage register address. 1 = 0Ah, 0 = 0Bh
20 bit[2]: BUCK1 output voltage control by external DVS pin or register
21 1 = register 08h, 0 = DVS
22 bit[1]: LDO sleep control. 1 = sleep mode, 0 = normal
23 bit[0]: BUCK1 enable control, 1 = enable, 0 = disable
25 For more details, please see the datasheet.
27 - ti,update-config: define it when LP872X_GENERAL_CFG register should be set
28 - ti,dvs-gpio: GPIO specifier for external DVS pin control of LP872x devices.
29 - ti,dvs-vsel: DVS selector. 0 = SEL_V1, 1 = SEL_V2.
30 - ti,dvs-state: initial DVS pin state. 0 = DVS_LOW, 1 = DVS_HIGH.
31 - enable-gpios: GPIO specifier for EN pin control of LP872x devices.
33 Sub nodes for regulator_init_data
34 LP8720 has maximum 6 nodes. (child name: ldo1 ~ 5 and buck)
35 LP8725 has maximum 9 nodes. (child name: ldo1 ~ 5, lilo1,2 and buck1,2)
36 For more details, please see the following binding document.
37 (Documentation/devicetree/bindings/regulator/regulator.txt)
40 - LP8720: http://www.ti.com/lit/ds/symlink/lp8720.pdf
41 - LP8725: http://www.ti.com/lit/ds/symlink/lp8725.pdf
46 compatible = "ti,lp8720";
49 /* external DVS pin used, timestep is 25usec */
50 ti,general-config = /bits/ 8 <0x03>;
54 * The dvs-gpio depends on the processor environment.
55 * For example, following GPIO specifier means GPIO134 in OMAP4.
57 ti,dvs-gpio = <&gpio5 6 0>;
58 ti,dvs-vsel = /bits/ 8 <1>; /* SEL_V2 */
59 ti,dvs-state = /bits/ 8 <1>; /* DVS_HIGH */
62 regulator-min-microvolt = <1200000>;
63 regulator-max-microvolt = <3300000>;
67 regulator-min-microvolt = <1200000>;
68 regulator-max-microvolt = <3300000>;
72 regulator-min-microvolt = <1200000>;
73 regulator-max-microvolt = <3300000>;
78 regulator-min-microvolt = <800000>;
79 regulator-max-microvolt = <2850000>;
84 regulator-min-microvolt = <1200000>;
85 regulator-max-microvolt = <3300000>;
89 regulator-name = "VBUCK";
90 regulator-min-microvolt = <800000>;
91 regulator-max-microvolt = <2300000>;
98 compatible = "ti,lp8725";
101 /* Enable BUCK1,2, no DVS, normal LDO mode, timestep is 256usec */
102 ti,general-config = /bits/ 8 <0xdd>;
106 regulator-min-microvolt = <1200000>;
107 regulator-max-microvolt = <3300000>;
111 regulator-min-microvolt = <1200000>;
112 regulator-max-microvolt = <3300000>;
116 regulator-min-microvolt = <1200000>;
117 regulator-max-microvolt = <3300000>;
121 regulator-min-microvolt = <1200000>;
122 regulator-max-microvolt = <3300000>;
127 regulator-min-microvolt = <1200000>;
128 regulator-max-microvolt = <3300000>;
133 regulator-name = "VAUX1";
134 regulator-min-microvolt = <800000>;
135 regulator-max-microvolt = <3300000>;
139 regulator-name = "VAUX2";
140 regulator-min-microvolt = <800000>;
141 regulator-max-microvolt = <3300000>;
145 regulator-name = "VBUCK1";
146 regulator-min-microvolt = <800000>;
147 regulator-max-microvolt = <3000000>;
148 regulator-min-microamp = <460000>;
149 regulator-max-microamp = <1370000>;
154 regulator-name = "VBUCK2";
155 regulator-min-microvolt = <800000>;
156 regulator-max-microvolt = <3000000>;
157 regulator-min-microamp = <460000>;
158 regulator-max-microamp = <1370000>;