LP8758 - consolidated version
[mlp-open-source/kernel.git] / Documentation / devicetree / bindings / regulator / lp8758.txt
index 979a1b08a6faf4671a9df9b27e8903ebc754af68..70db03d490866a538b438cdc1548961731738835 100644 (file)
@@ -10,17 +10,30 @@ Example:
                compatible = "ti,lp8758";
                reg = <0x60>;
 
-               /* BUCKx Pin Setting 
-                  0: i2c control,
-                  1: EN1 Pin Enable/Disable control,
-                  2: EN1 Pin Roof/Floor     control,
-                  3: EN2 Pin Enable/Disable control,
-                  4: EN2 Pin Roof/Floor     control
-               */
-               buck0_pinctrl = <0>;
-               buck1_pinctrl = <0>;
-               buck2_pinctrl = <0>;
-               buck3_pinctrl = <0>;
+               /* 
+                * sub version info 
+                * 0 : b0
+                * 1 : d0
+                * 2 : e0
+                * 3 : f0
+                */
+               sub_version = <3>;
+
+               /* 
+                *  Buck Control Setting 
+                *     buck_ctrl[0] = buck0 control setting
+                *     buck_ctrl[1] = buck1 control setting
+                *     buck_ctrl[2] = buck2 control setting
+                *     buck_ctrl[3] = buck3 control setting
+                *  setting values
+                *     0: i2c control,
+                *     1: EN1 Pin Enable/Disable control,
+                *     2: EN1 Pin Roof/Floor     control,
+                *     3: EN2 Pin Enable/Disable control,
+                *     4: EN2 Pin Roof/Floor     control
+                */
+               buck_ctrl = <1 0 1 0>;
+
                /*
                 * The gpio for interrupt depends on the processor environment.
                 * For example, following GPIO means GPIO60 in OMAP335x.
@@ -35,6 +48,11 @@ Example:
                        regulator-max-microamp  = <5000000>;
                        regulator-boot-on;
                };
+               buck1 {
+                       regulator-name = "lp8758-buck1";
+                       regulator-min-microamp  = <1500000>;
+                       regulator-max-microamp  = <5000000>;
+               };
                buck2 {
                        regulator-name = "lp8758-buck2";
                        regulator-min-microvolt = <500000>;
@@ -43,4 +61,9 @@ Example:
                        regulator-max-microamp  = <5000000>;
                        regulator-boot-on;
                };
+               buck3 {
+                       regulator-name = "lp8758-buck3";
+                       regulator-min-microamp  = <1500000>;
+                       regulator-max-microamp  = <5000000>;
+               };
        };