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