LP8758 pre version
[mlp-open-source/kernel.git] / Documentation / devicetree / bindings / regulator / lp8758.txt
1 TI LP8758 Regulator Driver
3 Required properties:
4   - compatible: "ti,lp8758"
5   - Regulator init data from of-regulator structure.
6     Please refer to regulator.txt in this directory.
8 Example:
9         lp8758@60 {
10                 compatible = "ti,lp8758";
11                 reg = <0x60>;
13                 /* BUCKx Pin Setting 
14                    0: i2c control,
15                    1: EN1 Pin Enable/Disable control,
16                    2: EN1 Pin Roof/Floor     control,
17                    3: EN2 Pin Enable/Disable control,
18                    4: EN2 Pin Roof/Floor     control
19                 */
20                 buck0_pinctrl = <0>;
21                 buck1_pinctrl = <0>;
22                 buck2_pinctrl = <0>;
23                 buck3_pinctrl = <0>;
24                 /*
25                  * The gpio for interrupt depends on the processor environment.
26                  * For example, following GPIO means GPIO60 in OMAP335x.
27                  */
28                 irq-gpio = <&gpio1 28 0>;
30                 buck0 {
31                         regulator-name = "lp8758-buck0";
32                         regulator-min-microvolt = <500000>;
33                         regulator-max-microvolt = <3360000>;
34                         regulator-min-microamp  = <1500000>;
35                         regulator-max-microamp  = <5000000>;
36                         regulator-boot-on;
37                 };
38                 buck2 {
39                         regulator-name = "lp8758-buck2";
40                         regulator-min-microvolt = <500000>;
41                         regulator-max-microvolt = <3360000>;
42                         regulator-min-microamp  = <1500000>;
43                         regulator-max-microamp  = <5000000>;
44                         regulator-boot-on;
45                 };
46         };