ARM: S3C24XX: remove unneeded "config SMDK2440_CPU2442"
[cascardo/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 config PLAT_S3C24XX
13         def_bool y
14         select ARCH_REQUIRE_GPIOLIB
15         select NO_IOPORT
16         select S3C_DEV_NAND
17         select IRQ_DOMAIN
18         help
19           Base platform code for any Samsung S3C24XX device
20
21 menu "SAMSUNG S3C24XX SoCs Support"
22
23 comment "S3C24XX SoCs"
24
25 config CPU_S3C2410
26         bool "SAMSUNG S3C2410"
27         default y
28         select CPU_ARM920T
29         select CPU_LLSERIAL_S3C2410
30         select S3C2410_CLOCK
31         select S3C2410_CPUFREQ if CPU_FREQ_S3C24XX
32         select S3C2410_PM if PM
33         help
34           Support for S3C2410 and S3C2410A family from the S3C24XX line
35           of Samsung Mobile CPUs.
36
37 config CPU_S3C2412
38         bool "SAMSUNG S3C2412"
39         depends on ARCH_S3C24XX
40         select CPU_ARM926T
41         select CPU_LLSERIAL_S3C2440
42         select S3C2412_DMA if S3C24XX_DMA
43         select S3C2412_PM if PM
44         help
45           Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
46
47 config CPU_S3C2416
48         bool "SAMSUNG S3C2416/S3C2450"
49         depends on ARCH_S3C24XX
50         select CPU_ARM926T
51         select CPU_LLSERIAL_S3C2440
52         select S3C2416_PM if PM
53         select S3C2443_COMMON
54         select S3C2443_DMA if S3C24XX_DMA
55         select SAMSUNG_CLKSRC
56         help
57           Support for the S3C2416 SoC from the S3C24XX line
58
59 config CPU_S3C2440
60         bool "SAMSUNG S3C2440"
61         select CPU_ARM920T
62         select CPU_LLSERIAL_S3C2440
63         select S3C2410_CLOCK
64         select S3C2410_PM if PM
65         select S3C2440_DMA if S3C24XX_DMA
66         help
67           Support for S3C2440 Samsung Mobile CPU based systems.
68
69 config CPU_S3C2442
70         bool "SAMSUNG S3C2442"
71         select CPU_ARM920T
72         select CPU_LLSERIAL_S3C2440
73         select S3C2410_CLOCK
74         select S3C2410_PM if PM
75         help
76           Support for S3C2442 Samsung Mobile CPU based systems.
77
78 config CPU_S3C244X
79         def_bool y
80         depends on CPU_S3C2440 || CPU_S3C2442
81
82 config CPU_S3C2443
83         bool "SAMSUNG S3C2443"
84         depends on ARCH_S3C24XX
85         select CPU_ARM920T
86         select CPU_LLSERIAL_S3C2440
87         select S3C2443_COMMON
88         select S3C2443_DMA if S3C24XX_DMA
89         select SAMSUNG_CLKSRC
90         help
91           Support for the S3C2443 SoC from the S3C24XX line
92
93 # common code
94
95 config S3C2410_CLOCK
96         bool
97         help
98           Clock code for the S3C2410, and similar processors which
99           is currently includes the S3C2410, S3C2440, S3C2442.
100
101 config S3C24XX_DCLK
102         bool
103         help
104           Clock code for supporting DCLK/CLKOUT on S3C24XX architectures
105
106 config S3C24XX_SMDK
107         bool
108         help
109           Common machine code for SMDK2410 and SMDK2440
110
111 config S3C24XX_SIMTEC_AUDIO
112         bool
113         depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
114         default y
115         help
116           Add audio devices for common Simtec S3C24XX boards
117
118 config S3C24XX_SIMTEC_PM
119         bool
120         help
121           Common power management code for systems that are
122           compatible with the Simtec style of power management
123
124 config S3C24XX_SIMTEC_USB
125         bool
126         help
127           USB management code for common Simtec S3C24XX boards
128
129 config S3C24XX_SETUP_TS
130         bool
131         help
132           Compile in platform device definition for Samsung TouchScreen.
133
134 config S3C24XX_DMA
135         bool "S3C2410 DMA support"
136         depends on ARCH_S3C24XX
137         select S3C_DMA
138         help
139           S3C2410 DMA support. This is needed for drivers like sound which
140           use the S3C2410's DMA system to move data to and from the
141           peripheral blocks.
142
143 config S3C2410_DMA_DEBUG
144         bool "S3C2410 DMA support debug"
145         depends on ARCH_S3C24XX && S3C2410_DMA
146         help
147           Enable debugging output for the DMA code. This option sends info
148           to the kernel log, at priority KERN_DEBUG.
149
150 config S3C2410_DMA
151         bool
152         depends on S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442)
153         default y if CPU_S3C2410 || CPU_S3C2442
154         help
155           DMA device selection for S3C2410 and compatible CPUs
156
157 config S3C2410_PM
158         bool
159         help
160           Power Management code common to S3C2410 and better
161
162 # low-level serial option nodes
163
164 config CPU_LLSERIAL_S3C2410_ONLY
165         bool
166         default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
167
168 config CPU_LLSERIAL_S3C2440_ONLY
169         bool
170         default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
171
172 config CPU_LLSERIAL_S3C2410
173         bool
174         help
175           Selected if there is an S3C2410 (or register compatible) serial
176           low-level implementation needed
177
178 config CPU_LLSERIAL_S3C2440
179         bool
180         help
181           Selected if there is an S3C2440 (or register compatible) serial
182           low-level implementation needed
183
184 # gpio configurations
185
186 config S3C24XX_GPIO_EXTRA
187         int
188         default 128 if S3C24XX_GPIO_EXTRA128
189         default 64 if S3C24XX_GPIO_EXTRA64
190         default 16 if ARCH_H1940
191         default 0
192
193 config S3C24XX_GPIO_EXTRA64
194         bool
195         help
196           Add an extra 64 gpio numbers to the available GPIO pool. This is
197           available for boards that need extra gpios for external devices.
198
199 config S3C24XX_GPIO_EXTRA128
200         bool
201         help
202           Add an extra 128 gpio numbers to the available GPIO pool. This is
203           available for boards that need extra gpios for external devices.
204
205 # cpu frequency items common between s3c2410 and s3c2440/s3c2442
206
207 config S3C2410_IOTIMING
208         bool
209         depends on CPU_FREQ_S3C24XX
210         help
211           Internal node to select io timing code that is common to the s3c2410
212           and s3c2440/s3c2442 cpu frequency support.
213
214 config S3C2410_CPUFREQ_UTILS
215         bool
216         depends on CPU_FREQ_S3C24XX
217         help
218           Internal node to select timing code that is common to the s3c2410
219           and s3c2440/s3c244 cpu frequency support.
220
221 # cpu frequency support common to s3c2412, s3c2413 and s3c2442
222
223 config S3C2412_IOTIMING
224         bool
225         depends on CPU_FREQ_S3C24XX && (CPU_S3C2412 || CPU_S3C2443)
226         help
227           Intel node to select io timing code that is common to the s3c2412
228           and the s3c2443.
229
230 # cpu-specific sections
231
232 if CPU_S3C2410
233
234 config S3C2410_CPUFREQ
235         bool
236         depends on CPU_FREQ_S3C24XX && CPU_S3C2410
237         select S3C2410_CPUFREQ_UTILS
238         help
239           CPU Frequency scaling support for S3C2410
240
241 config S3C2410_PLL
242         bool
243         depends on S3C2410_CPUFREQ && CPU_FREQ_S3C24XX_PLL
244         default y
245         help
246           Select the PLL table for the S3C2410
247
248 config S3C24XX_SIMTEC_NOR
249         bool
250         help
251           Internal node to specify machine has simtec NOR mapping
252
253 config MACH_BAST_IDE
254         bool
255         select HAVE_PATA_PLATFORM
256         help
257           Internal node for machines with an BAST style IDE
258           interface
259
260 comment "S3C2410 Boards"
261
262 #
263 # The "S3C2410 Boards" list is ordered alphabetically by option text.
264 # (without ARCH_ or MACH_)
265 #
266
267 config MACH_AML_M5900
268         bool "AML M5900 Series"
269         select S3C24XX_SIMTEC_PM if PM
270         select S3C_DEV_USB_HOST
271         help
272           Say Y here if you are using the American Microsystems M5900 Series
273           <http://www.amltd.com>
274
275 config ARCH_BAST
276         bool "Simtec Electronics BAST (EB2410ITX)"
277         select ISA
278         select MACH_BAST_IDE
279         select S3C2410_IOTIMING if S3C2410_CPUFREQ
280         select S3C24XX_DCLK
281         select S3C24XX_SIMTEC_NOR
282         select S3C24XX_SIMTEC_PM if PM
283         select S3C24XX_SIMTEC_USB
284         select S3C_DEV_HWMON
285         select S3C_DEV_NAND
286         select S3C_DEV_USB_HOST
287         help
288           Say Y here if you are using the Simtec Electronics EB2410ITX
289           development board (also known as BAST)
290
291 config BAST_PC104_IRQ
292         bool "BAST PC104 IRQ support"
293         depends on ARCH_BAST
294         default y
295         help
296           Say Y here to enable the PC104 IRQ routing on the
297           Simtec BAST (EB2410ITX)
298
299 config ARCH_H1940
300         bool "IPAQ H1940"
301         select PM_H1940 if PM
302         select S3C24XX_SETUP_TS
303         select S3C_DEV_NAND
304         select S3C_DEV_USB_HOST
305         help
306           Say Y here if you are using the HP IPAQ H1940
307
308 config H1940BT
309         tristate "Control the state of H1940 bluetooth chip"
310         depends on ARCH_H1940
311         select RFKILL
312         help
313           This is a simple driver that is able to control
314           the state of built in bluetooth chip on h1940.
315
316 config PM_H1940
317         bool
318         help
319           Internal node for H1940 and related PM
320
321 config MACH_N30
322         bool "Acer N30 family"
323         select S3C_DEV_NAND
324         select S3C_DEV_USB_HOST
325         help
326           Say Y here if you want suppt for the Acer N30, Acer N35,
327           Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
328
329 config MACH_OTOM
330         bool "NexVision OTOM Board"
331         select S3C_DEV_NAND
332         select S3C_DEV_USB_HOST
333         help
334           Say Y here if you are using the Nex Vision OTOM board
335
336 config MACH_QT2410
337         bool "QT2410"
338         select S3C_DEV_NAND
339         select S3C_DEV_USB_HOST
340         help
341           Say Y here if you are using the Armzone QT2410
342
343 config ARCH_SMDK2410
344         bool "SMDK2410/A9M2410"
345         select S3C24XX_SMDK
346         select S3C_DEV_USB_HOST
347         help
348           Say Y here if you are using the SMDK2410 or the derived module A9M2410
349           <http://www.fsforth.de>
350
351 config MACH_TCT_HAMMER
352         bool "TCT Hammer Board"
353         select S3C_DEV_USB_HOST
354         help
355           Say Y here if you are using the TinCanTools Hammer Board
356           <http://www.tincantools.com>
357
358 config MACH_VR1000
359         bool "Thorcom VR1000"
360         select MACH_BAST_IDE
361         select S3C24XX_DCLK
362         select S3C24XX_SIMTEC_NOR
363         select S3C24XX_SIMTEC_PM if PM
364         select S3C24XX_SIMTEC_USB
365         select S3C_DEV_USB_HOST
366         help
367           Say Y here if you are using the Thorcom VR1000 board.
368
369 endif   # CPU_S3C2410
370
371 config S3C2412_PM_SLEEP
372         bool
373         help
374           Internal config node to apply sleep for S3C2412 power management.
375           Can be selected by another SoCs such as S3C2416 with similar
376           sleep procedure.
377
378 if CPU_S3C2412
379
380 config CPU_S3C2412_ONLY
381         bool
382         depends on ARCH_S3C24XX && !CPU_S3C2410 && \
383                    !CPU_S3C2416 && !CPU_S3C2440 && !CPU_S3C2442 && \
384                    !CPU_S3C2443 && CPU_S3C2412
385         default y
386
387 config S3C2412_CPUFREQ
388         bool
389         depends on CPU_FREQ_S3C24XX && CPU_S3C2412
390         default y
391         select S3C2412_IOTIMING
392         help
393           CPU Frequency scaling support for S3C2412 and S3C2413 SoC CPUs.
394
395 config S3C2412_DMA
396         bool
397         help
398           Internal config node for S3C2412 DMA support
399
400 config S3C2412_PM
401         bool
402         select S3C2412_PM_SLEEP
403         help
404           Internal config node to apply S3C2412 power management
405
406 comment "S3C2412 Boards"
407
408 #
409 # The "S3C2412 Boards" list is ordered alphabetically by option text.
410 # (without ARCH_ or MACH_)
411 #
412
413 config MACH_JIVE
414         bool "Logitech Jive"
415         select S3C_DEV_NAND
416         select S3C_DEV_USB_HOST
417         help
418           Say Y here if you are using the Logitech Jive.
419
420 config MACH_JIVE_SHOW_BOOTLOADER
421         bool "Allow access to bootloader partitions in MTD"
422         depends on MACH_JIVE
423
424 config MACH_S3C2413
425         bool
426         help
427           Internal node for S3C2413 version of SMDK2413, so that
428           machine_is_s3c2413() will work when MACH_SMDK2413 is
429           selected
430
431 config MACH_SMDK2412
432         bool "SMDK2412"
433         select MACH_SMDK2413
434         help
435           Say Y here if you are using an SMDK2412
436
437           Note, this shares support with SMDK2413, so will automatically
438           select MACH_SMDK2413.
439
440 config MACH_SMDK2413
441         bool "SMDK2413"
442         select MACH_S3C2413
443         select S3C24XX_SMDK
444         select S3C_DEV_NAND
445         select S3C_DEV_USB_HOST
446         help
447           Say Y here if you are using an SMDK2413
448
449 config MACH_VSTMS
450         bool "VMSTMS"
451         select S3C_DEV_NAND
452         select S3C_DEV_USB_HOST
453         help
454           Say Y here if you are using an VSTMS board
455
456 endif   # CPU_S3C2412
457
458 if CPU_S3C2416
459
460 config S3C2416_PM
461         bool
462         select S3C2412_PM_SLEEP
463         help
464           Internal config node to apply S3C2416 power management
465
466 config S3C2416_SETUP_SDHCI
467         bool
468         select S3C2416_SETUP_SDHCI_GPIO
469         help
470           Internal helper functions for S3C2416 based SDHCI systems
471
472 config S3C2416_SETUP_SDHCI_GPIO
473         bool
474         help
475           Common setup code for SDHCI gpio.
476
477 comment "S3C2416 Boards"
478
479 config MACH_SMDK2416
480         bool "SMDK2416"
481         select S3C2416_SETUP_SDHCI
482         select S3C24XX_SMDK
483         select S3C_DEV_FB
484         select S3C_DEV_HSMMC
485         select S3C_DEV_HSMMC1
486         select S3C_DEV_NAND
487         select S3C_DEV_USB_HOST
488         help
489           Say Y here if you are using an SMDK2416
490
491 endif   # CPU_S3C2416
492
493 if CPU_S3C2440
494
495 config S3C2440_CPUFREQ
496         bool "S3C2440/S3C2442 CPU Frequency scaling support"
497         depends on CPU_FREQ_S3C24XX && (CPU_S3C2440 || CPU_S3C2442)
498         default y
499         select S3C2410_CPUFREQ_UTILS
500         help
501           CPU Frequency scaling support for S3C2440 and S3C2442 SoC CPUs.
502
503 config S3C2440_DMA
504         bool
505         help
506           Support for S3C2440 specific DMA code5A
507
508 config S3C2440_XTAL_12000000
509         bool
510         help
511           Indicate that the build needs to support 12MHz system
512           crystal.
513
514 config S3C2440_XTAL_16934400
515         bool
516         help
517           Indicate that the build needs to support 16.9344MHz system
518           crystal.
519
520 config S3C2440_PLL_12000000
521         bool
522         depends on S3C2440_CPUFREQ && S3C2440_XTAL_12000000
523         default y if CPU_FREQ_S3C24XX_PLL
524         help
525           PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
526
527 config S3C2440_PLL_16934400
528         bool
529         depends on S3C2440_CPUFREQ && S3C2440_XTAL_16934400
530         default y if CPU_FREQ_S3C24XX_PLL
531         help
532           PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
533
534 comment "S3C2440 Boards"
535
536 #
537 # The "S3C2440 Boards" list is ordered alphabetically by option text.
538 # (without ARCH_ or MACH_)
539 #
540
541 config MACH_ANUBIS
542         bool "Simtec Electronics ANUBIS"
543         select HAVE_PATA_PLATFORM
544         select S3C2440_XTAL_12000000
545         select S3C24XX_DCLK
546         select S3C24XX_GPIO_EXTRA64
547         select S3C24XX_SIMTEC_PM if PM
548         select S3C_DEV_USB_HOST
549         help
550           Say Y here if you are using the Simtec Electronics ANUBIS
551           development system
552
553 config MACH_AT2440EVB
554         bool "Avantech AT2440EVB development board"
555         select S3C_DEV_NAND
556         select S3C_DEV_USB_HOST
557         help
558           Say Y here if you are using the AT2440EVB development board
559
560 config MACH_MINI2440
561         bool "MINI2440 development board"
562         select EEPROM_AT24
563         select LEDS_CLASS
564         select LEDS_TRIGGERS
565         select LEDS_TRIGGER_BACKLIGHT
566         select NEW_LEDS
567         select S3C_DEV_NAND
568         select S3C_DEV_USB_HOST
569         select S3C_SETUP_CAMIF
570         help
571           Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
572           available via various sources. It can come with a 3.5" or 7" touch LCD.
573
574 config MACH_NEXCODER_2440
575         bool "NexVision NEXCODER 2440 Light Board"
576         select S3C2440_XTAL_12000000
577         select S3C_DEV_NAND
578         select S3C_DEV_USB_HOST
579         help
580           Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
581
582 config MACH_OSIRIS
583         bool "Simtec IM2440D20 (OSIRIS) module"
584         select S3C2410_IOTIMING if S3C2440_CPUFREQ
585         select S3C2440_XTAL_12000000
586         select S3C24XX_DCLK
587         select S3C24XX_GPIO_EXTRA128
588         select S3C24XX_SIMTEC_PM if PM
589         select S3C_DEV_NAND
590         select S3C_DEV_USB_HOST
591         help
592           Say Y here if you are using the Simtec IM2440D20 module, also
593           known as the Osiris.
594
595 config MACH_OSIRIS_DVS
596         tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
597         depends on MACH_OSIRIS
598         select TPS65010
599         help
600           Say Y/M here if you want to have dynamic voltage scaling support
601           on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
602
603           The DVS driver alters the voltage supplied to the ARM core
604           depending on the frequency it is running at. The driver itself
605           does not do any of the frequency alteration, which is left up
606           to the cpufreq driver.
607
608 config MACH_RX3715
609         bool "HP iPAQ rx3715"
610         select PM_H1940 if PM
611         select S3C2440_XTAL_16934400
612         select S3C_DEV_NAND
613         help
614           Say Y here if you are using the HP iPAQ rx3715.
615
616 config ARCH_S3C2440
617         bool "SMDK2440"
618         select S3C2440_XTAL_16934400
619         select S3C24XX_SMDK
620         select S3C_DEV_NAND
621         select S3C_DEV_USB_HOST
622         help
623           Say Y here if you are using the SMDK2440.
624
625 config SMDK2440_CPU2440
626         bool "SMDK2440 with S3C2440 CPU module"
627         default y if ARCH_S3C2440
628         select S3C2440_XTAL_16934400
629
630 endif   # CPU_S3C2440
631
632 if CPU_S3C2442
633
634 comment "S3C2442 Boards"
635
636 #
637 # The "S3C2442 Boards" list is ordered alphabetically by option text.
638 # (without ARCH_ or MACH_)
639 #
640
641 config MACH_NEO1973_GTA02
642         bool "Openmoko GTA02 / Freerunner phone"
643         select I2C
644         select MFD_PCF50633
645         select PCF50633_GPIO
646         select POWER_SUPPLY
647         select S3C24XX_PWM
648         select S3C_DEV_USB_HOST
649         help
650            Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
651
652 config MACH_RX1950
653         bool "HP iPAQ rx1950"
654         select I2C
655         select PM_H1940 if PM
656         select S3C2410_IOTIMING if S3C2440_CPUFREQ
657         select S3C2440_XTAL_16934400
658         select S3C24XX_DCLK
659         select S3C24XX_PWM
660         select S3C_DEV_NAND
661         help
662            Say Y here if you're using HP iPAQ rx1950
663
664 endif   # CPU_S3C2442
665
666 if CPU_S3C2443 || CPU_S3C2416
667
668 config S3C2443_COMMON
669         bool
670         help
671           Common code for the S3C2443 and similar processors, which includes
672           the S3C2416 and S3C2450.
673
674 config S3C2443_DMA
675         bool
676         help
677           Internal config node for S3C2443 DMA support
678
679 config S3C2443_SETUP_SPI
680         bool
681         help
682           Common setup code for SPI GPIO configurations
683
684 endif   # CPU_S3C2443 || CPU_S3C2416
685
686 if CPU_S3C2443
687
688 comment "S3C2443 Boards"
689
690 config MACH_SMDK2443
691         bool "SMDK2443"
692         select S3C24XX_SMDK
693         select S3C_DEV_HSMMC1
694         help
695           Say Y here if you are using an SMDK2443
696
697 endif   # CPU_S3C2443
698
699 endmenu # SAMSUNG S3C24XX SoCs Support
700
701 endif   # ARCH_S3C24XX