2007-02-11 18:31:01 +01:00
|
|
|
# Copyright 2007 Simtec Electronics
|
|
|
|
#
|
|
|
|
# Licensed under GPLv2
|
|
|
|
|
|
|
|
config PLAT_S3C24XX
|
|
|
|
bool
|
2008-10-21 15:06:32 +02:00
|
|
|
depends on ARCH_S3C2410 || ARCH_S3C24A0
|
|
|
|
default y
|
2007-02-12 18:59:35 +01:00
|
|
|
select NO_IOPORT
|
2008-07-26 16:36:03 +02:00
|
|
|
select ARCH_REQUIRE_GPIOLIB
|
2009-08-17 00:54:58 +02:00
|
|
|
select S3C_DEVICE_NAND
|
2010-04-30 12:30:35 +02:00
|
|
|
select S3C_GPIO_CFG_S3C24XX
|
2007-02-11 18:31:01 +01:00
|
|
|
help
|
2007-07-22 17:07:09 +02:00
|
|
|
Base platform code for any Samsung S3C24XX device
|
2007-02-11 18:31:01 +01:00
|
|
|
|
2007-02-11 20:33:13 +01:00
|
|
|
if PLAT_S3C24XX
|
|
|
|
|
2010-01-29 10:02:17 +01:00
|
|
|
# low-level serial option nodes
|
|
|
|
|
|
|
|
config CPU_LLSERIAL_S3C2410_ONLY
|
|
|
|
bool
|
|
|
|
default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
|
|
|
|
|
|
|
|
config CPU_LLSERIAL_S3C2440_ONLY
|
|
|
|
bool
|
|
|
|
default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
|
|
|
|
|
|
|
|
config CPU_LLSERIAL_S3C2410
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Selected if there is an S3C2410 (or register compatible) serial
|
|
|
|
low-level implementation needed
|
|
|
|
|
|
|
|
config CPU_LLSERIAL_S3C2440
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Selected if there is an S3C2440 (or register compatible) serial
|
|
|
|
low-level implementation needed
|
|
|
|
|
2008-10-21 15:06:22 +02:00
|
|
|
# code that is shared between a number of the s3c24xx implementations
|
|
|
|
|
|
|
|
config S3C2410_CLOCK
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Clock code for the S3C2410, and similar processors which
|
|
|
|
is currently includes the S3C2410, S3C2440, S3C2442.
|
|
|
|
|
2010-04-28 11:03:57 +02:00
|
|
|
config S3C2443_CLOCK
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Clock code for the S3C2443 and similar processors, which includes
|
|
|
|
the S3C2416 and S3C2450.
|
|
|
|
|
2008-10-21 15:06:33 +02:00
|
|
|
config S3C24XX_DCLK
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Clock code for supporting DCLK/CLKOUT on S3C24XX architectures
|
|
|
|
|
2008-07-01 14:17:24 +02:00
|
|
|
config S3C24XX_PWM
|
|
|
|
bool "PWM device support"
|
|
|
|
select HAVE_PWM
|
|
|
|
help
|
|
|
|
Support for exporting the PWM timer blocks via the pwm device
|
|
|
|
system.
|
|
|
|
|
2008-11-10 11:59:32 +01:00
|
|
|
# gpio configurations
|
|
|
|
|
|
|
|
config S3C24XX_GPIO_EXTRA
|
|
|
|
int
|
|
|
|
default 128 if S3C24XX_GPIO_EXTRA128
|
|
|
|
default 64 if S3C24XX_GPIO_EXTRA64
|
2010-09-08 11:39:46 +02:00
|
|
|
default 16 if ARCH_H1940
|
2008-11-10 11:59:32 +01:00
|
|
|
default 0
|
|
|
|
|
|
|
|
config S3C24XX_GPIO_EXTRA64
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Add an extra 64 gpio numbers to the available GPIO pool. This is
|
|
|
|
available for boards that need extra gpios for external devices.
|
|
|
|
|
|
|
|
config S3C24XX_GPIO_EXTRA128
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Add an extra 128 gpio numbers to the available GPIO pool. This is
|
|
|
|
available for boards that need extra gpios for external devices.
|
|
|
|
|
2007-02-11 18:31:01 +01:00
|
|
|
config PM_SIMTEC
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Common power management code for systems that are
|
|
|
|
compatible with the Simtec style of power management
|
|
|
|
|
|
|
|
config S3C2410_DMA
|
|
|
|
bool "S3C2410 DMA support"
|
|
|
|
depends on ARCH_S3C2410
|
2009-03-19 16:02:39 +01:00
|
|
|
select S3C_DMA
|
2007-02-11 18:31:01 +01:00
|
|
|
help
|
|
|
|
S3C2410 DMA support. This is needed for drivers like sound which
|
|
|
|
use the S3C2410's DMA system to move data to and from the
|
|
|
|
peripheral blocks.
|
|
|
|
|
|
|
|
config S3C2410_DMA_DEBUG
|
|
|
|
bool "S3C2410 DMA support debug"
|
|
|
|
depends on ARCH_S3C2410 && S3C2410_DMA
|
|
|
|
help
|
|
|
|
Enable debugging output for the DMA code. This option sends info
|
|
|
|
to the kernel log, at priority KERN_DEBUG.
|
|
|
|
|
2008-10-21 15:06:20 +02:00
|
|
|
# SPI default pin configuration code
|
|
|
|
|
|
|
|
config S3C24XX_SPI_BUS0_GPE11_GPE12_GPE13
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
SPI GPIO configuration code for BUS0 when connected to
|
|
|
|
GPE11, GPE12 and GPE13.
|
|
|
|
|
|
|
|
config S3C24XX_SPI_BUS1_GPG5_GPG6_GPG7
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
SPI GPIO configuration code for BUS 1 when connected to
|
|
|
|
GPG5, GPG6 and GPG7.
|
|
|
|
|
2009-08-03 18:26:50 +02:00
|
|
|
config S3C24XX_SPI_BUS1_GPD8_GPD9_GPD10
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
SPI GPIO configuration code for BUS 1 when connected to
|
|
|
|
GPD8, GPD9 and GPD10.
|
|
|
|
|
2008-10-21 15:06:20 +02:00
|
|
|
# common code for s3c24xx based machines, such as the SMDKs.
|
|
|
|
|
2009-07-31 00:23:26 +02:00
|
|
|
# cpu frequency items common between s3c2410 and s3c2440/s3c2442
|
|
|
|
|
|
|
|
config S3C2410_IOTIMING
|
|
|
|
bool
|
|
|
|
depends on CPU_FREQ_S3C24XX
|
|
|
|
help
|
|
|
|
Internal node to select io timing code that is common to the s3c2410
|
|
|
|
and s3c2440/s3c2442 cpu frequency support.
|
|
|
|
|
2009-07-31 00:23:27 +02:00
|
|
|
config S3C2410_CPUFREQ_UTILS
|
|
|
|
bool
|
|
|
|
depends on CPU_FREQ_S3C24XX
|
|
|
|
help
|
|
|
|
Internal node to select timing code that is common to the s3c2410
|
|
|
|
and s3c2440/s3c244 cpu frequency support.
|
|
|
|
|
2009-07-31 00:23:37 +02:00
|
|
|
# cpu frequency support common to s3c2412, s3c2413 and s3c2442
|
|
|
|
|
|
|
|
config S3C2412_IOTIMING
|
|
|
|
bool
|
|
|
|
depends on CPU_FREQ_S3C24XX && (CPU_S3C2412 || CPU_S3C2443)
|
|
|
|
help
|
|
|
|
Intel node to select io timing code that is common to the s3c2412
|
|
|
|
and the s3c2443.
|
|
|
|
|
2007-02-11 18:31:01 +01:00
|
|
|
config MACH_SMDK
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Common machine code for SMDK2410 and SMDK2440
|
|
|
|
|
2009-11-13 23:34:20 +01:00
|
|
|
config S3C24XX_SIMTEC_AUDIO
|
|
|
|
bool
|
|
|
|
depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Add audio devices for common Simtec S3C24XX boards
|
|
|
|
|
2010-05-18 13:44:27 +02:00
|
|
|
config S3C2410_SETUP_TS
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Compile in platform device definition for Samsung TouchScreen.
|
|
|
|
|
2007-02-11 20:33:13 +01:00
|
|
|
endif
|