diff options
author | Thierry Reding <thierry.reding@avionic-design.de> | 2012-04-26 10:52:21 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-04 08:25:16 -0400 |
commit | 62f6b0879304e2169d6bf6221612e8111e342ee7 (patch) | |
tree | 0a87bef6a43043c22146577dd33f82d06bca7b2f /Documentation/devicetree/bindings/regulator/tps6586x.txt | |
parent | 1c8fa58f4750e9ad722fbf899866c312ffabab67 (diff) |
tps6586x: Add device tree support
This commit adds device tree support for the TPS6586x regulator.
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'Documentation/devicetree/bindings/regulator/tps6586x.txt')
-rw-r--r-- | Documentation/devicetree/bindings/regulator/tps6586x.txt | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/regulator/tps6586x.txt b/Documentation/devicetree/bindings/regulator/tps6586x.txt new file mode 100644 index 000000000000..0fcabaa3baa3 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/tps6586x.txt | |||
@@ -0,0 +1,97 @@ | |||
1 | TPS6586x family of regulators | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: "ti,tps6586x" | ||
5 | - reg: I2C slave address | ||
6 | - interrupts: the interrupt outputs of the controller | ||
7 | - #gpio-cells: number of cells to describe a GPIO | ||
8 | - gpio-controller: mark the device as a GPIO controller | ||
9 | - regulators: list of regulators provided by this controller, must be named | ||
10 | after their hardware counterparts: sm[0-2], ldo[0-9] and ldo_rtc | ||
11 | |||
12 | Each regulator is defined using the standard binding for regulators. | ||
13 | |||
14 | Example: | ||
15 | |||
16 | pmu: tps6586x@34 { | ||
17 | compatible = "ti,tps6586x"; | ||
18 | reg = <0x34>; | ||
19 | interrupts = <0 88 0x4>; | ||
20 | |||
21 | #gpio-cells = <2>; | ||
22 | gpio-controller; | ||
23 | |||
24 | regulators { | ||
25 | sm0_reg: sm0 { | ||
26 | regulator-min-microvolt = < 725000>; | ||
27 | regulator-max-microvolt = <1500000>; | ||
28 | regulator-boot-on; | ||
29 | regulator-always-on; | ||
30 | }; | ||
31 | |||
32 | sm1_reg: sm1 { | ||
33 | regulator-min-microvolt = < 725000>; | ||
34 | regulator-max-microvolt = <1500000>; | ||
35 | regulator-boot-on; | ||
36 | regulator-always-on; | ||
37 | }; | ||
38 | |||
39 | sm2_reg: sm2 { | ||
40 | regulator-min-microvolt = <3000000>; | ||
41 | regulator-max-microvolt = <4550000>; | ||
42 | regulator-boot-on; | ||
43 | regulator-always-on; | ||
44 | }; | ||
45 | |||
46 | ldo0_reg: ldo0 { | ||
47 | regulator-name = "PCIE CLK"; | ||
48 | regulator-min-microvolt = <3300000>; | ||
49 | regulator-max-microvolt = <3300000>; | ||
50 | }; | ||
51 | |||
52 | ldo1_reg: ldo1 { | ||
53 | regulator-min-microvolt = < 725000>; | ||
54 | regulator-max-microvolt = <1500000>; | ||
55 | }; | ||
56 | |||
57 | ldo2_reg: ldo2 { | ||
58 | regulator-min-microvolt = < 725000>; | ||
59 | regulator-max-microvolt = <1500000>; | ||
60 | }; | ||
61 | |||
62 | ldo3_reg: ldo3 { | ||
63 | regulator-min-microvolt = <1250000>; | ||
64 | regulator-max-microvolt = <3300000>; | ||
65 | }; | ||
66 | |||
67 | ldo4_reg: ldo4 { | ||
68 | regulator-min-microvolt = <1700000>; | ||
69 | regulator-max-microvolt = <2475000>; | ||
70 | }; | ||
71 | |||
72 | ldo5_reg: ldo5 { | ||
73 | regulator-min-microvolt = <1250000>; | ||
74 | regulator-max-microvolt = <3300000>; | ||
75 | }; | ||
76 | |||
77 | ldo6_reg: ldo6 { | ||
78 | regulator-min-microvolt = <1250000>; | ||
79 | regulator-max-microvolt = <3300000>; | ||
80 | }; | ||
81 | |||
82 | ldo7_reg: ldo7 { | ||
83 | regulator-min-microvolt = <1250000>; | ||
84 | regulator-max-microvolt = <3300000>; | ||
85 | }; | ||
86 | |||
87 | ldo8_reg: ldo8 { | ||
88 | regulator-min-microvolt = <1250000>; | ||
89 | regulator-max-microvolt = <3300000>; | ||
90 | }; | ||
91 | |||
92 | ldo9_reg: ldo9 { | ||
93 | regulator-min-microvolt = <1250000>; | ||
94 | regulator-max-microvolt = <3300000>; | ||
95 | }; | ||
96 | }; | ||
97 | }; | ||