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