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