diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/RCU/checklist.txt | 39 | ||||
-rw-r--r-- | Documentation/RCU/rcubarrier.txt | 15 | ||||
-rw-r--r-- | Documentation/RCU/torture.txt | 9 | ||||
-rw-r--r-- | Documentation/RCU/whatisRCU.txt | 6 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/mfd/tps65910.txt | 90 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/pinctrl/fsl,imx6q-pinctrl.txt | 2 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/regulator/fixed-regulator.txt | 2 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/regulator/regulator.txt | 5 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/regulator/tps65217.txt | 91 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/regulator/tps6586x.txt | 77 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/regulator/twl-regulator.txt | 1 | ||||
-rw-r--r-- | Documentation/kdump/kdump.txt | 2 | ||||
-rw-r--r-- | Documentation/kernel-parameters.txt | 5 |
13 files changed, 281 insertions, 63 deletions
diff --git a/Documentation/RCU/checklist.txt b/Documentation/RCU/checklist.txt index 5c8d74968090..fc103d7a0474 100644 --- a/Documentation/RCU/checklist.txt +++ b/Documentation/RCU/checklist.txt | |||
@@ -162,9 +162,9 @@ over a rather long period of time, but improvements are always welcome! | |||
162 | when publicizing a pointer to a structure that can | 162 | when publicizing a pointer to a structure that can |
163 | be traversed by an RCU read-side critical section. | 163 | be traversed by an RCU read-side critical section. |
164 | 164 | ||
165 | 5. If call_rcu(), or a related primitive such as call_rcu_bh() or | 165 | 5. If call_rcu(), or a related primitive such as call_rcu_bh(), |
166 | call_rcu_sched(), is used, the callback function must be | 166 | call_rcu_sched(), or call_srcu() is used, the callback function |
167 | written to be called from softirq context. In particular, | 167 | must be written to be called from softirq context. In particular, |
168 | it cannot block. | 168 | it cannot block. |
169 | 169 | ||
170 | 6. Since synchronize_rcu() can block, it cannot be called from | 170 | 6. Since synchronize_rcu() can block, it cannot be called from |
@@ -202,11 +202,12 @@ over a rather long period of time, but improvements are always welcome! | |||
202 | updater uses call_rcu_sched() or synchronize_sched(), then | 202 | updater uses call_rcu_sched() or synchronize_sched(), then |
203 | the corresponding readers must disable preemption, possibly | 203 | the corresponding readers must disable preemption, possibly |
204 | by calling rcu_read_lock_sched() and rcu_read_unlock_sched(). | 204 | by calling rcu_read_lock_sched() and rcu_read_unlock_sched(). |
205 | If the updater uses synchronize_srcu(), the the corresponding | 205 | If the updater uses synchronize_srcu() or call_srcu(), |
206 | readers must use srcu_read_lock() and srcu_read_unlock(), | 206 | the the corresponding readers must use srcu_read_lock() and |
207 | and with the same srcu_struct. The rules for the expedited | 207 | srcu_read_unlock(), and with the same srcu_struct. The rules for |
208 | primitives are the same as for their non-expedited counterparts. | 208 | the expedited primitives are the same as for their non-expedited |
209 | Mixing things up will result in confusion and broken kernels. | 209 | counterparts. Mixing things up will result in confusion and |
210 | broken kernels. | ||
210 | 211 | ||
211 | One exception to this rule: rcu_read_lock() and rcu_read_unlock() | 212 | One exception to this rule: rcu_read_lock() and rcu_read_unlock() |
212 | may be substituted for rcu_read_lock_bh() and rcu_read_unlock_bh() | 213 | may be substituted for rcu_read_lock_bh() and rcu_read_unlock_bh() |
@@ -333,14 +334,14 @@ over a rather long period of time, but improvements are always welcome! | |||
333 | victim CPU from ever going offline.) | 334 | victim CPU from ever going offline.) |
334 | 335 | ||
335 | 14. SRCU (srcu_read_lock(), srcu_read_unlock(), srcu_dereference(), | 336 | 14. SRCU (srcu_read_lock(), srcu_read_unlock(), srcu_dereference(), |
336 | synchronize_srcu(), and synchronize_srcu_expedited()) may only | 337 | synchronize_srcu(), synchronize_srcu_expedited(), and call_srcu()) |
337 | be invoked from process context. Unlike other forms of RCU, it | 338 | may only be invoked from process context. Unlike other forms of |
338 | -is- permissible to block in an SRCU read-side critical section | 339 | RCU, it -is- permissible to block in an SRCU read-side critical |
339 | (demarked by srcu_read_lock() and srcu_read_unlock()), hence the | 340 | section (demarked by srcu_read_lock() and srcu_read_unlock()), |
340 | "SRCU": "sleepable RCU". Please note that if you don't need | 341 | hence the "SRCU": "sleepable RCU". Please note that if you |
341 | to sleep in read-side critical sections, you should be using | 342 | don't need to sleep in read-side critical sections, you should be |
342 | RCU rather than SRCU, because RCU is almost always faster and | 343 | using RCU rather than SRCU, because RCU is almost always faster |
343 | easier to use than is SRCU. | 344 | and easier to use than is SRCU. |
344 | 345 | ||
345 | If you need to enter your read-side critical section in a | 346 | If you need to enter your read-side critical section in a |
346 | hardirq or exception handler, and then exit that same read-side | 347 | hardirq or exception handler, and then exit that same read-side |
@@ -353,8 +354,8 @@ over a rather long period of time, but improvements are always welcome! | |||
353 | cleanup_srcu_struct(). These are passed a "struct srcu_struct" | 354 | cleanup_srcu_struct(). These are passed a "struct srcu_struct" |
354 | that defines the scope of a given SRCU domain. Once initialized, | 355 | that defines the scope of a given SRCU domain. Once initialized, |
355 | the srcu_struct is passed to srcu_read_lock(), srcu_read_unlock() | 356 | the srcu_struct is passed to srcu_read_lock(), srcu_read_unlock() |
356 | synchronize_srcu(), and synchronize_srcu_expedited(). A given | 357 | synchronize_srcu(), synchronize_srcu_expedited(), and call_srcu(). |
357 | synchronize_srcu() waits only for SRCU read-side critical | 358 | A given synchronize_srcu() waits only for SRCU read-side critical |
358 | sections governed by srcu_read_lock() and srcu_read_unlock() | 359 | sections governed by srcu_read_lock() and srcu_read_unlock() |
359 | calls that have been passed the same srcu_struct. This property | 360 | calls that have been passed the same srcu_struct. This property |
360 | is what makes sleeping read-side critical sections tolerable -- | 361 | is what makes sleeping read-side critical sections tolerable -- |
@@ -374,7 +375,7 @@ over a rather long period of time, but improvements are always welcome! | |||
374 | requiring SRCU's read-side deadlock immunity or low read-side | 375 | requiring SRCU's read-side deadlock immunity or low read-side |
375 | realtime latency. | 376 | realtime latency. |
376 | 377 | ||
377 | Note that, rcu_assign_pointer() relates to SRCU just as they do | 378 | Note that, rcu_assign_pointer() relates to SRCU just as it does |
378 | to other forms of RCU. | 379 | to other forms of RCU. |
379 | 380 | ||
380 | 15. The whole point of call_rcu(), synchronize_rcu(), and friends | 381 | 15. The whole point of call_rcu(), synchronize_rcu(), and friends |
diff --git a/Documentation/RCU/rcubarrier.txt b/Documentation/RCU/rcubarrier.txt index e439a0edee22..38428c125135 100644 --- a/Documentation/RCU/rcubarrier.txt +++ b/Documentation/RCU/rcubarrier.txt | |||
@@ -79,8 +79,6 @@ complete. Pseudo-code using rcu_barrier() is as follows: | |||
79 | 2. Execute rcu_barrier(). | 79 | 2. Execute rcu_barrier(). |
80 | 3. Allow the module to be unloaded. | 80 | 3. Allow the module to be unloaded. |
81 | 81 | ||
82 | Quick Quiz #1: Why is there no srcu_barrier()? | ||
83 | |||
84 | The rcutorture module makes use of rcu_barrier in its exit function | 82 | The rcutorture module makes use of rcu_barrier in its exit function |
85 | as follows: | 83 | as follows: |
86 | 84 | ||
@@ -162,7 +160,7 @@ for any pre-existing callbacks to complete. | |||
162 | Then lines 55-62 print status and do operation-specific cleanup, and | 160 | Then lines 55-62 print status and do operation-specific cleanup, and |
163 | then return, permitting the module-unload operation to be completed. | 161 | then return, permitting the module-unload operation to be completed. |
164 | 162 | ||
165 | Quick Quiz #2: Is there any other situation where rcu_barrier() might | 163 | Quick Quiz #1: Is there any other situation where rcu_barrier() might |
166 | be required? | 164 | be required? |
167 | 165 | ||
168 | Your module might have additional complications. For example, if your | 166 | Your module might have additional complications. For example, if your |
@@ -242,7 +240,7 @@ reaches zero, as follows: | |||
242 | 4 complete(&rcu_barrier_completion); | 240 | 4 complete(&rcu_barrier_completion); |
243 | 5 } | 241 | 5 } |
244 | 242 | ||
245 | Quick Quiz #3: What happens if CPU 0's rcu_barrier_func() executes | 243 | Quick Quiz #2: What happens if CPU 0's rcu_barrier_func() executes |
246 | immediately (thus incrementing rcu_barrier_cpu_count to the | 244 | immediately (thus incrementing rcu_barrier_cpu_count to the |
247 | value one), but the other CPU's rcu_barrier_func() invocations | 245 | value one), but the other CPU's rcu_barrier_func() invocations |
248 | are delayed for a full grace period? Couldn't this result in | 246 | are delayed for a full grace period? Couldn't this result in |
@@ -259,12 +257,7 @@ so that your module may be safely unloaded. | |||
259 | 257 | ||
260 | Answers to Quick Quizzes | 258 | Answers to Quick Quizzes |
261 | 259 | ||
262 | Quick Quiz #1: Why is there no srcu_barrier()? | 260 | Quick Quiz #1: Is there any other situation where rcu_barrier() might |
263 | |||
264 | Answer: Since there is no call_srcu(), there can be no outstanding SRCU | ||
265 | callbacks. Therefore, there is no need to wait for them. | ||
266 | |||
267 | Quick Quiz #2: Is there any other situation where rcu_barrier() might | ||
268 | be required? | 261 | be required? |
269 | 262 | ||
270 | Answer: Interestingly enough, rcu_barrier() was not originally | 263 | Answer: Interestingly enough, rcu_barrier() was not originally |
@@ -278,7 +271,7 @@ Answer: Interestingly enough, rcu_barrier() was not originally | |||
278 | implementing rcutorture, and found that rcu_barrier() solves | 271 | implementing rcutorture, and found that rcu_barrier() solves |
279 | this problem as well. | 272 | this problem as well. |
280 | 273 | ||
281 | Quick Quiz #3: What happens if CPU 0's rcu_barrier_func() executes | 274 | Quick Quiz #2: What happens if CPU 0's rcu_barrier_func() executes |
282 | immediately (thus incrementing rcu_barrier_cpu_count to the | 275 | immediately (thus incrementing rcu_barrier_cpu_count to the |
283 | value one), but the other CPU's rcu_barrier_func() invocations | 276 | value one), but the other CPU's rcu_barrier_func() invocations |
284 | are delayed for a full grace period? Couldn't this result in | 277 | are delayed for a full grace period? Couldn't this result in |
diff --git a/Documentation/RCU/torture.txt b/Documentation/RCU/torture.txt index 4ddf3913fd8c..7dce8a17eac2 100644 --- a/Documentation/RCU/torture.txt +++ b/Documentation/RCU/torture.txt | |||
@@ -174,11 +174,20 @@ torture_type The type of RCU to test, with string values as follows: | |||
174 | and synchronize_rcu_bh_expedited(). | 174 | and synchronize_rcu_bh_expedited(). |
175 | 175 | ||
176 | "srcu": srcu_read_lock(), srcu_read_unlock() and | 176 | "srcu": srcu_read_lock(), srcu_read_unlock() and |
177 | call_srcu(). | ||
178 | |||
179 | "srcu_sync": srcu_read_lock(), srcu_read_unlock() and | ||
177 | synchronize_srcu(). | 180 | synchronize_srcu(). |
178 | 181 | ||
179 | "srcu_expedited": srcu_read_lock(), srcu_read_unlock() and | 182 | "srcu_expedited": srcu_read_lock(), srcu_read_unlock() and |
180 | synchronize_srcu_expedited(). | 183 | synchronize_srcu_expedited(). |
181 | 184 | ||
185 | "srcu_raw": srcu_read_lock_raw(), srcu_read_unlock_raw(), | ||
186 | and call_srcu(). | ||
187 | |||
188 | "srcu_raw_sync": srcu_read_lock_raw(), srcu_read_unlock_raw(), | ||
189 | and synchronize_srcu(). | ||
190 | |||
182 | "sched": preempt_disable(), preempt_enable(), and | 191 | "sched": preempt_disable(), preempt_enable(), and |
183 | call_rcu_sched(). | 192 | call_rcu_sched(). |
184 | 193 | ||
diff --git a/Documentation/RCU/whatisRCU.txt b/Documentation/RCU/whatisRCU.txt index 6bbe8dcdc3da..69ee188515e7 100644 --- a/Documentation/RCU/whatisRCU.txt +++ b/Documentation/RCU/whatisRCU.txt | |||
@@ -833,9 +833,9 @@ sched: Critical sections Grace period Barrier | |||
833 | 833 | ||
834 | SRCU: Critical sections Grace period Barrier | 834 | SRCU: Critical sections Grace period Barrier |
835 | 835 | ||
836 | srcu_read_lock synchronize_srcu N/A | 836 | srcu_read_lock synchronize_srcu srcu_barrier |
837 | srcu_read_unlock synchronize_srcu_expedited | 837 | srcu_read_unlock call_srcu |
838 | srcu_read_lock_raw | 838 | srcu_read_lock_raw synchronize_srcu_expedited |
839 | srcu_read_unlock_raw | 839 | srcu_read_unlock_raw |
840 | srcu_dereference | 840 | srcu_dereference |
841 | 841 | ||
diff --git a/Documentation/devicetree/bindings/mfd/tps65910.txt b/Documentation/devicetree/bindings/mfd/tps65910.txt index 645f5eaadb3f..d2802d4717bc 100644 --- a/Documentation/devicetree/bindings/mfd/tps65910.txt +++ b/Documentation/devicetree/bindings/mfd/tps65910.txt | |||
@@ -17,18 +17,46 @@ 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, |
25 | ldo6, ldo7, ldo8 | 26 | ldo6, ldo7, ldo8 |
26 | 27 | ||
28 | - xxx-supply: Input voltage supply regulator. | ||
29 | These entries are require if regulators are enabled for a device. Missing of these | ||
30 | properties can cause the regulator registration fails. | ||
31 | If some of input supply is powered through battery or always-on supply then | ||
32 | also it is require to have these parameters with proper node handle of always | ||
33 | on power supply. | ||
34 | tps65910: | ||
35 | vcc1-supply: VDD1 input. | ||
36 | vcc2-supply: VDD2 input. | ||
37 | vcc3-supply: VAUX33 and VMMC input. | ||
38 | vcc4-supply: VAUX1 and VAUX2 input. | ||
39 | vcc5-supply: VPLL and VDAC input. | ||
40 | vcc6-supply: VDIG1 and VDIG2 input. | ||
41 | vcc7-supply: VRTC input. | ||
42 | vccio-supply: VIO input. | ||
43 | tps65911: | ||
44 | vcc1-supply: VDD1 input. | ||
45 | vcc2-supply: VDD2 input. | ||
46 | vcc3-supply: LDO6, LDO7 and LDO8 input. | ||
47 | vcc4-supply: LDO5 input. | ||
48 | vcc5-supply: LDO3 and LDO4 input. | ||
49 | vcc6-supply: LDO1 and LDO2 input. | ||
50 | vcc7-supply: VRTC input. | ||
51 | vccio-supply: VIO input. | ||
52 | |||
27 | Optional properties: | 53 | Optional properties: |
28 | - ti,vmbch-threshold: (tps65911) main battery charged threshold | 54 | - ti,vmbch-threshold: (tps65911) main battery charged threshold |
29 | comparator. (see VMBCH_VSEL in TPS65910 datasheet) | 55 | comparator. (see VMBCH_VSEL in TPS65910 datasheet) |
30 | - ti,vmbch2-threshold: (tps65911) main battery discharged threshold | 56 | - ti,vmbch2-threshold: (tps65911) main battery discharged threshold |
31 | comparator. (see VMBCH_VSEL in TPS65910 datasheet) | 57 | comparator. (see VMBCH_VSEL in TPS65910 datasheet) |
58 | - ti,en-ck32k-xtal: enable external 32-kHz crystal oscillator (see CK32K_CTRL | ||
59 | in TPS6591X datasheet) | ||
32 | - ti,en-gpio-sleep: enable sleep control for gpios | 60 | - ti,en-gpio-sleep: enable sleep control for gpios |
33 | There should be 9 entries here, one for each gpio. | 61 | There should be 9 entries here, one for each gpio. |
34 | 62 | ||
@@ -56,74 +84,110 @@ Example: | |||
56 | 84 | ||
57 | ti,en-gpio-sleep = <0 0 1 0 0 0 0 0 0>; | 85 | ti,en-gpio-sleep = <0 0 1 0 0 0 0 0 0>; |
58 | 86 | ||
87 | vcc1-supply = <®_parent>; | ||
88 | vcc2-supply = <&some_reg>; | ||
89 | vcc3-supply = <...>; | ||
90 | vcc4-supply = <...>; | ||
91 | vcc5-supply = <...>; | ||
92 | vcc6-supply = <...>; | ||
93 | vcc7-supply = <...>; | ||
94 | vccio-supply = <...>; | ||
95 | |||
59 | regulators { | 96 | regulators { |
60 | vdd1_reg: vdd1 { | 97 | #address-cells = <1>; |
98 | #size-cells = <0>; | ||
99 | |||
100 | vdd1_reg: regulator@0 { | ||
101 | regulator-compatible = "vdd1"; | ||
102 | reg = <0>; | ||
61 | regulator-min-microvolt = < 600000>; | 103 | regulator-min-microvolt = < 600000>; |
62 | regulator-max-microvolt = <1500000>; | 104 | regulator-max-microvolt = <1500000>; |
63 | regulator-always-on; | 105 | regulator-always-on; |
64 | regulator-boot-on; | 106 | regulator-boot-on; |
65 | ti,regulator-ext-sleep-control = <0>; | 107 | ti,regulator-ext-sleep-control = <0>; |
66 | }; | 108 | }; |
67 | vdd2_reg: vdd2 { | 109 | vdd2_reg: regulator@1 { |
110 | regulator-compatible = "vdd2"; | ||
111 | reg = <1>; | ||
68 | regulator-min-microvolt = < 600000>; | 112 | regulator-min-microvolt = < 600000>; |
69 | regulator-max-microvolt = <1500000>; | 113 | regulator-max-microvolt = <1500000>; |
70 | regulator-always-on; | 114 | regulator-always-on; |
71 | regulator-boot-on; | 115 | regulator-boot-on; |
72 | ti,regulator-ext-sleep-control = <4>; | 116 | ti,regulator-ext-sleep-control = <4>; |
73 | }; | 117 | }; |
74 | vddctrl_reg: vddctrl { | 118 | vddctrl_reg: regulator@2 { |
119 | regulator-compatible = "vddctrl"; | ||
120 | reg = <2>; | ||
75 | regulator-min-microvolt = < 600000>; | 121 | regulator-min-microvolt = < 600000>; |
76 | regulator-max-microvolt = <1400000>; | 122 | regulator-max-microvolt = <1400000>; |
77 | regulator-always-on; | 123 | regulator-always-on; |
78 | regulator-boot-on; | 124 | regulator-boot-on; |
79 | ti,regulator-ext-sleep-control = <0>; | 125 | ti,regulator-ext-sleep-control = <0>; |
80 | }; | 126 | }; |
81 | vio_reg: vio { | 127 | vio_reg: regulator@3 { |
128 | regulator-compatible = "vio"; | ||
129 | reg = <3>; | ||
82 | regulator-min-microvolt = <1500000>; | 130 | regulator-min-microvolt = <1500000>; |
83 | regulator-max-microvolt = <1800000>; | 131 | regulator-max-microvolt = <1800000>; |
84 | regulator-always-on; | 132 | regulator-always-on; |
85 | regulator-boot-on; | 133 | regulator-boot-on; |
86 | ti,regulator-ext-sleep-control = <1>; | 134 | ti,regulator-ext-sleep-control = <1>; |
87 | }; | 135 | }; |
88 | ldo1_reg: ldo1 { | 136 | ldo1_reg: regulator@4 { |
137 | regulator-compatible = "ldo1"; | ||
138 | reg = <4>; | ||
89 | regulator-min-microvolt = <1000000>; | 139 | regulator-min-microvolt = <1000000>; |
90 | regulator-max-microvolt = <3300000>; | 140 | regulator-max-microvolt = <3300000>; |
91 | ti,regulator-ext-sleep-control = <0>; | 141 | ti,regulator-ext-sleep-control = <0>; |
92 | }; | 142 | }; |
93 | ldo2_reg: ldo2 { | 143 | ldo2_reg: regulator@5 { |
144 | regulator-compatible = "ldo2"; | ||
145 | reg = <5>; | ||
94 | regulator-min-microvolt = <1050000>; | 146 | regulator-min-microvolt = <1050000>; |
95 | regulator-max-microvolt = <1050000>; | 147 | regulator-max-microvolt = <1050000>; |
96 | ti,regulator-ext-sleep-control = <0>; | 148 | ti,regulator-ext-sleep-control = <0>; |
97 | }; | 149 | }; |
98 | ldo3_reg: ldo3 { | 150 | ldo3_reg: regulator@6 { |
151 | regulator-compatible = "ldo3"; | ||
152 | reg = <6>; | ||
99 | regulator-min-microvolt = <1000000>; | 153 | regulator-min-microvolt = <1000000>; |
100 | regulator-max-microvolt = <3300000>; | 154 | regulator-max-microvolt = <3300000>; |
101 | ti,regulator-ext-sleep-control = <0>; | 155 | ti,regulator-ext-sleep-control = <0>; |
102 | }; | 156 | }; |
103 | ldo4_reg: ldo4 { | 157 | ldo4_reg: regulator@7 { |
158 | regulator-compatible = "ldo4"; | ||
159 | reg = <7>; | ||
104 | regulator-min-microvolt = <1000000>; | 160 | regulator-min-microvolt = <1000000>; |
105 | regulator-max-microvolt = <3300000>; | 161 | regulator-max-microvolt = <3300000>; |
106 | regulator-always-on; | 162 | regulator-always-on; |
107 | ti,regulator-ext-sleep-control = <0>; | 163 | ti,regulator-ext-sleep-control = <0>; |
108 | }; | 164 | }; |
109 | ldo5_reg: ldo5 { | 165 | ldo5_reg: regulator@8 { |
166 | regulator-compatible = "ldo5"; | ||
167 | reg = <8>; | ||
110 | regulator-min-microvolt = <1000000>; | 168 | regulator-min-microvolt = <1000000>; |
111 | regulator-max-microvolt = <3300000>; | 169 | regulator-max-microvolt = <3300000>; |
112 | ti,regulator-ext-sleep-control = <0>; | 170 | ti,regulator-ext-sleep-control = <0>; |
113 | }; | 171 | }; |
114 | ldo6_reg: ldo6 { | 172 | ldo6_reg: regulator@9 { |
173 | regulator-compatible = "ldo6"; | ||
174 | reg = <9>; | ||
115 | regulator-min-microvolt = <1200000>; | 175 | regulator-min-microvolt = <1200000>; |
116 | regulator-max-microvolt = <1200000>; | 176 | regulator-max-microvolt = <1200000>; |
117 | ti,regulator-ext-sleep-control = <0>; | 177 | ti,regulator-ext-sleep-control = <0>; |
118 | }; | 178 | }; |
119 | ldo7_reg: ldo7 { | 179 | ldo7_reg: regulator@10 { |
180 | regulator-compatible = "ldo7"; | ||
181 | reg = <10>; | ||
120 | regulator-min-microvolt = <1200000>; | 182 | regulator-min-microvolt = <1200000>; |
121 | regulator-max-microvolt = <1200000>; | 183 | regulator-max-microvolt = <1200000>; |
122 | regulator-always-on; | 184 | regulator-always-on; |
123 | regulator-boot-on; | 185 | regulator-boot-on; |
124 | ti,regulator-ext-sleep-control = <1>; | 186 | ti,regulator-ext-sleep-control = <1>; |
125 | }; | 187 | }; |
126 | ldo8_reg: ldo8 { | 188 | ldo8_reg: regulator@11 { |
189 | regulator-compatible = "ldo8"; | ||
190 | reg = <11>; | ||
127 | regulator-min-microvolt = <1000000>; | 191 | regulator-min-microvolt = <1000000>; |
128 | regulator-max-microvolt = <3300000>; | 192 | regulator-max-microvolt = <3300000>; |
129 | regulator-always-on; | 193 | regulator-always-on; |
diff --git a/Documentation/devicetree/bindings/pinctrl/fsl,imx6q-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/fsl,imx6q-pinctrl.txt index 82b43f915857..a4119f6422d9 100644 --- a/Documentation/devicetree/bindings/pinctrl/fsl,imx6q-pinctrl.txt +++ b/Documentation/devicetree/bindings/pinctrl/fsl,imx6q-pinctrl.txt | |||
@@ -1626,3 +1626,5 @@ MX6Q_PAD_SD2_DAT3__PCIE_CTRL_MUX_11 1587 | |||
1626 | MX6Q_PAD_SD2_DAT3__GPIO_1_12 1588 | 1626 | MX6Q_PAD_SD2_DAT3__GPIO_1_12 1588 |
1627 | MX6Q_PAD_SD2_DAT3__SJC_DONE 1589 | 1627 | MX6Q_PAD_SD2_DAT3__SJC_DONE 1589 |
1628 | MX6Q_PAD_SD2_DAT3__ANATOP_TESTO_3 1590 | 1628 | MX6Q_PAD_SD2_DAT3__ANATOP_TESTO_3 1590 |
1629 | MX6Q_PAD_ENET_RX_ER__ANATOP_USBOTG_ID 1591 | ||
1630 | MX6Q_PAD_GPIO_1__ANATOP_USBOTG_ID 1592 | ||
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: | |||
10 | If this property is missing, the default assumed is Active low. | 10 | If 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 | ||
14 | Any property defined as part of the core regulator | 15 | Any property defined as part of the core regulator |
15 | binding, defined in regulator.txt, can also be used. | 16 | binding, 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 | ||
14 | Example: | 19 | Example: |
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 @@ | |||
1 | TPS65217 family of regulators | ||
2 | |||
3 | Required 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 | |||
17 | Each regulator is defined using the standard binding for regulators. | ||
18 | |||
19 | Example: | ||
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 | ||
12 | Each regulator is defined using the standard binding for regulators. | 21 | Each 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 |
diff --git a/Documentation/kdump/kdump.txt b/Documentation/kdump/kdump.txt index 506c7390c2b9..13f1aa09b938 100644 --- a/Documentation/kdump/kdump.txt +++ b/Documentation/kdump/kdump.txt | |||
@@ -86,7 +86,7 @@ There is also a gitweb interface available at | |||
86 | http://www.kernel.org/git/?p=utils/kernel/kexec/kexec-tools.git | 86 | http://www.kernel.org/git/?p=utils/kernel/kexec/kexec-tools.git |
87 | 87 | ||
88 | More information about kexec-tools can be found at | 88 | More information about kexec-tools can be found at |
89 | http://www.kernel.org/pub/linux/utils/kernel/kexec/README.html | 89 | http://horms.net/projects/kexec/ |
90 | 90 | ||
91 | 3) Unpack the tarball with the tar command, as follows: | 91 | 3) Unpack the tarball with the tar command, as follows: |
92 | 92 | ||
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index a92c5ebf373e..12783fa833c3 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -2367,6 +2367,11 @@ bytes respectively. Such letter suffixes can also be entirely omitted. | |||
2367 | Set maximum number of finished RCU callbacks to process | 2367 | Set maximum number of finished RCU callbacks to process |
2368 | in one batch. | 2368 | in one batch. |
2369 | 2369 | ||
2370 | rcutree.fanout_leaf= [KNL,BOOT] | ||
2371 | Increase the number of CPUs assigned to each | ||
2372 | leaf rcu_node structure. Useful for very large | ||
2373 | systems. | ||
2374 | |||
2370 | rcutree.qhimark= [KNL,BOOT] | 2375 | rcutree.qhimark= [KNL,BOOT] |
2371 | Set threshold of queued | 2376 | Set threshold of queued |
2372 | RCU callbacks over which batch limiting is disabled. | 2377 | RCU callbacks over which batch limiting is disabled. |