summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Jeong2015-09-25 04:03:31 -0500
committerDaniel Jeong2015-09-25 04:03:31 -0500
commite32a1e65d0df3645ba18099c1b157506f6636de6 (patch)
tree95ad1a176629debaff75ef442a21f8082a72875f /Documentation
parentd449850267cae75270a50e680d6ade12dfa9b5a1 (diff)
downloadkernel-e32a1e65d0df3645ba18099c1b157506f6636de6.tar.gz
kernel-e32a1e65d0df3645ba18099c1b157506f6636de6.tar.xz
kernel-e32a1e65d0df3645ba18099c1b157506f6636de6.zip
LP8758 pre version
Signed-off-by: Daniel Jeong <gshark.jeong@gmail.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/regulator/lp8758.txt46
1 files changed, 46 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/regulator/lp8758.txt b/Documentation/devicetree/bindings/regulator/lp8758.txt
new file mode 100644
index 0000000..979a1b0
--- /dev/null
+++ b/Documentation/devicetree/bindings/regulator/lp8758.txt
@@ -0,0 +1,46 @@
1TI LP8758 Regulator Driver
2
3Required properties:
4 - compatible: "ti,lp8758"
5 - Regulator init data from of-regulator structure.
6 Please refer to regulator.txt in this directory.
7
8Example:
9 lp8758@60 {
10 compatible = "ti,lp8758";
11 reg = <0x60>;
12
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>;
29
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 };