]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/arm/mach-s3c24xx/Kconfig
Merge branch 'next/fixes-samsung' of git://git.kernel.org/pub/scm/linux/kernel/git...
[karo-tx-linux.git] / arch / arm / mach-s3c24xx / Kconfig
1 # arch/arm/mach-s3c24xx/Kconfig
2 #
3 # Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 #               http://www.samsung.com/
5 #
6 # Copyright 2007 Simtec Electronics
7 #
8 # Licensed under GPLv2
9
10 if ARCH_S3C24XX
11
12 menu "SAMSUNG S3C24XX SoCs Support"
13
14 comment "S3C24XX SoCs"
15
16 config CPU_S3C2410
17         bool "SAMSUNG S3C2410"
18         default y
19         select CPU_ARM920T
20         select CPU_LLSERIAL_S3C2410
21         select S3C2410_CLOCK
22         select S3C2410_CPUFREQ if CPU_FREQ_S3C24XX
23         select S3C2410_PM if PM
24         help
25           Support for S3C2410 and S3C2410A family from the S3C24XX line
26           of Samsung Mobile CPUs.
27
28 config CPU_S3C2412
29         bool "SAMSUNG S3C2412"
30         depends on ARCH_S3C24XX
31         select CPU_ARM926T
32         select CPU_LLSERIAL_S3C2440
33         select S3C2412_DMA if S3C24XX_DMA
34         select S3C2412_PM if PM
35         help
36           Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
37
38 config CPU_S3C2416
39         bool "SAMSUNG S3C2416/S3C2450"
40         depends on ARCH_S3C24XX
41         select CPU_ARM926T
42         select CPU_LLSERIAL_S3C2440
43         select S3C2416_PM if PM
44         select S3C2443_COMMON
45         select S3C2443_DMA if S3C24XX_DMA
46         select SAMSUNG_CLKSRC
47         help
48           Support for the S3C2416 SoC from the S3C24XX line
49
50 config CPU_S3C2440
51         bool "SAMSUNG S3C2440"
52         select CPU_ARM920T
53         select CPU_LLSERIAL_S3C2440
54         select S3C2410_CLOCK
55         select S3C2410_PM if PM
56         select S3C2440_DMA if S3C24XX_DMA
57         help
58           Support for S3C2440 Samsung Mobile CPU based systems.
59
60 config CPU_S3C2442
61         bool "SAMSUNG S3C2442"
62         select CPU_ARM920T
63         select CPU_LLSERIAL_S3C2440
64         select S3C2410_CLOCK
65         select S3C2410_PM if PM
66         help
67           Support for S3C2442 Samsung Mobile CPU based systems.
68
69 config CPU_S3C244X
70         def_bool y
71         depends on CPU_S3C2440 || CPU_S3C2442
72
73 config CPU_S3C2443
74         bool "SAMSUNG S3C2443"
75         depends on ARCH_S3C24XX
76         select CPU_ARM920T
77         select CPU_LLSERIAL_S3C2440
78         select S3C2443_COMMON
79         select S3C2443_DMA if S3C24XX_DMA
80         select SAMSUNG_CLKSRC
81         help
82           Support for the S3C2443 SoC from the S3C24XX line
83
84 # common code
85
86 config S3C24XX_SMDK
87         bool
88         help
89           Common machine code for SMDK2410 and SMDK2440
90
91 config S3C24XX_SIMTEC_AUDIO
92         bool
93         depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
94         default y
95         help
96           Add audio devices for common Simtec S3C24XX boards
97
98 config S3C24XX_SIMTEC_PM
99         bool
100         help
101           Common power management code for systems that are
102           compatible with the Simtec style of power management
103
104 config S3C24XX_SIMTEC_USB
105         bool
106         help
107           USB management code for common Simtec S3C24XX boards
108
109 config S3C24XX_SETUP_TS
110         bool
111         help
112           Compile in platform device definition for Samsung TouchScreen.
113
114 config S3C2410_DMA
115         bool
116         depends on S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442)
117         default y if CPU_S3C2410 || CPU_S3C2442
118         help
119           DMA device selection for S3C2410 and compatible CPUs
120
121 config S3C2410_PM
122         bool
123         help
124           Power Management code common to S3C2410 and better
125
126 # cpu-specific sections
127
128 if CPU_S3C2410
129
130 config S3C24XX_SIMTEC_NOR
131         bool
132         help
133           Internal node to specify machine has simtec NOR mapping
134
135 config MACH_BAST_IDE
136         bool
137         select HAVE_PATA_PLATFORM
138         help
139           Internal node for machines with an BAST style IDE
140           interface
141
142 comment "S3C2410 Boards"
143
144 #
145 # The "S3C2410 Boards" list is ordered alphabetically by option text.
146 # (without ARCH_ or MACH_)
147 #
148
149 config MACH_AML_M5900
150         bool "AML M5900 Series"
151         select S3C24XX_SIMTEC_PM if PM
152         select S3C_DEV_USB_HOST
153         help
154           Say Y here if you are using the American Microsystems M5900 Series
155           <http://www.amltd.com>
156
157 config ARCH_BAST
158         bool "Simtec Electronics BAST (EB2410ITX)"
159         select ISA
160         select MACH_BAST_IDE
161         select S3C2410_IOTIMING if S3C2410_CPUFREQ
162         select S3C24XX_DCLK
163         select S3C24XX_SIMTEC_NOR
164         select S3C24XX_SIMTEC_PM if PM
165         select S3C24XX_SIMTEC_USB
166         select S3C_DEV_HWMON
167         select S3C_DEV_NAND
168         select S3C_DEV_USB_HOST
169         help
170           Say Y here if you are using the Simtec Electronics EB2410ITX
171           development board (also known as BAST)
172
173 config BAST_PC104_IRQ
174         bool "BAST PC104 IRQ support"
175         depends on ARCH_BAST
176         default y
177         help
178           Say Y here to enable the PC104 IRQ routing on the
179           Simtec BAST (EB2410ITX)
180
181 config ARCH_H1940
182         bool "IPAQ H1940"
183         select PM_H1940 if PM
184         select S3C24XX_SETUP_TS
185         select S3C_DEV_NAND
186         select S3C_DEV_USB_HOST
187         help
188           Say Y here if you are using the HP IPAQ H1940
189
190 config H1940BT
191         tristate "Control the state of H1940 bluetooth chip"
192         depends on ARCH_H1940
193         select RFKILL
194         help
195           This is a simple driver that is able to control
196           the state of built in bluetooth chip on h1940.
197
198 config PM_H1940
199         bool
200         help
201           Internal node for H1940 and related PM
202
203 config MACH_N30
204         bool "Acer N30 family"
205         select MACH_N35
206         select S3C_DEV_NAND
207         select S3C_DEV_USB_HOST
208         help
209           Say Y here if you want suppt for the Acer N30, Acer N35,
210           Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
211
212 config MACH_OTOM
213         bool "NexVision OTOM Board"
214         select S3C_DEV_NAND
215         select S3C_DEV_USB_HOST
216         help
217           Say Y here if you are using the Nex Vision OTOM board
218
219 config MACH_QT2410
220         bool "QT2410"
221         select S3C_DEV_NAND
222         select S3C_DEV_USB_HOST
223         help
224           Say Y here if you are using the Armzone QT2410
225
226 config ARCH_SMDK2410
227         bool "SMDK2410/A9M2410"
228         select S3C24XX_SMDK
229         select S3C_DEV_USB_HOST
230         help
231           Say Y here if you are using the SMDK2410 or the derived module A9M2410
232           <http://www.fsforth.de>
233
234 config MACH_TCT_HAMMER
235         bool "TCT Hammer Board"
236         select S3C_DEV_USB_HOST
237         help
238           Say Y here if you are using the TinCanTools Hammer Board
239           <http://www.tincantools.com>
240
241 config MACH_VR1000
242         bool "Thorcom VR1000"
243         select MACH_BAST_IDE
244         select S3C24XX_DCLK
245         select S3C24XX_SIMTEC_NOR
246         select S3C24XX_SIMTEC_PM if PM
247         select S3C24XX_SIMTEC_USB
248         select S3C_DEV_USB_HOST
249         help
250           Say Y here if you are using the Thorcom VR1000 board.
251
252 endif   # CPU_S3C2410
253
254 config S3C2412_PM_SLEEP
255         bool
256         help
257           Internal config node to apply sleep for S3C2412 power management.
258           Can be selected by another SoCs such as S3C2416 with similar
259           sleep procedure.
260
261 if CPU_S3C2412
262
263 config CPU_S3C2412_ONLY
264         bool
265         depends on ARCH_S3C24XX && !CPU_S3C2410 && \
266                    !CPU_S3C2416 && !CPU_S3C2440 && !CPU_S3C2442 && \
267                    !CPU_S3C2443 && CPU_S3C2412
268         default y
269
270 config S3C2412_DMA
271         bool
272         help
273           Internal config node for S3C2412 DMA support
274
275 config S3C2412_PM
276         bool
277         select S3C2412_PM_SLEEP
278         help
279           Internal config node to apply S3C2412 power management
280
281 comment "S3C2412 Boards"
282
283 #
284 # The "S3C2412 Boards" list is ordered alphabetically by option text.
285 # (without ARCH_ or MACH_)
286 #
287
288 config MACH_JIVE
289         bool "Logitech Jive"
290         select S3C_DEV_NAND
291         select S3C_DEV_USB_HOST
292         help
293           Say Y here if you are using the Logitech Jive.
294
295 config MACH_JIVE_SHOW_BOOTLOADER
296         bool "Allow access to bootloader partitions in MTD (EXPERIMENTAL)"
297         depends on MACH_JIVE && EXPERIMENTAL
298
299 config MACH_S3C2413
300         bool
301         help
302           Internal node for S3C2413 version of SMDK2413, so that
303           machine_is_s3c2413() will work when MACH_SMDK2413 is
304           selected
305
306 config MACH_SMDK2412
307         bool "SMDK2412"
308         select MACH_SMDK2413
309         help
310           Say Y here if you are using an SMDK2412
311
312           Note, this shares support with SMDK2413, so will automatically
313           select MACH_SMDK2413.
314
315 config MACH_SMDK2413
316         bool "SMDK2413"
317         select MACH_S3C2413
318         select S3C24XX_SMDK
319         select S3C_DEV_NAND
320         select S3C_DEV_USB_HOST
321         help
322           Say Y here if you are using an SMDK2413
323
324 config MACH_VSTMS
325         bool "VMSTMS"
326         select S3C_DEV_NAND
327         select S3C_DEV_USB_HOST
328         help
329           Say Y here if you are using an VSTMS board
330
331 endif   # CPU_S3C2412
332
333 if CPU_S3C2416
334
335 config S3C2416_PM
336         bool
337         select S3C2412_PM_SLEEP
338         help
339           Internal config node to apply S3C2416 power management
340
341 config S3C2416_SETUP_SDHCI
342         bool
343         select S3C2416_SETUP_SDHCI_GPIO
344         help
345           Internal helper functions for S3C2416 based SDHCI systems
346
347 config S3C2416_SETUP_SDHCI_GPIO
348         bool
349         help
350           Common setup code for SDHCI gpio.
351
352 comment "S3C2416 Boards"
353
354 config MACH_SMDK2416
355         bool "SMDK2416"
356         select S3C2416_SETUP_SDHCI
357         select S3C24XX_SMDK
358         select S3C_DEV_FB
359         select S3C_DEV_HSMMC
360         select S3C_DEV_HSMMC1
361         select S3C_DEV_NAND
362         select S3C_DEV_USB_HOST
363         help
364           Say Y here if you are using an SMDK2416
365
366 endif   # CPU_S3C2416
367
368 if CPU_S3C2440
369
370 config S3C2440_DMA
371         bool
372         help
373           Support for S3C2440 specific DMA code5A
374
375 comment "S3C2440 Boards"
376
377 #
378 # The "S3C2440 Boards" list is ordered alphabetically by option text.
379 # (without ARCH_ or MACH_)
380 #
381
382 config MACH_ANUBIS
383         bool "Simtec Electronics ANUBIS"
384         select HAVE_PATA_PLATFORM
385         select S3C2440_XTAL_12000000
386         select S3C24XX_DCLK
387         select S3C24XX_GPIO_EXTRA64
388         select S3C24XX_SIMTEC_PM if PM
389         select S3C_DEV_USB_HOST
390         help
391           Say Y here if you are using the Simtec Electronics ANUBIS
392           development system
393
394 config MACH_AT2440EVB
395         bool "Avantech AT2440EVB development board"
396         select S3C_DEV_NAND
397         select S3C_DEV_USB_HOST
398         help
399           Say Y here if you are using the AT2440EVB development board
400
401 config MACH_MINI2440
402         bool "MINI2440 development board"
403         select EEPROM_AT24
404         select LEDS_CLASS
405         select LEDS_TRIGGERS
406         select LEDS_TRIGGER_BACKLIGHT
407         select NEW_LEDS
408         select S3C_DEV_NAND
409         select S3C_DEV_USB_HOST
410         select S3C_SETUP_CAMIF
411         help
412           Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
413           available via various sources. It can come with a 3.5" or 7" touch LCD.
414
415 config MACH_NEXCODER_2440
416         bool "NexVision NEXCODER 2440 Light Board"
417         select S3C2440_XTAL_12000000
418         select S3C_DEV_NAND
419         select S3C_DEV_USB_HOST
420         help
421           Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
422
423 config MACH_OSIRIS
424         bool "Simtec IM2440D20 (OSIRIS) module"
425         select S3C2410_IOTIMING if S3C2440_CPUFREQ
426         select S3C2440_XTAL_12000000
427         select S3C24XX_DCLK
428         select S3C24XX_GPIO_EXTRA128
429         select S3C24XX_SIMTEC_PM if PM
430         select S3C_DEV_NAND
431         select S3C_DEV_USB_HOST
432         help
433           Say Y here if you are using the Simtec IM2440D20 module, also
434           known as the Osiris.
435
436 config MACH_OSIRIS_DVS
437         tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
438         depends on MACH_OSIRIS
439         select TPS65010
440         help
441           Say Y/M here if you want to have dynamic voltage scaling support
442           on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
443
444           The DVS driver alters the voltage supplied to the ARM core
445           depending on the frequency it is running at. The driver itself
446           does not do any of the frequency alteration, which is left up
447           to the cpufreq driver.
448
449 config MACH_RX3715
450         bool "HP iPAQ rx3715"
451         select PM_H1940 if PM
452         select S3C2440_XTAL_16934400
453         select S3C_DEV_NAND
454         help
455           Say Y here if you are using the HP iPAQ rx3715.
456
457 config ARCH_S3C2440
458         bool "SMDK2440"
459         select S3C2440_XTAL_16934400
460         select S3C24XX_SMDK
461         select S3C_DEV_NAND
462         select S3C_DEV_USB_HOST
463         help
464           Say Y here if you are using the SMDK2440.
465
466 config SMDK2440_CPU2440
467         bool "SMDK2440 with S3C2440 CPU module"
468         default y if ARCH_S3C2440
469         select S3C2440_XTAL_16934400
470
471 endif   # CPU_S3C2440
472
473 if CPU_S3C2442
474
475 comment "S3C2442 Boards"
476
477 #
478 # The "S3C2442 Boards" list is ordered alphabetically by option text.
479 # (without ARCH_ or MACH_)
480 #
481
482 config MACH_NEO1973_GTA02
483         bool "Openmoko GTA02 / Freerunner phone"
484         select I2C
485         select MACH_NEO1973
486         select MFD_PCF50633
487         select PCF50633_GPIO
488         select POWER_SUPPLY
489         select S3C24XX_PWM
490         select S3C_DEV_USB_HOST
491         help
492            Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
493
494 config MACH_RX1950
495         bool "HP iPAQ rx1950"
496         select I2C
497         select PM_H1940 if PM
498         select S3C2410_IOTIMING if S3C2440_CPUFREQ
499         select S3C2440_XTAL_16934400
500         select S3C24XX_DCLK
501         select S3C24XX_PWM
502         select S3C_DEV_NAND
503         help
504            Say Y here if you're using HP iPAQ rx1950
505
506 config SMDK2440_CPU2442
507         bool "SMDM2440 with S3C2442 CPU module"
508
509 endif   # CPU_S3C2440
510
511 if CPU_S3C2443 || CPU_S3C2416
512
513 config S3C2443_COMMON
514         bool
515         help
516           Common code for the S3C2443 and similar processors, which includes
517           the S3C2416 and S3C2450.
518
519 config S3C2443_DMA
520         bool
521         help
522           Internal config node for S3C2443 DMA support
523
524 config S3C2443_SETUP_SPI
525         bool
526         help
527           Common setup code for SPI GPIO configurations
528
529 endif   # CPU_S3C2443 || CPU_S3C2416
530
531 if CPU_S3C2443
532
533 comment "S3C2443 Boards"
534
535 config MACH_SMDK2443
536         bool "SMDK2443"
537         select S3C24XX_SMDK
538         select S3C_DEV_HSMMC1
539         help
540           Say Y here if you are using an SMDK2443
541
542 endif   # CPU_S3C2443
543
544 endmenu # SAMSUNG S3C24XX SoCs Support
545
546 endif   # ARCH_S3C24XX