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