xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/regulator/lp8752.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunBinding for TI/National Semiconductor LP8752 Driver
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun  - compatible: "ti,lp8752"
5*4882a593Smuzhiyun  - reg: I2C slave address. 0x60 = LP8752
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunOptional properties:
8*4882a593Smuzhiyun  Sub nodes for regulator_init_data
9*4882a593Smuzhiyun    LP8752 has maximum 4 nodes. (child name: buck0 ~ 3)
10*4882a593Smuzhiyun    For more details, please see the following binding document.
11*4882a593Smuzhiyun    (Documentation/devicetree/bindings/regulator/regulator.txt)
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunDatasheet
14*4882a593Smuzhiyun  - LP8752: http://www.ti.com/lit/ds/symlink/lp8752.pdf
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunExample 1) LP8752
17*4882a593Smuzhiyun
18*4882a593Smuzhiyunlp8752: lp8752@60 {
19*4882a593Smuzhiyun	compatible = "ti,lp8752";
20*4882a593Smuzhiyun	status = "disabled";
21*4882a593Smuzhiyun	reg = <0x60>;
22*4882a593Smuzhiyun
23*4882a593Smuzhiyun	vin0-supply = <&vcc5v0_sys>;
24*4882a593Smuzhiyun	vin1-supply = <&vcc5v0_sys>;
25*4882a593Smuzhiyun	/.............../
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun	regulators {
28*4882a593Smuzhiyun		lp8752_buck0: lp8752_buck0 {
29*4882a593Smuzhiyun			regulator-name = "lp8752_buck0";
30*4882a593Smuzhiyun			regulator-min-microvolt = <735000>;
31*4882a593Smuzhiyun			regulator-max-microvolt = <1400000>;
32*4882a593Smuzhiyun			regulator-always-on;
33*4882a593Smuzhiyun			regulator-boot-on;
34*4882a593Smuzhiyun		};
35*4882a593Smuzhiyun		lp8752_buck1: lp8752_buck1 {
36*4882a593Smuzhiyun			regulator-name = "lp8752_buck1";
37*4882a593Smuzhiyun			regulator-min-microvolt = <735000>;
38*4882a593Smuzhiyun			regulator-max-microvolt = <1400000>;
39*4882a593Smuzhiyun			regulator-always-on;
40*4882a593Smuzhiyun			regulator-boot-on;
41*4882a593Smuzhiyun		};
42*4882a593Smuzhiyun		/....../
43*4882a593Smuzhiyun	};
44*4882a593Smuzhiyun};
45