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