]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - arch/arm/mach-omap2/Kconfig
ARM: omap2: add select of TI_PRIV_EDMA
[mirror_ubuntu-artful-kernel.git] / arch / arm / mach-omap2 / Kconfig
CommitLineData
a0694861
TL
1config ARCH_OMAP
2 bool
3
68ac8f7d 4config ARCH_OMAP2
f558b275 5 bool "TI OMAP2"
4b0ed696 6 depends on ARCH_MULTI_V6
59d92875 7 select ARCH_OMAP2PLUS
68ac8f7d 8 select CPU_V6
6b2f55d7 9 select MULTI_IRQ_HANDLER
ecc46cfd 10 select SOC_HAS_OMAP2_SDRC
f7f73aab 11 select COMMON_CLK
68ac8f7d
TL
12
13config ARCH_OMAP3
f558b275 14 bool "TI OMAP3"
4b0ed696 15 depends on ARCH_MULTI_V7
59d92875 16 select ARCH_OMAP2PLUS
fd1478cd 17 select ARCH_HAS_OPP
15e0d9e3 18 select ARM_CPU_SUSPEND if PM
b1b3f49c 19 select CPU_V7
08d33b27 20 select MULTI_IRQ_HANDLER
0ee7261c 21 select OMAP_INTERCONNECT
b1b3f49c
RK
22 select PM_OPP if PM
23 select PM_RUNTIME if CPU_IDLE
24 select SOC_HAS_OMAP2_SDRC
f7f73aab 25 select COMMON_CLK
b1b3f49c 26 select USB_ARCH_HAS_EHCI if USB_SUPPORT
68ac8f7d
TL
27
28config ARCH_OMAP4
f558b275 29 bool "TI OMAP4"
4b0ed696 30 depends on ARCH_MULTI_V7
59d92875 31 select ARCH_OMAP2PLUS
b1b3f49c
RK
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
c957445b 37 select CACHE_L2X0
68ac8f7d 38 select CPU_V7
4c3ffffd
SB
39 select HAVE_ARM_SCU if SMP
40 select HAVE_ARM_TWD if LOCAL_TIMERS
3b55658a 41 select HAVE_SMP
07787a85 42 select LOCAL_TIMERS if SMP
b1b3f49c 43 select OMAP_INTERCONNECT
455d4d2d 44 select PL310_ERRATA_588369
4bdb1577 45 select PL310_ERRATA_727915
f5a6422d 46 select PM_OPP if PM
b1b3f49c 47 select PM_RUNTIME if CPU_IDLE
b2a5124e 48 select USB_ARCH_HAS_EHCI if USB_SUPPORT
f7f73aab 49 select COMMON_CLK
7a981995
S
50 select ARM_ERRATA_754322
51 select ARM_ERRATA_775420
68ac8f7d 52
35eb4298
S
53config SOC_OMAP5
54 bool "TI OMAP5"
4b0ed696 55 depends on ARCH_MULTI_V7
59d92875 56 select ARCH_OMAP2PLUS
b1b3f49c 57 select ARM_CPU_SUSPEND if PM
35eb4298 58 select ARM_GIC
b1b3f49c 59 select CPU_V7
896eba3b
AB
60 select HAVE_ARM_SCU if SMP
61 select HAVE_ARM_TWD if LOCAL_TIMERS
35eb4298 62 select HAVE_SMP
f7f73aab 63 select COMMON_CLK
8a4da6e3 64 select HAVE_ARM_ARCH_TIMER
35eb4298 65
59d92875
AB
66config SOC_AM33XX
67 bool "AM33XX support"
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
75config 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
85config 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
9d8812df 102 select TI_PRIV_EDMA
59d92875
AB
103 select USE_OF
104 help
105 Systems based on OMAP2, OMAP3, OMAP4 or OMAP5
106
107
108if ARCH_OMAP2PLUS
109
110menu "TI OMAP2/3/4 Specific Features"
111
112config 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
129config SOC_HAS_OMAP2_SDRC
130 bool "OMAP2 SDRAM Controller support"
131
132config SOC_HAS_REALTIME_COUNTER
133 bool "Real time free running counter"
134 depends on SOC_OMAP5
135 default y
136
1dbae815 137comment "OMAP Core Type"
f558b275 138 depends on ARCH_OMAP2
1dbae815 139
59b479e0 140config SOC_OMAP2420
1dbae815 141 bool "OMAP2420 support"
f558b275 142 depends on ARCH_OMAP2
ffb63e34 143 default y
77900a2f 144 select OMAP_DM_TIMER
ecc46cfd 145 select SOC_HAS_OMAP2_SDRC
1dbae815 146
59b479e0 147config SOC_OMAP2430
72d0f1c3 148 bool "OMAP2430 support"
f558b275 149 depends on ARCH_OMAP2
ffb63e34 150 default y
ecc46cfd 151 select SOC_HAS_OMAP2_SDRC
72d0f1c3 152
59b479e0 153config SOC_OMAP3430
cc26b3b0 154 bool "OMAP3430 support"
f558b275 155 depends on ARCH_OMAP3
ffb63e34 156 default y
ecc46cfd 157 select SOC_HAS_OMAP2_SDRC
cc26b3b0 158
33959553 159config SOC_TI81XX
a920360f 160 bool "TI81XX support"
f558b275 161 depends on ARCH_OMAP3
4bd7be22
HP
162 default y
163
fc440461
TL
164config OMAP_PACKAGE_ZAF
165 bool
166
167config OMAP_PACKAGE_ZAC
168 bool
169
ddaa912a
TL
170config OMAP_PACKAGE_CBC
171 bool
172
173config OMAP_PACKAGE_CBB
174 bool
175
176config OMAP_PACKAGE_CUS
177 bool
178
662c8b55
TL
179config OMAP_PACKAGE_CBP
180 bool
181
1dbae815 182comment "OMAP Board Type"
f558b275 183 depends on ARCH_OMAP2PLUS
1dbae815
TL
184
185config MACH_OMAP_GENERIC
8d61649d 186 bool "Generic OMAP2+ board"
f558b275 187 depends on ARCH_OMAP2PLUS
ffb63e34 188 default y
8d61649d
BC
189 help
190 Support for generic TI OMAP2+ boards using Flattened Device Tree.
191 More information at Documentation/devicetree
1dbae815 192
1b52d5df
KV
193config MACH_OMAP2_TUSB6010
194 bool
59b479e0 195 depends on ARCH_OMAP2 && SOC_OMAP2420
1b52d5df
KV
196 default y if MACH_NOKIA_N8X0
197
1dbae815
TL
198config MACH_OMAP_H4
199 bool "OMAP 2420 H4 board"
59b479e0 200 depends on SOC_OMAP2420
ffb63e34 201 default y
f6049312 202 select OMAP_DEBUG_DEVICES
b1b3f49c 203 select OMAP_PACKAGE_ZAF
1dbae815 204
72d0f1c3
SMK
205config MACH_OMAP_2430SDP
206 bool "OMAP 2430 SDP board"
59b479e0 207 depends on SOC_OMAP2430
ffb63e34 208 default y
369ed78f 209 select OMAP_PACKAGE_ZAC
72d0f1c3 210
2885f000
SMK
211config MACH_OMAP3_BEAGLE
212 bool "OMAP3 BEAGLE board"
a8eb7ca0 213 depends on ARCH_OMAP3
ffb63e34 214 default y
ca5742bd 215 select OMAP_PACKAGE_CBB
2885f000 216
476544ca 217config MACH_DEVKIT8000
51824c5f
TW
218 bool "DEVKIT8000 board"
219 depends on ARCH_OMAP3
ffb63e34 220 default y
51824c5f 221 select OMAP_PACKAGE_CUS
476544ca 222
49265651
NK
223config MACH_OMAP_LDP
224 bool "OMAP3 LDP board"
a8eb7ca0 225 depends on ARCH_OMAP3
ffb63e34 226 default y
ca5742bd 227 select OMAP_PACKAGE_CBB
49265651 228
d40f3f15
TN
229config MACH_OMAP3530_LV_SOM
230 bool "OMAP3 Logic 3530 LV SOM board"
231 depends on ARCH_OMAP3
d40f3f15 232 default y
b1b3f49c 233 select OMAP_PACKAGE_CBB
d40f3f15
TN
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
239config MACH_OMAP3_TORPEDO
240 bool "OMAP3 Logic 35x Torpedo board"
241 depends on ARCH_OMAP3
d40f3f15 242 default y
b1b3f49c 243 select OMAP_PACKAGE_CBB
d40f3f15
TN
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
eba2645a
SS
249config MACH_OVERO
250 bool "Gumstix Overo board"
a8eb7ca0 251 depends on ARCH_OMAP3
ffb63e34 252 default y
ca5742bd 253 select OMAP_PACKAGE_CBB
da177247 254
53c5ec31
SMK
255config MACH_OMAP3EVM
256 bool "OMAP 3530 EVM board"
a8eb7ca0 257 depends on ARCH_OMAP3
ffb63e34 258 default y
342aa2c1 259 select OMAP_PACKAGE_CBB
53c5ec31 260
c625327e
RL
261config MACH_OMAP3517EVM
262 bool "OMAP3517/ AM3517 EVM board"
a8eb7ca0 263 depends on ARCH_OMAP3
ffb63e34 264 default y
ca5742bd 265 select OMAP_PACKAGE_CBB
c625327e 266
1cb125ca
S
267config MACH_CRANEBOARD
268 bool "AM3517/05 CRANE board"
269 depends on ARCH_OMAP3
270 select OMAP_PACKAGE_CBB
271
da177247
GI
272config MACH_OMAP3_PANDORA
273 bool "OMAP3 Pandora"
a8eb7ca0 274 depends on ARCH_OMAP3
ffb63e34 275 default y
ca5742bd 276 select OMAP_PACKAGE_CBB
a075ccc6 277 select REGULATOR_FIXED_VOLTAGE if REGULATOR
6fdc29e2 278
a17fb8f5 279config MACH_TOUCHBOOK
7a079cab 280 bool "OMAP3 Touch Book"
a8eb7ca0 281 depends on ARCH_OMAP3
ffb63e34 282 default y
a17fb8f5 283 select OMAP_PACKAGE_CBB
7a079cab 284
6fdc29e2
SMK
285config MACH_OMAP_3430SDP
286 bool "OMAP 3430 SDP board"
a8eb7ca0 287 depends on ARCH_OMAP3
ffb63e34 288 default y
ca5742bd 289 select OMAP_PACKAGE_CBB
ffe7f95b 290
d2fbf345
TL
291config MACH_NOKIA_N800
292 bool
293
294config MACH_NOKIA_N810
295 bool
296
297config MACH_NOKIA_N810_WIMAX
298 bool
299
63138812
KV
300config MACH_NOKIA_N8X0
301 bool "Nokia N800/N810"
59b479e0 302 depends on SOC_OMAP2420
ffb63e34 303 default y
d2fbf345
TL
304 select MACH_NOKIA_N800
305 select MACH_NOKIA_N810
306 select MACH_NOKIA_N810_WIMAX
b1b3f49c 307 select OMAP_PACKAGE_ZAC
63138812 308
2d200665 309config MACH_NOKIA_RM680
cc067797 310 bool "Nokia N950 (RM-680) / N9 (RM-696) phones"
2d200665
AK
311 depends on ARCH_OMAP3
312 default y
63fc5f3b 313 select MACH_NOKIA_RM696
b1b3f49c 314 select OMAP_PACKAGE_CBB
2d200665 315
ffe7f95b 316config MACH_NOKIA_RX51
cc067797 317 bool "Nokia N900 (RX-51) phone"
a8eb7ca0 318 depends on ARCH_OMAP3
ffb63e34 319 default y
ca5742bd 320 select OMAP_PACKAGE_CBB
577145f4
VP
321
322config MACH_OMAP_ZOOM2
323 bool "OMAP3 Zoom2 board"
a8eb7ca0 324 depends on ARCH_OMAP3
ffb63e34 325 default y
ca5742bd 326 select OMAP_PACKAGE_CBB
b1b3f49c 327 select REGULATOR_FIXED_VOLTAGE if REGULATOR
46ba0abf 328
5f35fbe8 329config MACH_OMAP_ZOOM3
330 bool "OMAP3630 Zoom3 board"
a8eb7ca0 331 depends on ARCH_OMAP3
ffb63e34 332 default y
662c8b55 333 select OMAP_PACKAGE_CBP
b1b3f49c 334 select REGULATOR_FIXED_VOLTAGE if REGULATOR
5f35fbe8 335
2886d128 336config MACH_CM_T35
c3146974 337 bool "CompuLab CM-T35/CM-T3730 modules"
a8eb7ca0 338 depends on ARCH_OMAP3
ffb63e34 339 default y
c3146974 340 select MACH_CM_T3730
ca5742bd 341 select OMAP_PACKAGE_CUS
2886d128 342
d04b620e
IG
343config MACH_CM_T3517
344 bool "CompuLab CM-T3517 module"
345 depends on ARCH_OMAP3
346 default y
347 select OMAP_PACKAGE_CBB
d04b620e 348
c3146974
IG
349config MACH_CM_T3730
350 bool
351
58e11162 352config MACH_IGEP0020
28e0f13c 353 bool "IGEP v2 board"
a8eb7ca0 354 depends on ARCH_OMAP3
ffb63e34 355 default y
ca5742bd 356 select OMAP_PACKAGE_CBB
58e11162 357
e844b1da
EBS
358config MACH_IGEP0030
359 bool "IGEP OMAP3 module"
360 depends on ARCH_OMAP3
361 default y
7be13ad0 362 select MACH_IGEP0020
b1b3f49c 363 select OMAP_PACKAGE_CBB
e844b1da 364
9cbc3493
J
365config MACH_SBC3530
366 bool "OMAP3 SBC STALKER board"
367 depends on ARCH_OMAP3
ffb63e34 368 default y
9cbc3493 369 select OMAP_PACKAGE_CUS
9cbc3493 370
34c9ac23 371config MACH_OMAP_3630SDP
372 bool "OMAP3630 SDP board"
a8eb7ca0 373 depends on ARCH_OMAP3
ffb63e34 374 default y
662c8b55 375 select OMAP_PACKAGE_CBP
34c9ac23 376
2c87fb2e
HP
377config MACH_TI8168EVM
378 bool "TI8168 Evaluation Module"
33959553 379 depends on SOC_TI81XX
2c87fb2e 380 default y
a890b676
HP
381
382config MACH_TI8148EVM
383 bool "TI8148 Evaluation Module"
33959553 384 depends on SOC_TI81XX
a890b676 385 default y
2c87fb2e 386
183bd50f
AS
387config OMAP3_EMU
388 bool "OMAP3 debugging peripherals"
389 depends on ARCH_OMAP3
a8a6565c 390 select ARM_AMBA
183bd50f
AS
391 select OC_ETM
392 help
393 Say Y here to enable debugging hardware of omap3
394
18862cbe
PW
395config OMAP3_SDRC_AC_TIMING
396 bool "Enable SDRC AC timing register changes"
a8eb7ca0 397 depends on ARCH_OMAP3
18862cbe
PW
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
137d105d 407config OMAP4_ERRATA_I688
2ec1fc4e 408 bool "OMAP4 errata: Async Bridge Corruption"
1348bbf9 409 depends on (ARCH_OMAP4 || SOC_OMAP5) && !ARCH_MULTIPLATFORM
137d105d
SS
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.
4a54db61
TL
428endmenu
429
430endif