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