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