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
23 menu "SAMSUNG S3C24XX SoCs Support"
25 comment "S3C24XX SoCs"
28 bool "SAMSUNG S3C2410"
31 select S3C2410_COMMON_CLK
32 select S3C2410_DMA if S3C24XX_DMA
33 select ARM_S3C2410_CPUFREQ if ARM_S3C24XX_CPUFREQ
34 select S3C2410_PM if PM
36 Support for S3C2410 and S3C2410A family from the S3C24XX line
37 of Samsung Mobile CPUs.
40 bool "SAMSUNG S3C2412"
42 select S3C2412_COMMON_CLK
43 select S3C2412_DMA if S3C24XX_DMA
44 select S3C2412_PM if PM
46 Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
49 bool "SAMSUNG S3C2416/S3C2450"
51 select S3C2416_PM if PM
52 select S3C2443_COMMON_CLK
53 select S3C2443_DMA if S3C24XX_DMA
55 Support for the S3C2416 SoC from the S3C24XX line
58 bool "SAMSUNG S3C2440"
60 select S3C2410_COMMON_CLK
61 select S3C2410_PM if PM
62 select S3C2440_DMA if S3C24XX_DMA
64 Support for S3C2440 Samsung Mobile CPU based systems.
67 bool "SAMSUNG S3C2442"
69 select S3C2410_COMMON_CLK
70 select S3C2410_DMA if S3C24XX_DMA
71 select S3C2410_PM if PM
73 Support for S3C2442 Samsung Mobile CPU based systems.
77 depends on CPU_S3C2440 || CPU_S3C2442
80 bool "SAMSUNG S3C2443"
82 select S3C2443_COMMON_CLK
83 select S3C2443_DMA if S3C24XX_DMA
85 Support for the S3C2443 SoC from the S3C24XX line
92 Common machine code for SMDK2410 and SMDK2440
94 config S3C24XX_SIMTEC_AUDIO
96 depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
99 Add audio devices for common Simtec S3C24XX boards
101 config S3C24XX_SIMTEC_PM
104 Common power management code for systems that are
105 compatible with the Simtec style of power management
107 config S3C24XX_SIMTEC_USB
110 USB management code for common Simtec S3C24XX boards
112 config S3C24XX_SETUP_TS
115 Compile in platform device definition for Samsung TouchScreen.
118 bool "S3C2410 DMA support (deprecated)"
121 S3C2410 DMA support. This is needed for drivers like sound which
122 use the S3C2410's DMA system to move data to and from the
125 config S3C2410_DMA_DEBUG
126 bool "S3C2410 DMA support debug"
127 depends on S3C2410_DMA
129 Enable debugging output for the DMA code. This option sends info
130 to the kernel log, at priority KERN_DEBUG.
134 depends on S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442)
136 DMA device selection for S3C2410 and compatible CPUs
141 Power Management code common to S3C2410 and better
144 bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)"
145 depends on ARM_S3C24XX_CPUFREQ
147 Compile in support for changing the PLL frequency from the
148 S3C24XX series CPUfreq driver. The PLL takes time to settle
149 after a frequency change, so by default it is not enabled.
151 This also means that the PLL tables for the selected CPU(s) will
152 be built which may increase the size of the kernel image.
154 # cpu frequency items common between s3c2410 and s3c2440/s3c2442
156 config S3C2410_IOTIMING
158 depends on ARM_S3C24XX_CPUFREQ
160 Internal node to select io timing code that is common to the s3c2410
161 and s3c2440/s3c2442 cpu frequency support.
163 config S3C2410_CPUFREQ_UTILS
165 depends on ARM_S3C24XX_CPUFREQ
167 Internal node to select timing code that is common to the s3c2410
168 and s3c2440/s3c244 cpu frequency support.
170 # cpu frequency support common to s3c2412, s3c2413 and s3c2442
172 config S3C2412_IOTIMING
174 depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2412 || CPU_S3C2443)
176 Intel node to select io timing code that is common to the s3c2412
179 # cpu-specific sections
185 depends on ARM_S3C2410_CPUFREQ && S3C24XX_PLL
188 Select the PLL table for the S3C2410
190 config S3C24XX_SIMTEC_NOR
193 Internal node to specify machine has simtec NOR mapping
197 select HAVE_PATA_PLATFORM
199 Internal node for machines with an BAST style IDE
202 comment "S3C2410 Boards"
205 # The "S3C2410 Boards" list is ordered alphabetically by option text.
206 # (without ARCH_ or MACH_)
209 config MACH_AML_M5900
210 bool "AML M5900 Series"
211 select S3C24XX_SIMTEC_PM if PM
212 select S3C_DEV_USB_HOST
214 Say Y here if you are using the American Microsystems M5900 Series
215 <http://www.amltd.com>
218 bool "Simtec Electronics BAST (EB2410ITX)"
221 select S3C2410_COMMON_DCLK
222 select S3C2410_IOTIMING if ARM_S3C2410_CPUFREQ
223 select S3C24XX_SIMTEC_NOR
224 select S3C24XX_SIMTEC_PM if PM
225 select S3C24XX_SIMTEC_USB
228 select S3C_DEV_USB_HOST
230 Say Y here if you are using the Simtec Electronics EB2410ITX
231 development board (also known as BAST)
233 config BAST_PC104_IRQ
234 bool "BAST PC104 IRQ support"
238 Say Y here to enable the PC104 IRQ routing on the
239 Simtec BAST (EB2410ITX)
243 select PM_H1940 if PM
244 select S3C24XX_SETUP_TS
246 select S3C_DEV_USB_HOST
248 Say Y here if you are using the HP IPAQ H1940
251 tristate "Control the state of H1940 bluetooth chip"
252 depends on ARCH_H1940
255 This is a simple driver that is able to control
256 the state of built in bluetooth chip on h1940.
261 Internal node for H1940 and related PM
264 bool "Acer N30 family"
266 select S3C_DEV_USB_HOST
268 Say Y here if you want suppt for the Acer N30, Acer N35,
269 Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
272 bool "NexVision OTOM Board"
274 select S3C_DEV_USB_HOST
276 Say Y here if you are using the Nex Vision OTOM board
281 select S3C_DEV_USB_HOST
283 Say Y here if you are using the Armzone QT2410
286 bool "SMDK2410/A9M2410"
288 select S3C_DEV_USB_HOST
290 Say Y here if you are using the SMDK2410 or the derived module A9M2410
291 <http://www.fsforth.de>
293 config MACH_TCT_HAMMER
294 bool "TCT Hammer Board"
295 select S3C_DEV_USB_HOST
297 Say Y here if you are using the TinCanTools Hammer Board
298 <http://www.tincantools.com>
301 bool "Thorcom VR1000"
303 select S3C2410_COMMON_DCLK
304 select S3C24XX_SIMTEC_NOR
305 select S3C24XX_SIMTEC_PM if PM
306 select S3C24XX_SIMTEC_USB
307 select S3C_DEV_USB_HOST
309 Say Y here if you are using the Thorcom VR1000 board.
313 config S3C2412_PM_SLEEP
316 Internal config node to apply sleep for S3C2412 power management.
317 Can be selected by another SoCs such as S3C2416 with similar
322 config CPU_S3C2412_ONLY
324 depends on !CPU_S3C2410 && !CPU_S3C2416 && !CPU_S3C2440 && \
325 !CPU_S3C2442 && !CPU_S3C2443
331 Internal config node for S3C2412 DMA support
335 select S3C2412_PM_SLEEP
336 select SAMSUNG_WAKEMASK
338 Internal config node to apply S3C2412 power management
340 comment "S3C2412 Boards"
343 # The "S3C2412 Boards" list is ordered alphabetically by option text.
344 # (without ARCH_ or MACH_)
350 select S3C_DEV_USB_HOST
352 Say Y here if you are using the Logitech Jive.
354 config MACH_JIVE_SHOW_BOOTLOADER
355 bool "Allow access to bootloader partitions in MTD"
361 Internal node for S3C2413 version of SMDK2413, so that
362 machine_is_s3c2413() will work when MACH_SMDK2413 is
369 Say Y here if you are using an SMDK2412
371 Note, this shares support with SMDK2413, so will automatically
372 select MACH_SMDK2413.
379 select S3C_DEV_USB_HOST
381 Say Y here if you are using an SMDK2413
386 select S3C_DEV_USB_HOST
388 Say Y here if you are using an VSTMS board
396 select S3C2412_PM_SLEEP
398 Internal config node to apply S3C2416 power management
400 config S3C2416_SETUP_SDHCI
402 select S3C2416_SETUP_SDHCI_GPIO
404 Internal helper functions for S3C2416 based SDHCI systems
406 config S3C2416_SETUP_SDHCI_GPIO
409 Common setup code for SDHCI gpio.
411 comment "S3C2416 Boards"
415 select S3C2416_SETUP_SDHCI
419 select S3C_DEV_HSMMC1
421 select S3C_DEV_USB_HOST
423 Say Y here if you are using an SMDK2416
425 config MACH_S3C2416_DT
426 bool "Samsung S3C2416 machine using devicetree"
430 select PINCTRL_S3C24XX
432 Machine support for Samsung S3C2416 machines with device tree enabled.
433 Select this if a fdt blob is available for the S3C2416 SoC based board.
434 Note: This is under development and not all peripherals can be supported
435 with this machine file.
444 Support for S3C2440 specific DMA code5A
446 config S3C2440_XTAL_12000000
449 Indicate that the build needs to support 12MHz system
452 config S3C2440_XTAL_16934400
455 Indicate that the build needs to support 16.9344MHz system
458 config S3C2440_PLL_12000000
460 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_12000000
461 default y if S3C24XX_PLL
463 PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
465 config S3C2440_PLL_16934400
467 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_16934400
468 default y if S3C24XX_PLL
470 PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
472 comment "S3C2440 Boards"
475 # The "S3C2440 Boards" list is ordered alphabetically by option text.
476 # (without ARCH_ or MACH_)
480 bool "Simtec Electronics ANUBIS"
481 select HAVE_PATA_PLATFORM
482 select S3C2410_COMMON_DCLK
483 select S3C2440_XTAL_12000000
484 select S3C24XX_SIMTEC_PM if PM
485 select S3C_DEV_USB_HOST
487 Say Y here if you are using the Simtec Electronics ANUBIS
490 config MACH_AT2440EVB
491 bool "Avantech AT2440EVB development board"
493 select S3C_DEV_USB_HOST
495 Say Y here if you are using the AT2440EVB development board
498 bool "MINI2440 development board"
499 select EEPROM_AT24 if I2C
502 select LEDS_TRIGGER_BACKLIGHT
505 select S3C_DEV_USB_HOST
506 select S3C_SETUP_CAMIF
508 Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
509 available via various sources. It can come with a 3.5" or 7" touch LCD.
511 config MACH_NEXCODER_2440
512 bool "NexVision NEXCODER 2440 Light Board"
513 select S3C2440_XTAL_12000000
515 select S3C_DEV_USB_HOST
517 Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
520 bool "Simtec IM2440D20 (OSIRIS) module"
521 select S3C2410_COMMON_DCLK
522 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
523 select S3C2440_XTAL_12000000
524 select S3C24XX_SIMTEC_PM if PM
526 select S3C_DEV_USB_HOST
528 Say Y here if you are using the Simtec IM2440D20 module, also
531 config MACH_OSIRIS_DVS
532 tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
533 depends on MACH_OSIRIS
536 Say Y/M here if you want to have dynamic voltage scaling support
537 on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
539 The DVS driver alters the voltage supplied to the ARM core
540 depending on the frequency it is running at. The driver itself
541 does not do any of the frequency alteration, which is left up
542 to the cpufreq driver.
545 bool "HP iPAQ rx3715"
546 select PM_H1940 if PM
547 select S3C2440_XTAL_16934400
550 Say Y here if you are using the HP iPAQ rx3715.
554 select S3C2440_XTAL_16934400
557 select S3C_DEV_USB_HOST
559 Say Y here if you are using the SMDK2440.
561 config SMDK2440_CPU2440
562 bool "SMDK2440 with S3C2440 CPU module"
563 default y if ARCH_S3C2440
564 select S3C2440_XTAL_16934400
570 comment "S3C2442 Boards"
573 # The "S3C2442 Boards" list is ordered alphabetically by option text.
574 # (without ARCH_ or MACH_)
577 config MACH_NEO1973_GTA02
578 bool "Openmoko GTA02 / Freerunner phone"
584 select S3C_DEV_USB_HOST
586 Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
589 bool "HP iPAQ rx1950"
591 select PM_H1940 if PM
592 select S3C2410_COMMON_DCLK
593 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
594 select S3C2440_XTAL_16934400
598 Say Y here if you're using HP iPAQ rx1950
602 if CPU_S3C2443 || CPU_S3C2416
607 Internal config node for S3C2443 DMA support
609 config S3C2443_SETUP_SPI
612 Common setup code for SPI GPIO configurations
614 endif # CPU_S3C2443 || CPU_S3C2416
618 comment "S3C2443 Boards"
623 select S3C_DEV_HSMMC1
625 Say Y here if you are using an SMDK2443
629 endmenu # SAMSUNG S3C24XX SoCs Support