Merge tag 'v3.8-rc1' into staging/for_v3.9
[sfrench/cifs-2.6.git] / arch / arm / mach-omap2 / Kconfig
1 if ARCH_OMAP2PLUS
2
3 menu "TI OMAP2/3/4 Specific Features"
4
5 config ARCH_OMAP2PLUS_TYPICAL
6         bool "Typical OMAP configuration"
7         default y
8         select AEABI
9         select HIGHMEM
10         select I2C
11         select I2C_OMAP
12         select MENELAUS if ARCH_OMAP2
13         select NEON if ARCH_OMAP3 || ARCH_OMAP4 || SOC_OMAP5
14         select PM_RUNTIME
15         select REGULATOR
16         select SERIAL_OMAP
17         select SERIAL_OMAP_CONSOLE
18         select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
19         select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
20         select VFP
21         help
22           Compile a kernel suitable for booting most boards
23
24 config SOC_HAS_OMAP2_SDRC
25         bool "OMAP2 SDRAM Controller support"
26
27 config SOC_HAS_REALTIME_COUNTER
28         bool "Real time free running counter"
29         depends on SOC_OMAP5
30         default y
31
32 config ARCH_OMAP2
33         bool "TI OMAP2"
34         depends on ARCH_OMAP2PLUS
35         default y
36         select CPU_V6
37         select MULTI_IRQ_HANDLER
38         select SOC_HAS_OMAP2_SDRC
39         select COMMON_CLK
40
41 config ARCH_OMAP3
42         bool "TI OMAP3"
43         depends on ARCH_OMAP2PLUS
44         default y
45         select ARCH_HAS_OPP
46         select ARM_CPU_SUSPEND if PM
47         select CPU_V7
48         select MULTI_IRQ_HANDLER
49         select OMAP_INTERCONNECT
50         select PM_OPP if PM
51         select PM_RUNTIME if CPU_IDLE
52         select SOC_HAS_OMAP2_SDRC
53         select COMMON_CLK
54         select USB_ARCH_HAS_EHCI if USB_SUPPORT
55
56 config ARCH_OMAP4
57         bool "TI OMAP4"
58         default y
59         depends on ARCH_OMAP2PLUS
60         select ARCH_HAS_OPP
61         select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
62         select ARM_CPU_SUSPEND if PM
63         select ARM_ERRATA_720789
64         select ARM_GIC
65         select CACHE_L2X0
66         select CPU_V7
67         select HAVE_SMP
68         select LOCAL_TIMERS if SMP
69         select OMAP_INTERCONNECT
70         select PL310_ERRATA_588369
71         select PL310_ERRATA_727915
72         select PM_OPP if PM
73         select PM_RUNTIME if CPU_IDLE
74         select USB_ARCH_HAS_EHCI if USB_SUPPORT
75         select COMMON_CLK
76
77 config SOC_OMAP5
78         bool "TI OMAP5"
79         select ARM_ARCH_TIMER
80         select ARM_CPU_SUSPEND if PM
81         select ARM_GIC
82         select CPU_V7
83         select HAVE_SMP
84         select COMMON_CLK
85
86 comment "OMAP Core Type"
87         depends on ARCH_OMAP2
88
89 config SOC_OMAP2420
90         bool "OMAP2420 support"
91         depends on ARCH_OMAP2
92         default y
93         select OMAP_DM_TIMER
94         select SOC_HAS_OMAP2_SDRC
95
96 config SOC_OMAP2430
97         bool "OMAP2430 support"
98         depends on ARCH_OMAP2
99         default y
100         select SOC_HAS_OMAP2_SDRC
101
102 config SOC_OMAP3430
103         bool "OMAP3430 support"
104         depends on ARCH_OMAP3
105         default y
106         select SOC_HAS_OMAP2_SDRC
107
108 config SOC_TI81XX
109         bool "TI81XX support"
110         depends on ARCH_OMAP3
111         default y
112
113 config SOC_AM33XX
114         bool "AM33XX support"
115         default y
116         select ARM_CPU_SUSPEND if PM
117         select CPU_V7
118         select MULTI_IRQ_HANDLER
119         select COMMON_CLK
120
121 config OMAP_PACKAGE_ZAF
122        bool
123
124 config OMAP_PACKAGE_ZAC
125        bool
126
127 config OMAP_PACKAGE_CBC
128        bool
129
130 config OMAP_PACKAGE_CBB
131        bool
132
133 config OMAP_PACKAGE_CUS
134        bool
135
136 config OMAP_PACKAGE_CBP
137        bool
138
139 config OMAP_PACKAGE_CBL
140        bool
141
142 config OMAP_PACKAGE_CBS
143        bool
144
145 comment "OMAP Board Type"
146         depends on ARCH_OMAP2PLUS
147
148 config MACH_OMAP_GENERIC
149         bool "Generic OMAP2+ board"
150         depends on ARCH_OMAP2PLUS
151         default y
152         help
153           Support for generic TI OMAP2+ boards using Flattened Device Tree.
154           More information at Documentation/devicetree
155
156 config MACH_OMAP2_TUSB6010
157         bool
158         depends on ARCH_OMAP2 && SOC_OMAP2420
159         default y if MACH_NOKIA_N8X0
160
161 config MACH_OMAP_H4
162         bool "OMAP 2420 H4 board"
163         depends on SOC_OMAP2420
164         default y
165         select OMAP_DEBUG_DEVICES
166         select OMAP_PACKAGE_ZAF
167
168 config MACH_OMAP_APOLLON
169         bool "OMAP 2420 Apollon board"
170         depends on SOC_OMAP2420
171         default y
172         select OMAP_PACKAGE_ZAC
173
174 config MACH_OMAP_2430SDP
175         bool "OMAP 2430 SDP board"
176         depends on SOC_OMAP2430
177         default y
178         select OMAP_PACKAGE_ZAC
179
180 config MACH_OMAP3_BEAGLE
181         bool "OMAP3 BEAGLE board"
182         depends on ARCH_OMAP3
183         default y
184         select OMAP_PACKAGE_CBB
185
186 config MACH_DEVKIT8000
187         bool "DEVKIT8000 board"
188         depends on ARCH_OMAP3
189         default y
190         select OMAP_PACKAGE_CUS
191
192 config MACH_OMAP_LDP
193         bool "OMAP3 LDP board"
194         depends on ARCH_OMAP3
195         default y
196         select OMAP_PACKAGE_CBB
197
198 config MACH_OMAP3530_LV_SOM
199         bool "OMAP3 Logic 3530 LV SOM board"
200         depends on ARCH_OMAP3
201         default y
202         select OMAP_PACKAGE_CBB
203         help
204          Support for the LogicPD OMAP3530 SOM Development kit
205          for full description please see the products webpage at
206          http://www.logicpd.com/products/development-kits/texas-instruments-zoom%E2%84%A2-omap35x-development-kit
207
208 config MACH_OMAP3_TORPEDO
209         bool "OMAP3 Logic 35x Torpedo board"
210         depends on ARCH_OMAP3
211         default y
212         select OMAP_PACKAGE_CBB
213         help
214          Support for the LogicPD OMAP35x Torpedo Development kit
215          for full description please see the products webpage at
216          http://www.logicpd.com/products/development-kits/zoom-omap35x-torpedo-development-kit
217
218 config MACH_OVERO
219         bool "Gumstix Overo board"
220         depends on ARCH_OMAP3
221         default y
222         select OMAP_PACKAGE_CBB
223
224 config MACH_OMAP3EVM
225         bool "OMAP 3530 EVM board"
226         depends on ARCH_OMAP3
227         default y
228         select OMAP_PACKAGE_CBB
229
230 config MACH_OMAP3517EVM
231         bool "OMAP3517/ AM3517 EVM board"
232         depends on ARCH_OMAP3
233         default y
234         select OMAP_PACKAGE_CBB
235
236 config MACH_CRANEBOARD
237         bool "AM3517/05 CRANE board"
238         depends on ARCH_OMAP3
239         select OMAP_PACKAGE_CBB
240
241 config MACH_OMAP3_PANDORA
242         bool "OMAP3 Pandora"
243         depends on ARCH_OMAP3
244         default y
245         select OMAP_PACKAGE_CBB
246         select REGULATOR_FIXED_VOLTAGE if REGULATOR
247
248 config MACH_TOUCHBOOK
249         bool "OMAP3 Touch Book"
250         depends on ARCH_OMAP3
251         default y
252         select OMAP_PACKAGE_CBB
253
254 config MACH_OMAP_3430SDP
255         bool "OMAP 3430 SDP board"
256         depends on ARCH_OMAP3
257         default y
258         select OMAP_PACKAGE_CBB
259
260 config MACH_NOKIA_N800
261        bool
262
263 config MACH_NOKIA_N810
264        bool
265
266 config MACH_NOKIA_N810_WIMAX
267        bool
268
269 config MACH_NOKIA_N8X0
270         bool "Nokia N800/N810"
271         depends on SOC_OMAP2420
272         default y
273         select MACH_NOKIA_N800
274         select MACH_NOKIA_N810
275         select MACH_NOKIA_N810_WIMAX
276         select OMAP_PACKAGE_ZAC
277
278 config MACH_NOKIA_RM680
279         bool "Nokia N950 (RM-680) / N9 (RM-696) phones"
280         depends on ARCH_OMAP3
281         default y
282         select MACH_NOKIA_RM696
283         select OMAP_PACKAGE_CBB
284
285 config MACH_NOKIA_RX51
286         bool "Nokia N900 (RX-51) phone"
287         depends on ARCH_OMAP3
288         default y
289         select OMAP_PACKAGE_CBB
290
291 config MACH_OMAP_ZOOM2
292         bool "OMAP3 Zoom2 board"
293         depends on ARCH_OMAP3
294         default y
295         select OMAP_PACKAGE_CBB
296         select REGULATOR_FIXED_VOLTAGE if REGULATOR
297         select SERIAL_8250
298         select SERIAL_8250_CONSOLE
299         select SERIAL_CORE_CONSOLE
300
301 config MACH_OMAP_ZOOM3
302         bool "OMAP3630 Zoom3 board"
303         depends on ARCH_OMAP3
304         default y
305         select OMAP_PACKAGE_CBP
306         select REGULATOR_FIXED_VOLTAGE if REGULATOR
307         select SERIAL_8250
308         select SERIAL_8250_CONSOLE
309         select SERIAL_CORE_CONSOLE
310
311 config MACH_CM_T35
312         bool "CompuLab CM-T35/CM-T3730 modules"
313         depends on ARCH_OMAP3
314         default y
315         select MACH_CM_T3730
316         select OMAP_PACKAGE_CUS
317
318 config MACH_CM_T3517
319         bool "CompuLab CM-T3517 module"
320         depends on ARCH_OMAP3
321         default y
322         select OMAP_PACKAGE_CBB
323
324 config MACH_CM_T3730
325        bool
326
327 config MACH_IGEP0020
328         bool "IGEP v2 board"
329         depends on ARCH_OMAP3
330         default y
331         select OMAP_PACKAGE_CBB
332
333 config MACH_IGEP0030
334         bool "IGEP OMAP3 module"
335         depends on ARCH_OMAP3
336         default y
337         select MACH_IGEP0020
338         select OMAP_PACKAGE_CBB
339
340 config MACH_SBC3530
341         bool "OMAP3 SBC STALKER board"
342         depends on ARCH_OMAP3
343         default y
344         select OMAP_PACKAGE_CUS
345
346 config MACH_OMAP_3630SDP
347         bool "OMAP3630 SDP board"
348         depends on ARCH_OMAP3
349         default y
350         select OMAP_PACKAGE_CBP
351
352 config MACH_TI8168EVM
353         bool "TI8168 Evaluation Module"
354         depends on SOC_TI81XX
355         default y
356
357 config MACH_TI8148EVM
358         bool "TI8148 Evaluation Module"
359         depends on SOC_TI81XX
360         default y
361
362 config MACH_OMAP_4430SDP
363         bool "OMAP 4430 SDP board"
364         default y
365         depends on ARCH_OMAP4
366         select OMAP_PACKAGE_CBL
367         select OMAP_PACKAGE_CBS
368         select REGULATOR_FIXED_VOLTAGE if REGULATOR
369
370 config MACH_OMAP4_PANDA
371         bool "OMAP4 Panda Board"
372         default y
373         depends on ARCH_OMAP4
374         select OMAP_PACKAGE_CBL
375         select OMAP_PACKAGE_CBS
376         select REGULATOR_FIXED_VOLTAGE if REGULATOR
377
378 config OMAP3_EMU
379         bool "OMAP3 debugging peripherals"
380         depends on ARCH_OMAP3
381         select ARM_AMBA
382         select OC_ETM
383         help
384           Say Y here to enable debugging hardware of omap3
385
386 config OMAP3_SDRC_AC_TIMING
387         bool "Enable SDRC AC timing register changes"
388         depends on ARCH_OMAP3
389         default n
390         help
391           If you know that none of your system initiators will attempt to
392           access SDRAM during CORE DVFS, select Y here.  This should boost
393           SDRAM performance at lower CORE OPPs.  There are relatively few
394           users who will wish to say yes at this point - almost everyone will
395           wish to say no.  Selecting yes without understanding what is
396           going on could result in system crashes;
397
398 config OMAP4_ERRATA_I688
399         bool "OMAP4 errata: Async Bridge Corruption"
400         depends on ARCH_OMAP4
401         select ARCH_HAS_BARRIERS
402         help
403           If a data is stalled inside asynchronous bridge because of back
404           pressure, it may be accepted multiple times, creating pointer
405           misalignment that will corrupt next transfers on that data path
406           until next reset of the system (No recovery procedure once the
407           issue is hit, the path remains consistently broken). Async bridge
408           can be found on path between MPU to EMIF and MPU to L3 interconnect.
409           This situation can happen only when the idle is initiated by a
410           Master Request Disconnection (which is trigged by software when
411           executing WFI on CPU).
412           The work-around for this errata needs all the initiators connected
413           through async bridge must ensure that data path is properly drained
414           before issuing WFI. This condition will be met if one Strongly ordered
415           access is performed to the target right before executing the WFI.
416           In MPU case, L3 T2ASYNC FIFO and DDR T2ASYNC FIFO needs to be drained.
417           IO barrier ensure that there is no synchronisation loss on initiators
418           operating on both interconnect port simultaneously.
419 endmenu
420
421 endif