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"
42 select CPU_LLSERIAL_S3C2410
43 select S3C2410_COMMON_CLK
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"
78 select CPU_LLSERIAL_S3C2440
79 select S3C2410_COMMON_CLK
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"
89 select CPU_LLSERIAL_S3C2440
90 select S3C2410_COMMON_CLK
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 Common machine code for SMDK2410 and SMDK2440
118 config S3C24XX_SIMTEC_AUDIO
120 depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
123 Add audio devices for common Simtec S3C24XX boards
125 config S3C24XX_SIMTEC_PM
128 Common power management code for systems that are
129 compatible with the Simtec style of power management
131 config S3C24XX_SIMTEC_USB
134 USB management code for common Simtec S3C24XX boards
136 config S3C24XX_SETUP_TS
139 Compile in platform device definition for Samsung TouchScreen.
142 bool "S3C2410 DMA support"
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
149 config S3C2410_DMA_DEBUG
150 bool "S3C2410 DMA support debug"
151 depends on S3C2410_DMA
153 Enable debugging output for the DMA code. This option sends info
154 to the kernel log, at priority KERN_DEBUG.
158 depends on S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442)
160 DMA device selection for S3C2410 and compatible CPUs
165 Power Management code common to S3C2410 and better
167 # low-level serial option nodes
169 config CPU_LLSERIAL_S3C2410_ONLY
171 default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
173 config CPU_LLSERIAL_S3C2440_ONLY
175 default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
177 config CPU_LLSERIAL_S3C2410
180 Selected if there is an S3C2410 (or register compatible) serial
181 low-level implementation needed
183 config CPU_LLSERIAL_S3C2440
186 Selected if there is an S3C2440 (or register compatible) serial
187 low-level implementation needed
190 bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)"
191 depends on ARM_S3C24XX_CPUFREQ
193 Compile in support for changing the PLL frequency from the
194 S3C24XX series CPUfreq driver. The PLL takes time to settle
195 after a frequency change, so by default it is not enabled.
197 This also means that the PLL tables for the selected CPU(s) will
198 be built which may increase the size of the kernel image.
200 # cpu frequency items common between s3c2410 and s3c2440/s3c2442
202 config S3C2410_IOTIMING
204 depends on ARM_S3C24XX_CPUFREQ
206 Internal node to select io timing code that is common to the s3c2410
207 and s3c2440/s3c2442 cpu frequency support.
209 config S3C2410_CPUFREQ_UTILS
211 depends on ARM_S3C24XX_CPUFREQ
213 Internal node to select timing code that is common to the s3c2410
214 and s3c2440/s3c244 cpu frequency support.
216 # cpu frequency support common to s3c2412, s3c2413 and s3c2442
218 config S3C2412_IOTIMING
220 depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2412 || CPU_S3C2443)
222 Intel node to select io timing code that is common to the s3c2412
225 # cpu-specific sections
231 depends on ARM_S3C2410_CPUFREQ && S3C24XX_PLL
234 Select the PLL table for the S3C2410
236 config S3C24XX_SIMTEC_NOR
239 Internal node to specify machine has simtec NOR mapping
243 select HAVE_PATA_PLATFORM
245 Internal node for machines with an BAST style IDE
248 comment "S3C2410 Boards"
251 # The "S3C2410 Boards" list is ordered alphabetically by option text.
252 # (without ARCH_ or MACH_)
255 config MACH_AML_M5900
256 bool "AML M5900 Series"
257 select S3C24XX_SIMTEC_PM if PM
258 select S3C_DEV_USB_HOST
260 Say Y here if you are using the American Microsystems M5900 Series
261 <http://www.amltd.com>
264 bool "Simtec Electronics BAST (EB2410ITX)"
267 select S3C2410_COMMON_DCLK
268 select S3C2410_IOTIMING if ARM_S3C2410_CPUFREQ
269 select S3C24XX_SIMTEC_NOR
270 select S3C24XX_SIMTEC_PM if PM
271 select S3C24XX_SIMTEC_USB
274 select S3C_DEV_USB_HOST
276 Say Y here if you are using the Simtec Electronics EB2410ITX
277 development board (also known as BAST)
279 config BAST_PC104_IRQ
280 bool "BAST PC104 IRQ support"
284 Say Y here to enable the PC104 IRQ routing on the
285 Simtec BAST (EB2410ITX)
289 select PM_H1940 if PM
290 select S3C24XX_SETUP_TS
292 select S3C_DEV_USB_HOST
294 Say Y here if you are using the HP IPAQ H1940
297 tristate "Control the state of H1940 bluetooth chip"
298 depends on ARCH_H1940
301 This is a simple driver that is able to control
302 the state of built in bluetooth chip on h1940.
307 Internal node for H1940 and related PM
310 bool "Acer N30 family"
312 select S3C_DEV_USB_HOST
314 Say Y here if you want suppt for the Acer N30, Acer N35,
315 Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
318 bool "NexVision OTOM Board"
320 select S3C_DEV_USB_HOST
322 Say Y here if you are using the Nex Vision OTOM board
327 select S3C_DEV_USB_HOST
329 Say Y here if you are using the Armzone QT2410
332 bool "SMDK2410/A9M2410"
334 select S3C_DEV_USB_HOST
336 Say Y here if you are using the SMDK2410 or the derived module A9M2410
337 <http://www.fsforth.de>
339 config MACH_TCT_HAMMER
340 bool "TCT Hammer Board"
341 select S3C_DEV_USB_HOST
343 Say Y here if you are using the TinCanTools Hammer Board
344 <http://www.tincantools.com>
347 bool "Thorcom VR1000"
349 select S3C2410_COMMON_DCLK
350 select S3C24XX_SIMTEC_NOR
351 select S3C24XX_SIMTEC_PM if PM
352 select S3C24XX_SIMTEC_USB
353 select S3C_DEV_USB_HOST
355 Say Y here if you are using the Thorcom VR1000 board.
359 config S3C2412_PM_SLEEP
362 Internal config node to apply sleep for S3C2412 power management.
363 Can be selected by another SoCs such as S3C2416 with similar
368 config S3C2412_COMMON_CLK
371 Build the s3c2412 clock driver based on the common clock framework.
373 config CPU_S3C2412_ONLY
375 depends on !CPU_S3C2410 && !CPU_S3C2416 && !CPU_S3C2440 && \
376 !CPU_S3C2442 && !CPU_S3C2443
382 Internal config node for S3C2412 DMA support
386 select S3C2412_PM_SLEEP
387 select SAMSUNG_WAKEMASK
389 Internal config node to apply S3C2412 power management
391 comment "S3C2412 Boards"
394 # The "S3C2412 Boards" list is ordered alphabetically by option text.
395 # (without ARCH_ or MACH_)
401 select S3C_DEV_USB_HOST
403 Say Y here if you are using the Logitech Jive.
405 config MACH_JIVE_SHOW_BOOTLOADER
406 bool "Allow access to bootloader partitions in MTD"
412 Internal node for S3C2413 version of SMDK2413, so that
413 machine_is_s3c2413() will work when MACH_SMDK2413 is
420 Say Y here if you are using an SMDK2412
422 Note, this shares support with SMDK2413, so will automatically
423 select MACH_SMDK2413.
430 select S3C_DEV_USB_HOST
432 Say Y here if you are using an SMDK2413
437 select S3C_DEV_USB_HOST
439 Say Y here if you are using an VSTMS board
447 select S3C2412_PM_SLEEP
449 Internal config node to apply S3C2416 power management
451 config S3C2416_SETUP_SDHCI
453 select S3C2416_SETUP_SDHCI_GPIO
455 Internal helper functions for S3C2416 based SDHCI systems
457 config S3C2416_SETUP_SDHCI_GPIO
460 Common setup code for SDHCI gpio.
462 comment "S3C2416 Boards"
466 select S3C2416_SETUP_SDHCI
470 select S3C_DEV_HSMMC1
472 select S3C_DEV_USB_HOST
474 Say Y here if you are using an SMDK2416
476 config MACH_S3C2416_DT
477 bool "Samsung S3C2416 machine using devicetree"
481 select PINCTRL_S3C24XX
483 Machine support for Samsung S3C2416 machines with device tree enabled.
484 Select this if a fdt blob is available for the S3C2416 SoC based board.
485 Note: This is under development and not all peripherals can be supported
486 with this machine file.
495 Support for S3C2440 specific DMA code5A
497 config S3C2440_XTAL_12000000
500 Indicate that the build needs to support 12MHz system
503 config S3C2440_XTAL_16934400
506 Indicate that the build needs to support 16.9344MHz system
509 config S3C2440_PLL_12000000
511 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_12000000
512 default y if S3C24XX_PLL
514 PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
516 config S3C2440_PLL_16934400
518 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_16934400
519 default y if S3C24XX_PLL
521 PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
523 comment "S3C2440 Boards"
526 # The "S3C2440 Boards" list is ordered alphabetically by option text.
527 # (without ARCH_ or MACH_)
531 bool "Simtec Electronics ANUBIS"
532 select HAVE_PATA_PLATFORM
533 select S3C2410_COMMON_DCLK
534 select S3C2440_XTAL_12000000
535 select S3C24XX_SIMTEC_PM if PM
536 select S3C_DEV_USB_HOST
538 Say Y here if you are using the Simtec Electronics ANUBIS
541 config MACH_AT2440EVB
542 bool "Avantech AT2440EVB development board"
544 select S3C_DEV_USB_HOST
546 Say Y here if you are using the AT2440EVB development board
549 bool "MINI2440 development board"
550 select EEPROM_AT24 if I2C
553 select LEDS_TRIGGER_BACKLIGHT
556 select S3C_DEV_USB_HOST
557 select S3C_SETUP_CAMIF
559 Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
560 available via various sources. It can come with a 3.5" or 7" touch LCD.
562 config MACH_NEXCODER_2440
563 bool "NexVision NEXCODER 2440 Light Board"
564 select S3C2440_XTAL_12000000
566 select S3C_DEV_USB_HOST
568 Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
571 bool "Simtec IM2440D20 (OSIRIS) module"
572 select S3C2410_COMMON_DCLK
573 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
574 select S3C2440_XTAL_12000000
575 select S3C24XX_SIMTEC_PM if PM
577 select S3C_DEV_USB_HOST
579 Say Y here if you are using the Simtec IM2440D20 module, also
582 config MACH_OSIRIS_DVS
583 tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
584 depends on MACH_OSIRIS
587 Say Y/M here if you want to have dynamic voltage scaling support
588 on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
590 The DVS driver alters the voltage supplied to the ARM core
591 depending on the frequency it is running at. The driver itself
592 does not do any of the frequency alteration, which is left up
593 to the cpufreq driver.
596 bool "HP iPAQ rx3715"
597 select PM_H1940 if PM
598 select S3C2440_XTAL_16934400
601 Say Y here if you are using the HP iPAQ rx3715.
605 select S3C2440_XTAL_16934400
608 select S3C_DEV_USB_HOST
610 Say Y here if you are using the SMDK2440.
612 config SMDK2440_CPU2440
613 bool "SMDK2440 with S3C2440 CPU module"
614 default y if ARCH_S3C2440
615 select S3C2440_XTAL_16934400
621 comment "S3C2442 Boards"
624 # The "S3C2442 Boards" list is ordered alphabetically by option text.
625 # (without ARCH_ or MACH_)
628 config MACH_NEO1973_GTA02
629 bool "Openmoko GTA02 / Freerunner phone"
635 select S3C_DEV_USB_HOST
637 Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
640 bool "HP iPAQ rx1950"
642 select PM_H1940 if PM
643 select S3C2410_COMMON_DCLK
644 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
645 select S3C2440_XTAL_16934400
649 Say Y here if you're using HP iPAQ rx1950
653 if CPU_S3C2443 || CPU_S3C2416
655 config S3C2443_COMMON_CLK
658 Temporary symbol to build the clock driver based on the common clock
664 Internal config node for S3C2443 DMA support
666 config S3C2443_SETUP_SPI
669 Common setup code for SPI GPIO configurations
671 endif # CPU_S3C2443 || CPU_S3C2416
675 comment "S3C2443 Boards"
680 select S3C_DEV_HSMMC1
682 Say Y here if you are using an SMDK2443
686 endmenu # SAMSUNG S3C24XX SoCs Support