aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/mfd/tps65910.txt79
-rw-r--r--Documentation/devicetree/bindings/regulator/fixed-regulator.txt2
-rw-r--r--Documentation/devicetree/bindings/regulator/regulator.txt5
-rw-r--r--Documentation/devicetree/bindings/regulator/tps65217.txt91
-rw-r--r--Documentation/devicetree/bindings/regulator/tps6586x.txt77
-rw-r--r--Documentation/devicetree/bindings/regulator/twl-regulator.txt1
6 files changed, 226 insertions, 29 deletions
diff --git a/Documentation/devicetree/bindings/mfd/tps65910.txt b/Documentation/devicetree/bindings/mfd/tps65910.txt
index 645f5eaadb3f..31be5a3d9f76 100644
--- a/Documentation/devicetree/bindings/mfd/tps65910.txt
+++ b/Documentation/devicetree/bindings/mfd/tps65910.txt
@@ -17,8 +17,9 @@ Required properties:
17 device need to be present. The definition for each of these nodes is defined 17 device need to be present. The definition for each of these nodes is defined
18 using the standard binding for regulators found at 18 using the standard binding for regulators found at
19 Documentation/devicetree/bindings/regulator/regulator.txt. 19 Documentation/devicetree/bindings/regulator/regulator.txt.
20 The regulator is matched with the regulator-compatible.
20 21
21 The valid names for regulators are: 22 The valid regulator-compatible values are:
22 tps65910: vrtc, vio, vdd1, vdd2, vdd3, vdig1, vdig2, vpll, vdac, vaux1, 23 tps65910: vrtc, vio, vdd1, vdd2, vdd3, vdig1, vdig2, vpll, vdac, vaux1,
23 vaux2, vaux33, vmmc 24 vaux2, vaux33, vmmc
24 tps65911: vrtc, vio, vdd1, vdd3, vddctrl, ldo1, ldo2, ldo3, ldo4, ldo5, 25 tps65911: vrtc, vio, vdd1, vdd3, vddctrl, ldo1, ldo2, ldo3, ldo4, ldo5,
@@ -31,6 +32,28 @@ Optional properties:
31 comparator. (see VMBCH_VSEL in TPS65910 datasheet) 32 comparator. (see VMBCH_VSEL in TPS65910 datasheet)
32- ti,en-gpio-sleep: enable sleep control for gpios 33- ti,en-gpio-sleep: enable sleep control for gpios
33 There should be 9 entries here, one for each gpio. 34 There should be 9 entries here, one for each gpio.
35- xxx-supply: Input voltage supply regulator.
36 Missing of these properties will be assume as there is no supply regulator
37 for that input pins and always powered on.
38 The valid input supply properties are:
39 tps65910:
40 vcc1-supply: VDD1 input.
41 vcc2-supply: VDD2 input.
42 vcc3-supply: VAUX33 and VMMC input.
43 vcc4-supply: VAUX1 and VAUX2 input.
44 vcc5-supply: VPLL and VDAC input.
45 vcc6-supply: VDIG1 and VDIG2 input.
46 vcc7-supply: VRTC input.
47 vccio-supply: VIO input.
48 tps65911:
49 vcc1-supply: VDD1 input.
50 vcc2-supply: VDD2 input.
51 vcc3-supply: LDO6, LDO7 and LDO8 input.
52 vcc4-supply: LDO5 input.
53 vcc5-supply: LDO3 and LDO4 input.
54 vcc6-supply: LDO1 and LDO2 input.
55 vcc7-supply: VRTC input.
56 vccio-supply: VIO input.
34 57
35Regulator Optional properties: 58Regulator Optional properties:
36- ti,regulator-ext-sleep-control: enable external sleep 59- ti,regulator-ext-sleep-control: enable external sleep
@@ -56,74 +79,104 @@ Example:
56 79
57 ti,en-gpio-sleep = <0 0 1 0 0 0 0 0 0>; 80 ti,en-gpio-sleep = <0 0 1 0 0 0 0 0 0>;
58 81
82 vcc7-supply = <&reg_parent>;
83 vcc1-supply = <&reg_parent>;
84
59 regulators { 85 regulators {
60 vdd1_reg: vdd1 { 86 #address-cells = <1>;
87 #size-cells = <0>;
88
89 vdd1_reg: regulator@0 {
90 regulator-compatible = "vdd1";
91 reg = <0>;
61 regulator-min-microvolt = < 600000>; 92 regulator-min-microvolt = < 600000>;
62 regulator-max-microvolt = <1500000>; 93 regulator-max-microvolt = <1500000>;
63 regulator-always-on; 94 regulator-always-on;
64 regulator-boot-on; 95 regulator-boot-on;
65 ti,regulator-ext-sleep-control = <0>; 96 ti,regulator-ext-sleep-control = <0>;
66 }; 97 };
67 vdd2_reg: vdd2 { 98 vdd2_reg: regulator@1 {
99 regulator-compatible = "vdd2";
100 reg = <1>;
68 regulator-min-microvolt = < 600000>; 101 regulator-min-microvolt = < 600000>;
69 regulator-max-microvolt = <1500000>; 102 regulator-max-microvolt = <1500000>;
70 regulator-always-on; 103 regulator-always-on;
71 regulator-boot-on; 104 regulator-boot-on;
72 ti,regulator-ext-sleep-control = <4>; 105 ti,regulator-ext-sleep-control = <4>;
73 }; 106 };
74 vddctrl_reg: vddctrl { 107 vddctrl_reg: regulator@2 {
108 regulator-compatible = "vddctrl";
109 reg = <2>;
75 regulator-min-microvolt = < 600000>; 110 regulator-min-microvolt = < 600000>;
76 regulator-max-microvolt = <1400000>; 111 regulator-max-microvolt = <1400000>;
77 regulator-always-on; 112 regulator-always-on;
78 regulator-boot-on; 113 regulator-boot-on;
79 ti,regulator-ext-sleep-control = <0>; 114 ti,regulator-ext-sleep-control = <0>;
80 }; 115 };
81 vio_reg: vio { 116 vio_reg: regulator@3 {
117 regulator-compatible = "vio";
118 reg = <3>;
82 regulator-min-microvolt = <1500000>; 119 regulator-min-microvolt = <1500000>;
83 regulator-max-microvolt = <1800000>; 120 regulator-max-microvolt = <1800000>;
84 regulator-always-on; 121 regulator-always-on;
85 regulator-boot-on; 122 regulator-boot-on;
86 ti,regulator-ext-sleep-control = <1>; 123 ti,regulator-ext-sleep-control = <1>;
87 }; 124 };
88 ldo1_reg: ldo1 { 125 ldo1_reg: regulator@4 {
126 regulator-compatible = "ldo1";
127 reg = <4>;
89 regulator-min-microvolt = <1000000>; 128 regulator-min-microvolt = <1000000>;
90 regulator-max-microvolt = <3300000>; 129 regulator-max-microvolt = <3300000>;
91 ti,regulator-ext-sleep-control = <0>; 130 ti,regulator-ext-sleep-control = <0>;
92 }; 131 };
93 ldo2_reg: ldo2 { 132 ldo2_reg: regulator@5 {
133 regulator-compatible = "ldo2";
134 reg = <5>;
94 regulator-min-microvolt = <1050000>; 135 regulator-min-microvolt = <1050000>;
95 regulator-max-microvolt = <1050000>; 136 regulator-max-microvolt = <1050000>;
96 ti,regulator-ext-sleep-control = <0>; 137 ti,regulator-ext-sleep-control = <0>;
97 }; 138 };
98 ldo3_reg: ldo3 { 139 ldo3_reg: regulator@6 {
140 regulator-compatible = "ldo3";
141 reg = <6>;
99 regulator-min-microvolt = <1000000>; 142 regulator-min-microvolt = <1000000>;
100 regulator-max-microvolt = <3300000>; 143 regulator-max-microvolt = <3300000>;
101 ti,regulator-ext-sleep-control = <0>; 144 ti,regulator-ext-sleep-control = <0>;
102 }; 145 };
103 ldo4_reg: ldo4 { 146 ldo4_reg: regulator@7 {
147 regulator-compatible = "ldo4";
148 reg = <7>;
104 regulator-min-microvolt = <1000000>; 149 regulator-min-microvolt = <1000000>;
105 regulator-max-microvolt = <3300000>; 150 regulator-max-microvolt = <3300000>;
106 regulator-always-on; 151 regulator-always-on;
107 ti,regulator-ext-sleep-control = <0>; 152 ti,regulator-ext-sleep-control = <0>;
108 }; 153 };
109 ldo5_reg: ldo5 { 154 ldo5_reg: regulator@8 {
155 regulator-compatible = "ldo5";
156 reg = <8>;
110 regulator-min-microvolt = <1000000>; 157 regulator-min-microvolt = <1000000>;
111 regulator-max-microvolt = <3300000>; 158 regulator-max-microvolt = <3300000>;
112 ti,regulator-ext-sleep-control = <0>; 159 ti,regulator-ext-sleep-control = <0>;
113 }; 160 };
114 ldo6_reg: ldo6 { 161 ldo6_reg: regulator@9 {
162 regulator-compatible = "ldo6";
163 reg = <9>;
115 regulator-min-microvolt = <1200000>; 164 regulator-min-microvolt = <1200000>;
116 regulator-max-microvolt = <1200000>; 165 regulator-max-microvolt = <1200000>;
117 ti,regulator-ext-sleep-control = <0>; 166 ti,regulator-ext-sleep-control = <0>;
118 }; 167 };
119 ldo7_reg: ldo7 { 168 ldo7_reg: regulator@10 {
169 regulator-compatible = "ldo7";
170 reg = <10>;
120 regulator-min-microvolt = <1200000>; 171 regulator-min-microvolt = <1200000>;
121 regulator-max-microvolt = <1200000>; 172 regulator-max-microvolt = <1200000>;
122 regulator-always-on; 173 regulator-always-on;
123 regulator-boot-on; 174 regulator-boot-on;
124 ti,regulator-ext-sleep-control = <1>; 175 ti,regulator-ext-sleep-control = <1>;
125 }; 176 };
126 ldo8_reg: ldo8 { 177 ldo8_reg: regulator@11 {
178 regulator-compatible = "ldo8";
179 reg = <11>;
127 regulator-min-microvolt = <1000000>; 180 regulator-min-microvolt = <1000000>;
128 regulator-max-microvolt = <3300000>; 181 regulator-max-microvolt = <3300000>;
129 regulator-always-on; 182 regulator-always-on;
diff --git a/Documentation/devicetree/bindings/regulator/fixed-regulator.txt b/Documentation/devicetree/bindings/regulator/fixed-regulator.txt
index 2f5b6b1ba15f..4fae41d54798 100644
--- a/Documentation/devicetree/bindings/regulator/fixed-regulator.txt
+++ b/Documentation/devicetree/bindings/regulator/fixed-regulator.txt
@@ -10,6 +10,7 @@ Optional properties:
10If this property is missing, the default assumed is Active low. 10If this property is missing, the default assumed is Active low.
11- gpio-open-drain: GPIO is open drain type. 11- gpio-open-drain: GPIO is open drain type.
12 If this property is missing then default assumption is false. 12 If this property is missing then default assumption is false.
13-vin-supply: Input supply name.
13 14
14Any property defined as part of the core regulator 15Any property defined as part of the core regulator
15binding, defined in regulator.txt, can also be used. 16binding, defined in regulator.txt, can also be used.
@@ -29,4 +30,5 @@ Example:
29 enable-active-high; 30 enable-active-high;
30 regulator-boot-on; 31 regulator-boot-on;
31 gpio-open-drain; 32 gpio-open-drain;
33 vin-supply = <&parent_reg>;
32 }; 34 };
diff --git a/Documentation/devicetree/bindings/regulator/regulator.txt b/Documentation/devicetree/bindings/regulator/regulator.txt
index 5b7a408acdaa..66ece3f87bbc 100644
--- a/Documentation/devicetree/bindings/regulator/regulator.txt
+++ b/Documentation/devicetree/bindings/regulator/regulator.txt
@@ -10,6 +10,11 @@ Optional properties:
10- regulator-always-on: boolean, regulator should never be disabled 10- regulator-always-on: boolean, regulator should never be disabled
11- regulator-boot-on: bootloader/firmware enabled regulator 11- regulator-boot-on: bootloader/firmware enabled regulator
12- <name>-supply: phandle to the parent supply/regulator node 12- <name>-supply: phandle to the parent supply/regulator node
13- regulator-ramp-delay: ramp delay for regulator(in uV/uS)
14- regulator-compatible: If a regulator chip contains multiple
15 regulators, and if the chip's binding contains a child node that
16 describes each regulator, then this property indicates which regulator
17 this child node is intended to configure.
13 18
14Example: 19Example:
15 20
diff --git a/Documentation/devicetree/bindings/regulator/tps65217.txt b/Documentation/devicetree/bindings/regulator/tps65217.txt
new file mode 100644
index 000000000000..0487e9675ba0
--- /dev/null
+++ b/Documentation/devicetree/bindings/regulator/tps65217.txt
@@ -0,0 +1,91 @@
1TPS65217 family of regulators
2
3Required properties:
4- compatible: "ti,tps65217"
5- reg: I2C slave address
6- regulators: list of regulators provided by this controller, must be named
7 after their hardware counterparts: dcdc[1-3] and ldo[1-4]
8- regulators: This is the list of child nodes that specify the regulator
9 initialization data for defined regulators. Not all regulators for the given
10 device need to be present. The definition for each of these nodes is defined
11 using the standard binding for regulators found at
12 Documentation/devicetree/bindings/regulator/regulator.txt.
13
14 The valid names for regulators are:
15 tps65217: dcdc1, dcdc2, dcdc3, ldo1, ldo2, ldo3 and ldo4
16
17Each regulator is defined using the standard binding for regulators.
18
19Example:
20
21 tps: tps@24 {
22 compatible = "ti,tps65217";
23
24 regulators {
25 #address-cells = <1>;
26 #size-cells = <0>;
27
28 dcdc1_reg: regulator@0 {
29 reg = <0>;
30 regulator-compatible = "dcdc1";
31 regulator-min-microvolt = <900000>;
32 regulator-max-microvolt = <1800000>;
33 regulator-boot-on;
34 regulator-always-on;
35 };
36
37 dcdc2_reg: regulator@1 {
38 reg = <1>;
39 regulator-compatible = "dcdc2";
40 regulator-min-microvolt = <900000>;
41 regulator-max-microvolt = <3300000>;
42 regulator-boot-on;
43 regulator-always-on;
44 };
45
46 dcdc3_reg: regulator@2 {
47 reg = <2>;
48 regulator-compatible = "dcdc3";
49 regulator-min-microvolt = <900000>;
50 regulator-max-microvolt = <1500000>;
51 regulator-boot-on;
52 regulator-always-on;
53 };
54
55 ldo1_reg: regulator@3 {
56 reg = <3>;
57 regulator-compatible = "ldo1";
58 regulator-min-microvolt = <1000000>;
59 regulator-max-microvolt = <3300000>;
60 regulator-boot-on;
61 regulator-always-on;
62 };
63
64 ldo2_reg: regulator@4 {
65 reg = <4>;
66 regulator-compatible = "ldo2";
67 regulator-min-microvolt = <900000>;
68 regulator-max-microvolt = <3300000>;
69 regulator-boot-on;
70 regulator-always-on;
71 };
72
73 ldo3_reg: regulator@5 {
74 reg = <5>;
75 regulator-compatible = "ldo3";
76 regulator-min-microvolt = <1800000>;
77 regulator-max-microvolt = <3300000>;
78 regulator-boot-on;
79 regulator-always-on;
80 };
81
82 ldo4_reg: regulator@6 {
83 reg = <6>;
84 regulator-compatible = "ldo4";
85 regulator-min-microvolt = <1800000>;
86 regulator-max-microvolt = <3300000>;
87 regulator-boot-on;
88 regulator-always-on;
89 };
90 };
91 };
diff --git a/Documentation/devicetree/bindings/regulator/tps6586x.txt b/Documentation/devicetree/bindings/regulator/tps6586x.txt
index 0fcabaa3baa3..d156e1b5db12 100644
--- a/Documentation/devicetree/bindings/regulator/tps6586x.txt
+++ b/Documentation/devicetree/bindings/regulator/tps6586x.txt
@@ -6,8 +6,17 @@ Required properties:
6- interrupts: the interrupt outputs of the controller 6- interrupts: the interrupt outputs of the controller
7- #gpio-cells: number of cells to describe a GPIO 7- #gpio-cells: number of cells to describe a GPIO
8- gpio-controller: mark the device as a GPIO controller 8- gpio-controller: mark the device as a GPIO controller
9- regulators: list of regulators provided by this controller, must be named 9- regulators: list of regulators provided by this controller, must have
10 after their hardware counterparts: sm[0-2], ldo[0-9] and ldo_rtc 10 property "regulator-compatible" to match their hardware counterparts:
11 sm[0-2], ldo[0-9] and ldo_rtc
12- sm0-supply: The input supply for the SM0.
13- sm1-supply: The input supply for the SM1.
14- sm2-supply: The input supply for the SM2.
15- vinldo01-supply: The input supply for the LDO1 and LDO2
16- vinldo23-supply: The input supply for the LDO2 and LDO3
17- vinldo4-supply: The input supply for the LDO4
18- vinldo678-supply: The input supply for the LDO6, LDO7 and LDO8
19- vinldo9-supply: The input supply for the LDO9
11 20
12Each regulator is defined using the standard binding for regulators. 21Each regulator is defined using the standard binding for regulators.
13 22
@@ -21,75 +30,113 @@ Example:
21 #gpio-cells = <2>; 30 #gpio-cells = <2>;
22 gpio-controller; 31 gpio-controller;
23 32
33 sm0-supply = <&some_reg>;
34 sm1-supply = <&some_reg>;
35 sm2-supply = <&some_reg>;
36 vinldo01-supply = <...>;
37 vinldo23-supply = <...>;
38 vinldo4-supply = <...>;
39 vinldo678-supply = <...>;
40 vinldo9-supply = <...>;
41
24 regulators { 42 regulators {
25 sm0_reg: sm0 { 43 #address-cells = <1>;
44 #size-cells = <0>;
45
46 sm0_reg: regulator@0 {
47 reg = <0>;
48 regulator-compatible = "sm0";
26 regulator-min-microvolt = < 725000>; 49 regulator-min-microvolt = < 725000>;
27 regulator-max-microvolt = <1500000>; 50 regulator-max-microvolt = <1500000>;
28 regulator-boot-on; 51 regulator-boot-on;
29 regulator-always-on; 52 regulator-always-on;
30 }; 53 };
31 54
32 sm1_reg: sm1 { 55 sm1_reg: regulator@1 {
56 reg = <1>;
57 regulator-compatible = "sm1";
33 regulator-min-microvolt = < 725000>; 58 regulator-min-microvolt = < 725000>;
34 regulator-max-microvolt = <1500000>; 59 regulator-max-microvolt = <1500000>;
35 regulator-boot-on; 60 regulator-boot-on;
36 regulator-always-on; 61 regulator-always-on;
37 }; 62 };
38 63
39 sm2_reg: sm2 { 64 sm2_reg: regulator@2 {
65 reg = <2>;
66 regulator-compatible = "sm2";
40 regulator-min-microvolt = <3000000>; 67 regulator-min-microvolt = <3000000>;
41 regulator-max-microvolt = <4550000>; 68 regulator-max-microvolt = <4550000>;
42 regulator-boot-on; 69 regulator-boot-on;
43 regulator-always-on; 70 regulator-always-on;
44 }; 71 };
45 72
46 ldo0_reg: ldo0 { 73 ldo0_reg: regulator@3 {
74 reg = <3>;
75 regulator-compatible = "ldo0";
47 regulator-name = "PCIE CLK"; 76 regulator-name = "PCIE CLK";
48 regulator-min-microvolt = <3300000>; 77 regulator-min-microvolt = <3300000>;
49 regulator-max-microvolt = <3300000>; 78 regulator-max-microvolt = <3300000>;
50 }; 79 };
51 80
52 ldo1_reg: ldo1 { 81 ldo1_reg: regulator@4 {
82 reg = <4>;
83 regulator-compatible = "ldo1";
53 regulator-min-microvolt = < 725000>; 84 regulator-min-microvolt = < 725000>;
54 regulator-max-microvolt = <1500000>; 85 regulator-max-microvolt = <1500000>;
55 }; 86 };
56 87
57 ldo2_reg: ldo2 { 88 ldo2_reg: regulator@5 {
89 reg = <5>;
90 regulator-compatible = "ldo2";
58 regulator-min-microvolt = < 725000>; 91 regulator-min-microvolt = < 725000>;
59 regulator-max-microvolt = <1500000>; 92 regulator-max-microvolt = <1500000>;
60 }; 93 };
61 94
62 ldo3_reg: ldo3 { 95 ldo3_reg: regulator@6 {
96 reg = <6>;
97 regulator-compatible = "ldo3";
63 regulator-min-microvolt = <1250000>; 98 regulator-min-microvolt = <1250000>;
64 regulator-max-microvolt = <3300000>; 99 regulator-max-microvolt = <3300000>;
65 }; 100 };
66 101
67 ldo4_reg: ldo4 { 102 ldo4_reg: regulator@7 {
103 reg = <7>;
104 regulator-compatible = "ldo4";
68 regulator-min-microvolt = <1700000>; 105 regulator-min-microvolt = <1700000>;
69 regulator-max-microvolt = <2475000>; 106 regulator-max-microvolt = <2475000>;
70 }; 107 };
71 108
72 ldo5_reg: ldo5 { 109 ldo5_reg: regulator@8 {
110 reg = <8>;
111 regulator-compatible = "ldo5";
73 regulator-min-microvolt = <1250000>; 112 regulator-min-microvolt = <1250000>;
74 regulator-max-microvolt = <3300000>; 113 regulator-max-microvolt = <3300000>;
75 }; 114 };
76 115
77 ldo6_reg: ldo6 { 116 ldo6_reg: regulator@9 {
117 reg = <9>;
118 regulator-compatible = "ldo6";
78 regulator-min-microvolt = <1250000>; 119 regulator-min-microvolt = <1250000>;
79 regulator-max-microvolt = <3300000>; 120 regulator-max-microvolt = <3300000>;
80 }; 121 };
81 122
82 ldo7_reg: ldo7 { 123 ldo7_reg: regulator@10 {
124 reg = <10>;
125 regulator-compatible = "ldo7";
83 regulator-min-microvolt = <1250000>; 126 regulator-min-microvolt = <1250000>;
84 regulator-max-microvolt = <3300000>; 127 regulator-max-microvolt = <3300000>;
85 }; 128 };
86 129
87 ldo8_reg: ldo8 { 130 ldo8_reg: regulator@11 {
131 reg = <11>;
132 regulator-compatible = "ldo8";
88 regulator-min-microvolt = <1250000>; 133 regulator-min-microvolt = <1250000>;
89 regulator-max-microvolt = <3300000>; 134 regulator-max-microvolt = <3300000>;
90 }; 135 };
91 136
92 ldo9_reg: ldo9 { 137 ldo9_reg: regulator@12 {
138 reg = <12>;
139 regulator-compatible = "ldo9";
93 regulator-min-microvolt = <1250000>; 140 regulator-min-microvolt = <1250000>;
94 regulator-max-microvolt = <3300000>; 141 regulator-max-microvolt = <3300000>;
95 }; 142 };
diff --git a/Documentation/devicetree/bindings/regulator/twl-regulator.txt b/Documentation/devicetree/bindings/regulator/twl-regulator.txt
index 0c3395d55ac1..658749b90b97 100644
--- a/Documentation/devicetree/bindings/regulator/twl-regulator.txt
+++ b/Documentation/devicetree/bindings/regulator/twl-regulator.txt
@@ -15,7 +15,6 @@ For twl6030 regulators/LDOs
15 - "ti,twl6030-vusb" for VUSB LDO 15 - "ti,twl6030-vusb" for VUSB LDO
16 - "ti,twl6030-v1v8" for V1V8 LDO 16 - "ti,twl6030-v1v8" for V1V8 LDO
17 - "ti,twl6030-v2v1" for V2V1 LDO 17 - "ti,twl6030-v2v1" for V2V1 LDO
18 - "ti,twl6030-clk32kg" for CLK32KG RESOURCE
19 - "ti,twl6030-vdd1" for VDD1 SMPS 18 - "ti,twl6030-vdd1" for VDD1 SMPS
20 - "ti,twl6030-vdd2" for VDD2 SMPS 19 - "ti,twl6030-vdd2" for VDD2 SMPS
21 - "ti,twl6030-vdd3" for VDD3 SMPS 20 - "ti,twl6030-vdd3" for VDD3 SMPS