1 # Copyright 2007 Simtec Electronics
7 depends on ARCH_S3C2410
10 select ARCH_REQUIRE_GPIOLIB
12 select S3C_GPIO_CFG_S3C24XX
14 Base platform code for any Samsung S3C24XX device
18 # low-level serial option nodes
20 config CPU_LLSERIAL_S3C2410_ONLY
22 default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
24 config CPU_LLSERIAL_S3C2440_ONLY
26 default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
28 config CPU_LLSERIAL_S3C2410
31 Selected if there is an S3C2410 (or register compatible) serial
32 low-level implementation needed
34 config CPU_LLSERIAL_S3C2440
37 Selected if there is an S3C2440 (or register compatible) serial
38 low-level implementation needed
40 # code that is shared between a number of the s3c24xx implementations
45 Clock code for the S3C2410, and similar processors which
46 is currently includes the S3C2410, S3C2440, S3C2442.
51 Clock code for the S3C2443 and similar processors, which includes
52 the S3C2416 and S3C2450.
57 Clock code for supporting DCLK/CLKOUT on S3C24XX architectures
61 config S3C24XX_GPIO_EXTRA
63 default 128 if S3C24XX_GPIO_EXTRA128
64 default 64 if S3C24XX_GPIO_EXTRA64
65 default 16 if ARCH_H1940
68 config S3C24XX_GPIO_EXTRA64
71 Add an extra 64 gpio numbers to the available GPIO pool. This is
72 available for boards that need extra gpios for external devices.
74 config S3C24XX_GPIO_EXTRA128
77 Add an extra 128 gpio numbers to the available GPIO pool. This is
78 available for boards that need extra gpios for external devices.
83 Common power management code for systems that are
84 compatible with the Simtec style of power management
87 bool "S3C2410 DMA support"
88 depends on ARCH_S3C2410
91 S3C2410 DMA support. This is needed for drivers like sound which
92 use the S3C2410's DMA system to move data to and from the
95 config S3C2410_DMA_DEBUG
96 bool "S3C2410 DMA support debug"
97 depends on ARCH_S3C2410 && S3C2410_DMA
99 Enable debugging output for the DMA code. This option sends info
100 to the kernel log, at priority KERN_DEBUG.
102 # SPI default pin configuration code
104 config S3C24XX_SPI_BUS0_GPE11_GPE12_GPE13
107 SPI GPIO configuration code for BUS0 when connected to
108 GPE11, GPE12 and GPE13.
110 config S3C24XX_SPI_BUS1_GPG5_GPG6_GPG7
113 SPI GPIO configuration code for BUS 1 when connected to
116 config S3C24XX_SPI_BUS1_GPD8_GPD9_GPD10
119 SPI GPIO configuration code for BUS 1 when connected to
120 GPD8, GPD9 and GPD10.
122 # common code for s3c24xx based machines, such as the SMDKs.
124 # cpu frequency items common between s3c2410 and s3c2440/s3c2442
126 config S3C2410_IOTIMING
128 depends on CPU_FREQ_S3C24XX
130 Internal node to select io timing code that is common to the s3c2410
131 and s3c2440/s3c2442 cpu frequency support.
133 config S3C2410_CPUFREQ_UTILS
135 depends on CPU_FREQ_S3C24XX
137 Internal node to select timing code that is common to the s3c2410
138 and s3c2440/s3c244 cpu frequency support.
140 # cpu frequency support common to s3c2412, s3c2413 and s3c2442
142 config S3C2412_IOTIMING
144 depends on CPU_FREQ_S3C24XX && (CPU_S3C2412 || CPU_S3C2443)
146 Intel node to select io timing code that is common to the s3c2412
152 Common machine code for SMDK2410 and SMDK2440
154 config S3C24XX_SIMTEC_AUDIO
156 depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
159 Add audio devices for common Simtec S3C24XX boards
161 config S3C2410_SETUP_TS
164 Compile in platform device definition for Samsung TouchScreen.