]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - mlp-open-source/kernel.git/blob - Documentation/devicetree/bindings/regulator/lp8758.txt
LP8758 - consolidated 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                 /* 
14                  * sub version info 
15                  * 0 : b0
16                  * 1 : d0
17                  * 2 : e0
18                  * 3 : f0
19                  */
20                 sub_version = <3>;
22                 /* 
23                  *  Buck Control Setting 
24                  *     buck_ctrl[0] = buck0 control setting
25                  *     buck_ctrl[1] = buck1 control setting
26                  *     buck_ctrl[2] = buck2 control setting
27                  *     buck_ctrl[3] = buck3 control setting
28                  *  setting values
29                  *     0: i2c control,
30                  *     1: EN1 Pin Enable/Disable control,
31                  *     2: EN1 Pin Roof/Floor     control,
32                  *     3: EN2 Pin Enable/Disable control,
33                  *     4: EN2 Pin Roof/Floor     control
34                  */
35                 buck_ctrl = <1 0 1 0>;
37                 /*
38                  * The gpio for interrupt depends on the processor environment.
39                  * For example, following GPIO means GPIO60 in OMAP335x.
40                  */
41                 irq-gpio = <&gpio1 28 0>;
43                 buck0 {
44                         regulator-name = "lp8758-buck0";
45                         regulator-min-microvolt = <500000>;
46                         regulator-max-microvolt = <3360000>;
47                         regulator-min-microamp  = <1500000>;
48                         regulator-max-microamp  = <5000000>;
49                         regulator-boot-on;
50                 };
51                 buck1 {
52                         regulator-name = "lp8758-buck1";
53                         regulator-min-microamp  = <1500000>;
54                         regulator-max-microamp  = <5000000>;
55                 };
56                 buck2 {
57                         regulator-name = "lp8758-buck2";
58                         regulator-min-microvolt = <500000>;
59                         regulator-max-microvolt = <3360000>;
60                         regulator-min-microamp  = <1500000>;
61                         regulator-max-microamp  = <5000000>;
62                         regulator-boot-on;
63                 };
64                 buck3 {
65                         regulator-name = "lp8758-buck3";
66                         regulator-min-microamp  = <1500000>;
67                         regulator-max-microamp  = <5000000>;
68                 };
69         };