summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Jeong2015-10-15 01:26:58 -0500
committerDaniel Jeong2015-10-15 01:26:58 -0500
commitcbdb8f5916cf6512917a7fe2386b8701bbf7b728 (patch)
tree461262ad274971a1d2f2fc9f8893cc6fe6cec9b5 /Documentation
parente32a1e65d0df3645ba18099c1b157506f6636de6 (diff)
downloadkernel-master.tar.gz
kernel-master.tar.xz
kernel-master.zip
LP8758 - consolidated versionHEADmaster
Signed-off-by: Daniel Jeong <gshark.jeong@gmail.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/regulator/lp8758.txt45
1 files changed, 34 insertions, 11 deletions
diff --git a/Documentation/devicetree/bindings/regulator/lp8758.txt b/Documentation/devicetree/bindings/regulator/lp8758.txt
index 979a1b0..70db03d 100644
--- a/Documentation/devicetree/bindings/regulator/lp8758.txt
+++ b/Documentation/devicetree/bindings/regulator/lp8758.txt
@@ -10,17 +10,30 @@ Example:
10 compatible = "ti,lp8758"; 10 compatible = "ti,lp8758";
11 reg = <0x60>; 11 reg = <0x60>;
12 12
13 /* BUCKx Pin Setting 13 /*
14 0: i2c control, 14 * sub version info
15 1: EN1 Pin Enable/Disable control, 15 * 0 : b0
16 2: EN1 Pin Roof/Floor control, 16 * 1 : d0
17 3: EN2 Pin Enable/Disable control, 17 * 2 : e0
18 4: EN2 Pin Roof/Floor control 18 * 3 : f0
19 */ 19 */
20 buck0_pinctrl = <0>; 20 sub_version = <3>;
21 buck1_pinctrl = <0>; 21
22 buck2_pinctrl = <0>; 22 /*
23 buck3_pinctrl = <0>; 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>;
36
24 /* 37 /*
25 * The gpio for interrupt depends on the processor environment. 38 * The gpio for interrupt depends on the processor environment.
26 * For example, following GPIO means GPIO60 in OMAP335x. 39 * For example, following GPIO means GPIO60 in OMAP335x.
@@ -35,6 +48,11 @@ Example:
35 regulator-max-microamp = <5000000>; 48 regulator-max-microamp = <5000000>;
36 regulator-boot-on; 49 regulator-boot-on;
37 }; 50 };
51 buck1 {
52 regulator-name = "lp8758-buck1";
53 regulator-min-microamp = <1500000>;
54 regulator-max-microamp = <5000000>;
55 };
38 buck2 { 56 buck2 {
39 regulator-name = "lp8758-buck2"; 57 regulator-name = "lp8758-buck2";
40 regulator-min-microvolt = <500000>; 58 regulator-min-microvolt = <500000>;
@@ -43,4 +61,9 @@ Example:
43 regulator-max-microamp = <5000000>; 61 regulator-max-microamp = <5000000>;
44 regulator-boot-on; 62 regulator-boot-on;
45 }; 63 };
64 buck3 {
65 regulator-name = "lp8758-buck3";
66 regulator-min-microamp = <1500000>;
67 regulator-max-microamp = <5000000>;
68 };
46 }; 69 };