1 # arch/arm/mach-s3c24xx/Kconfig
3 # Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 # http://www.samsung.com/
6 # Copyright 2007 Simtec Electronics
14 select ARCH_REQUIRE_GPIOLIB
19 Base platform code for any Samsung S3C24XX device
21 config S3C2410_COMMON_CLK
24 Build the s3c2410 clock driver based on the common clock framework.
26 config S3C2410_COMMON_DCLK
30 Temporary symbol to build the dclk driver based on the common clock
33 menu "SAMSUNG S3C24XX SoCs Support"
35 comment "S3C24XX SoCs"
38 bool "SAMSUNG S3C2410"
40 depends on SAMSUNG_CLOCK
42 select CPU_LLSERIAL_S3C2410
44 select S3C2410_DMA if S3C24XX_DMA
45 select ARM_S3C2410_CPUFREQ if ARM_S3C24XX_CPUFREQ
46 select S3C2410_PM if PM
47 select SAMSUNG_WDT_RESET
49 Support for S3C2410 and S3C2410A family from the S3C24XX line
50 of Samsung Mobile CPUs.
53 bool "SAMSUNG S3C2412"
56 select CPU_LLSERIAL_S3C2440
57 select S3C2412_COMMON_CLK
58 select S3C2412_DMA if S3C24XX_DMA
59 select S3C2412_PM if PM
61 Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
64 bool "SAMSUNG S3C2416/S3C2450"
67 select CPU_LLSERIAL_S3C2440
68 select S3C2416_PM if PM
69 select S3C2443_COMMON_CLK
70 select S3C2443_DMA if S3C24XX_DMA
72 Support for the S3C2416 SoC from the S3C24XX line
75 bool "SAMSUNG S3C2440"
76 depends on SAMSUNG_CLOCK
78 select CPU_LLSERIAL_S3C2440
80 select S3C2410_PM if PM
81 select S3C2440_DMA if S3C24XX_DMA
83 Support for S3C2440 Samsung Mobile CPU based systems.
86 bool "SAMSUNG S3C2442"
87 depends on SAMSUNG_CLOCK
89 select CPU_LLSERIAL_S3C2440
91 select S3C2410_DMA if S3C24XX_DMA
92 select S3C2410_PM if PM
94 Support for S3C2442 Samsung Mobile CPU based systems.
98 depends on CPU_S3C2440 || CPU_S3C2442
99 select SAMSUNG_WDT_RESET
102 bool "SAMSUNG S3C2443"
105 select CPU_LLSERIAL_S3C2440
106 select S3C2443_COMMON_CLK
107 select S3C2443_DMA if S3C24XX_DMA
109 Support for the S3C2443 SoC from the S3C24XX line
116 Clock code for the S3C2410, and similar processors which
117 is currently includes the S3C2410, S3C2440, S3C2442.
122 Clock code for supporting DCLK/CLKOUT on S3C24XX architectures
127 Common machine code for SMDK2410 and SMDK2440
129 config S3C24XX_SIMTEC_AUDIO
131 depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
134 Add audio devices for common Simtec S3C24XX boards
136 config S3C24XX_SIMTEC_PM
139 Common power management code for systems that are
140 compatible with the Simtec style of power management
142 config S3C24XX_SIMTEC_USB
145 USB management code for common Simtec S3C24XX boards
147 config S3C24XX_SETUP_TS
150 Compile in platform device definition for Samsung TouchScreen.
153 bool "S3C2410 DMA support"
156 S3C2410 DMA support. This is needed for drivers like sound which
157 use the S3C2410's DMA system to move data to and from the
160 config S3C2410_DMA_DEBUG
161 bool "S3C2410 DMA support debug"
162 depends on S3C2410_DMA
164 Enable debugging output for the DMA code. This option sends info
165 to the kernel log, at priority KERN_DEBUG.
169 depends on S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442)
171 DMA device selection for S3C2410 and compatible CPUs
176 Power Management code common to S3C2410 and better
178 # low-level serial option nodes
180 config CPU_LLSERIAL_S3C2410_ONLY
182 default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
184 config CPU_LLSERIAL_S3C2440_ONLY
186 default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
188 config CPU_LLSERIAL_S3C2410
191 Selected if there is an S3C2410 (or register compatible) serial
192 low-level implementation needed
194 config CPU_LLSERIAL_S3C2440
197 Selected if there is an S3C2440 (or register compatible) serial
198 low-level implementation needed
201 bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)"
202 depends on ARM_S3C24XX_CPUFREQ
204 Compile in support for changing the PLL frequency from the
205 S3C24XX series CPUfreq driver. The PLL takes time to settle
206 after a frequency change, so by default it is not enabled.
208 This also means that the PLL tables for the selected CPU(s) will
209 be built which may increase the size of the kernel image.
211 # cpu frequency items common between s3c2410 and s3c2440/s3c2442
213 config S3C2410_IOTIMING
215 depends on ARM_S3C24XX_CPUFREQ
217 Internal node to select io timing code that is common to the s3c2410
218 and s3c2440/s3c2442 cpu frequency support.
220 config S3C2410_CPUFREQ_UTILS
222 depends on ARM_S3C24XX_CPUFREQ
224 Internal node to select timing code that is common to the s3c2410
225 and s3c2440/s3c244 cpu frequency support.
227 # cpu frequency support common to s3c2412, s3c2413 and s3c2442
229 config S3C2412_IOTIMING
231 depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2412 || CPU_S3C2443)
233 Intel node to select io timing code that is common to the s3c2412
236 # cpu-specific sections
242 depends on ARM_S3C2410_CPUFREQ && S3C24XX_PLL
245 Select the PLL table for the S3C2410
247 config S3C24XX_SIMTEC_NOR
250 Internal node to specify machine has simtec NOR mapping
254 select HAVE_PATA_PLATFORM
256 Internal node for machines with an BAST style IDE
259 comment "S3C2410 Boards"
262 # The "S3C2410 Boards" list is ordered alphabetically by option text.
263 # (without ARCH_ or MACH_)
266 config MACH_AML_M5900
267 bool "AML M5900 Series"
268 select S3C24XX_SIMTEC_PM if PM
269 select S3C_DEV_USB_HOST
271 Say Y here if you are using the American Microsystems M5900 Series
272 <http://www.amltd.com>
275 bool "Simtec Electronics BAST (EB2410ITX)"
278 select S3C2410_COMMON_DCLK if COMMON_CLK
279 select S3C2410_IOTIMING if ARM_S3C2410_CPUFREQ
280 select S3C24XX_DCLK if SAMSUNG_CLOCK
281 select S3C24XX_SIMTEC_NOR
282 select S3C24XX_SIMTEC_PM if PM
283 select S3C24XX_SIMTEC_USB
286 select S3C_DEV_USB_HOST
288 Say Y here if you are using the Simtec Electronics EB2410ITX
289 development board (also known as BAST)
291 config BAST_PC104_IRQ
292 bool "BAST PC104 IRQ support"
296 Say Y here to enable the PC104 IRQ routing on the
297 Simtec BAST (EB2410ITX)
301 select PM_H1940 if PM
302 select S3C24XX_SETUP_TS
304 select S3C_DEV_USB_HOST
306 Say Y here if you are using the HP IPAQ H1940
309 tristate "Control the state of H1940 bluetooth chip"
310 depends on ARCH_H1940
313 This is a simple driver that is able to control
314 the state of built in bluetooth chip on h1940.
319 Internal node for H1940 and related PM
322 bool "Acer N30 family"
324 select S3C_DEV_USB_HOST
326 Say Y here if you want suppt for the Acer N30, Acer N35,
327 Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
330 bool "NexVision OTOM Board"
332 select S3C_DEV_USB_HOST
334 Say Y here if you are using the Nex Vision OTOM board
339 select S3C_DEV_USB_HOST
341 Say Y here if you are using the Armzone QT2410
344 bool "SMDK2410/A9M2410"
346 select S3C_DEV_USB_HOST
348 Say Y here if you are using the SMDK2410 or the derived module A9M2410
349 <http://www.fsforth.de>
351 config MACH_TCT_HAMMER
352 bool "TCT Hammer Board"
353 select S3C_DEV_USB_HOST
355 Say Y here if you are using the TinCanTools Hammer Board
356 <http://www.tincantools.com>
359 bool "Thorcom VR1000"
361 select S3C2410_COMMON_DCLK if COMMON_CLK
362 select S3C24XX_DCLK if SAMSUNG_CLOCK
363 select S3C24XX_SIMTEC_NOR
364 select S3C24XX_SIMTEC_PM if PM
365 select S3C24XX_SIMTEC_USB
366 select S3C_DEV_USB_HOST
368 Say Y here if you are using the Thorcom VR1000 board.
372 config S3C2412_PM_SLEEP
375 Internal config node to apply sleep for S3C2412 power management.
376 Can be selected by another SoCs such as S3C2416 with similar
381 config S3C2412_COMMON_CLK
384 Build the s3c2412 clock driver based on the common clock framework.
386 config CPU_S3C2412_ONLY
388 depends on !CPU_S3C2410 && !CPU_S3C2416 && !CPU_S3C2440 && \
389 !CPU_S3C2442 && !CPU_S3C2443
395 Internal config node for S3C2412 DMA support
399 select S3C2412_PM_SLEEP
400 select SAMSUNG_WAKEMASK
402 Internal config node to apply S3C2412 power management
404 comment "S3C2412 Boards"
407 # The "S3C2412 Boards" list is ordered alphabetically by option text.
408 # (without ARCH_ or MACH_)
414 select S3C_DEV_USB_HOST
416 Say Y here if you are using the Logitech Jive.
418 config MACH_JIVE_SHOW_BOOTLOADER
419 bool "Allow access to bootloader partitions in MTD"
425 Internal node for S3C2413 version of SMDK2413, so that
426 machine_is_s3c2413() will work when MACH_SMDK2413 is
433 Say Y here if you are using an SMDK2412
435 Note, this shares support with SMDK2413, so will automatically
436 select MACH_SMDK2413.
443 select S3C_DEV_USB_HOST
445 Say Y here if you are using an SMDK2413
450 select S3C_DEV_USB_HOST
452 Say Y here if you are using an VSTMS board
460 select S3C2412_PM_SLEEP
462 Internal config node to apply S3C2416 power management
464 config S3C2416_SETUP_SDHCI
466 select S3C2416_SETUP_SDHCI_GPIO
468 Internal helper functions for S3C2416 based SDHCI systems
470 config S3C2416_SETUP_SDHCI_GPIO
473 Common setup code for SDHCI gpio.
475 comment "S3C2416 Boards"
479 select S3C2416_SETUP_SDHCI
483 select S3C_DEV_HSMMC1
485 select S3C_DEV_USB_HOST
487 Say Y here if you are using an SMDK2416
489 config MACH_S3C2416_DT
490 bool "Samsung S3C2416 machine using devicetree"
494 select PINCTRL_S3C24XX
496 Machine support for Samsung S3C2416 machines with device tree enabled.
497 Select this if a fdt blob is available for the S3C2416 SoC based board.
498 Note: This is under development and not all peripherals can be supported
499 with this machine file.
508 Support for S3C2440 specific DMA code5A
510 config S3C2440_XTAL_12000000
513 Indicate that the build needs to support 12MHz system
516 config S3C2440_XTAL_16934400
519 Indicate that the build needs to support 16.9344MHz system
522 config S3C2440_PLL_12000000
524 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_12000000
525 default y if S3C24XX_PLL
527 PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
529 config S3C2440_PLL_16934400
531 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_16934400
532 default y if S3C24XX_PLL
534 PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
536 comment "S3C2440 Boards"
539 # The "S3C2440 Boards" list is ordered alphabetically by option text.
540 # (without ARCH_ or MACH_)
544 bool "Simtec Electronics ANUBIS"
545 select HAVE_PATA_PLATFORM
546 select S3C2410_COMMON_DCLK if COMMON_CLK
547 select S3C2440_XTAL_12000000
548 select S3C24XX_DCLK if SAMSUNG_CLOCK
549 select S3C24XX_SIMTEC_PM if PM
550 select S3C_DEV_USB_HOST
552 Say Y here if you are using the Simtec Electronics ANUBIS
555 config MACH_AT2440EVB
556 bool "Avantech AT2440EVB development board"
558 select S3C_DEV_USB_HOST
560 Say Y here if you are using the AT2440EVB development board
563 bool "MINI2440 development board"
564 select EEPROM_AT24 if I2C
567 select LEDS_TRIGGER_BACKLIGHT
570 select S3C_DEV_USB_HOST
571 select S3C_SETUP_CAMIF
573 Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
574 available via various sources. It can come with a 3.5" or 7" touch LCD.
576 config MACH_NEXCODER_2440
577 bool "NexVision NEXCODER 2440 Light Board"
578 select S3C2440_XTAL_12000000
580 select S3C_DEV_USB_HOST
582 Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
585 bool "Simtec IM2440D20 (OSIRIS) module"
586 select S3C2410_COMMON_DCLK if COMMON_CLK
587 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
588 select S3C2440_XTAL_12000000
589 select S3C24XX_DCLK if SAMSUNG_CLOCK
590 select S3C24XX_SIMTEC_PM if PM
592 select S3C_DEV_USB_HOST
594 Say Y here if you are using the Simtec IM2440D20 module, also
597 config MACH_OSIRIS_DVS
598 tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
599 depends on MACH_OSIRIS
602 Say Y/M here if you want to have dynamic voltage scaling support
603 on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
605 The DVS driver alters the voltage supplied to the ARM core
606 depending on the frequency it is running at. The driver itself
607 does not do any of the frequency alteration, which is left up
608 to the cpufreq driver.
611 bool "HP iPAQ rx3715"
612 select PM_H1940 if PM
613 select S3C2440_XTAL_16934400
616 Say Y here if you are using the HP iPAQ rx3715.
620 select S3C2440_XTAL_16934400
623 select S3C_DEV_USB_HOST
625 Say Y here if you are using the SMDK2440.
627 config SMDK2440_CPU2440
628 bool "SMDK2440 with S3C2440 CPU module"
629 default y if ARCH_S3C2440
630 select S3C2440_XTAL_16934400
636 comment "S3C2442 Boards"
639 # The "S3C2442 Boards" list is ordered alphabetically by option text.
640 # (without ARCH_ or MACH_)
643 config MACH_NEO1973_GTA02
644 bool "Openmoko GTA02 / Freerunner phone"
650 select S3C_DEV_USB_HOST
652 Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
655 bool "HP iPAQ rx1950"
657 select PM_H1940 if PM
658 select S3C2410_COMMON_DCLK if COMMON_CLK
659 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
660 select S3C2440_XTAL_16934400
661 select S3C24XX_DCLK if SAMSUNG_CLOCK
665 Say Y here if you're using HP iPAQ rx1950
669 if CPU_S3C2443 || CPU_S3C2416
671 config S3C2443_COMMON_CLK
674 Temporary symbol to build the clock driver based on the common clock
680 Internal config node for S3C2443 DMA support
682 config S3C2443_SETUP_SPI
685 Common setup code for SPI GPIO configurations
687 endif # CPU_S3C2443 || CPU_S3C2416
691 comment "S3C2443 Boards"
696 select S3C_DEV_HSMMC1
698 Say Y here if you are using an SMDK2443
702 endmenu # SAMSUNG S3C24XX SoCs Support