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