diff options
Diffstat (limited to 'arch/arm/mach-s3c24xx/Kconfig')
-rw-r--r-- | arch/arm/mach-s3c24xx/Kconfig | 160 |
1 files changed, 160 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig index 7079a70b1ab8..37f513d1588e 100644 --- a/arch/arm/mach-s3c24xx/Kconfig +++ b/arch/arm/mach-s3c24xx/Kconfig | |||
@@ -9,6 +9,15 @@ | |||
9 | 9 | ||
10 | if ARCH_S3C24XX | 10 | if ARCH_S3C24XX |
11 | 11 | ||
12 | config PLAT_S3C24XX | ||
13 | def_bool y | ||
14 | select ARCH_REQUIRE_GPIOLIB | ||
15 | select NO_IOPORT | ||
16 | select S3C_DEV_NAND | ||
17 | select IRQ_DOMAIN | ||
18 | help | ||
19 | Base platform code for any Samsung S3C24XX device | ||
20 | |||
12 | menu "SAMSUNG S3C24XX SoCs Support" | 21 | menu "SAMSUNG S3C24XX SoCs Support" |
13 | 22 | ||
14 | comment "S3C24XX SoCs" | 23 | comment "S3C24XX SoCs" |
@@ -83,6 +92,17 @@ config CPU_S3C2443 | |||
83 | 92 | ||
84 | # common code | 93 | # common code |
85 | 94 | ||
95 | config S3C2410_CLOCK | ||
96 | bool | ||
97 | help | ||
98 | Clock code for the S3C2410, and similar processors which | ||
99 | is currently includes the S3C2410, S3C2440, S3C2442. | ||
100 | |||
101 | config S3C24XX_DCLK | ||
102 | bool | ||
103 | help | ||
104 | Clock code for supporting DCLK/CLKOUT on S3C24XX architectures | ||
105 | |||
86 | config S3C24XX_SMDK | 106 | config S3C24XX_SMDK |
87 | bool | 107 | bool |
88 | help | 108 | help |
@@ -111,6 +131,22 @@ config S3C24XX_SETUP_TS | |||
111 | help | 131 | help |
112 | Compile in platform device definition for Samsung TouchScreen. | 132 | Compile in platform device definition for Samsung TouchScreen. |
113 | 133 | ||
134 | config S3C24XX_DMA | ||
135 | bool "S3C2410 DMA support" | ||
136 | depends on ARCH_S3C24XX | ||
137 | select S3C_DMA | ||
138 | help | ||
139 | S3C2410 DMA support. This is needed for drivers like sound which | ||
140 | use the S3C2410's DMA system to move data to and from the | ||
141 | peripheral blocks. | ||
142 | |||
143 | config S3C2410_DMA_DEBUG | ||
144 | bool "S3C2410 DMA support debug" | ||
145 | depends on ARCH_S3C24XX && S3C2410_DMA | ||
146 | help | ||
147 | Enable debugging output for the DMA code. This option sends info | ||
148 | to the kernel log, at priority KERN_DEBUG. | ||
149 | |||
114 | config S3C2410_DMA | 150 | config S3C2410_DMA |
115 | bool | 151 | bool |
116 | depends on S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442) | 152 | depends on S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442) |
@@ -123,10 +159,92 @@ config S3C2410_PM | |||
123 | help | 159 | help |
124 | Power Management code common to S3C2410 and better | 160 | Power Management code common to S3C2410 and better |
125 | 161 | ||
162 | # low-level serial option nodes | ||
163 | |||
164 | config CPU_LLSERIAL_S3C2410_ONLY | ||
165 | bool | ||
166 | default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440 | ||
167 | |||
168 | config CPU_LLSERIAL_S3C2440_ONLY | ||
169 | bool | ||
170 | default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410 | ||
171 | |||
172 | config CPU_LLSERIAL_S3C2410 | ||
173 | bool | ||
174 | help | ||
175 | Selected if there is an S3C2410 (or register compatible) serial | ||
176 | low-level implementation needed | ||
177 | |||
178 | config CPU_LLSERIAL_S3C2440 | ||
179 | bool | ||
180 | help | ||
181 | Selected if there is an S3C2440 (or register compatible) serial | ||
182 | low-level implementation needed | ||
183 | |||
184 | # gpio configurations | ||
185 | |||
186 | config S3C24XX_GPIO_EXTRA | ||
187 | int | ||
188 | default 128 if S3C24XX_GPIO_EXTRA128 | ||
189 | default 64 if S3C24XX_GPIO_EXTRA64 | ||
190 | default 16 if ARCH_H1940 | ||
191 | default 0 | ||
192 | |||
193 | config S3C24XX_GPIO_EXTRA64 | ||
194 | bool | ||
195 | help | ||
196 | Add an extra 64 gpio numbers to the available GPIO pool. This is | ||
197 | available for boards that need extra gpios for external devices. | ||
198 | |||
199 | config S3C24XX_GPIO_EXTRA128 | ||
200 | bool | ||
201 | help | ||
202 | Add an extra 128 gpio numbers to the available GPIO pool. This is | ||
203 | available for boards that need extra gpios for external devices. | ||
204 | |||
205 | # cpu frequency items common between s3c2410 and s3c2440/s3c2442 | ||
206 | |||
207 | config S3C2410_IOTIMING | ||
208 | bool | ||
209 | depends on CPU_FREQ_S3C24XX | ||
210 | help | ||
211 | Internal node to select io timing code that is common to the s3c2410 | ||
212 | and s3c2440/s3c2442 cpu frequency support. | ||
213 | |||
214 | config S3C2410_CPUFREQ_UTILS | ||
215 | bool | ||
216 | depends on CPU_FREQ_S3C24XX | ||
217 | help | ||
218 | Internal node to select timing code that is common to the s3c2410 | ||
219 | and s3c2440/s3c244 cpu frequency support. | ||
220 | |||
221 | # cpu frequency support common to s3c2412, s3c2413 and s3c2442 | ||
222 | |||
223 | config S3C2412_IOTIMING | ||
224 | bool | ||
225 | depends on CPU_FREQ_S3C24XX && (CPU_S3C2412 || CPU_S3C2443) | ||
226 | help | ||
227 | Intel node to select io timing code that is common to the s3c2412 | ||
228 | and the s3c2443. | ||
229 | |||
126 | # cpu-specific sections | 230 | # cpu-specific sections |
127 | 231 | ||
128 | if CPU_S3C2410 | 232 | if CPU_S3C2410 |
129 | 233 | ||
234 | config S3C2410_CPUFREQ | ||
235 | bool | ||
236 | depends on CPU_FREQ_S3C24XX && CPU_S3C2410 | ||
237 | select S3C2410_CPUFREQ_UTILS | ||
238 | help | ||
239 | CPU Frequency scaling support for S3C2410 | ||
240 | |||
241 | config S3C2410_PLL | ||
242 | bool | ||
243 | depends on S3C2410_CPUFREQ && CPU_FREQ_S3C24XX_PLL | ||
244 | default y | ||
245 | help | ||
246 | Select the PLL table for the S3C2410 | ||
247 | |||
130 | config S3C24XX_SIMTEC_NOR | 248 | config S3C24XX_SIMTEC_NOR |
131 | bool | 249 | bool |
132 | help | 250 | help |
@@ -267,6 +385,14 @@ config CPU_S3C2412_ONLY | |||
267 | !CPU_S3C2443 && CPU_S3C2412 | 385 | !CPU_S3C2443 && CPU_S3C2412 |
268 | default y | 386 | default y |
269 | 387 | ||
388 | config S3C2412_CPUFREQ | ||
389 | bool | ||
390 | depends on CPU_FREQ_S3C24XX && CPU_S3C2412 | ||
391 | default y | ||
392 | select S3C2412_IOTIMING | ||
393 | help | ||
394 | CPU Frequency scaling support for S3C2412 and S3C2413 SoC CPUs. | ||
395 | |||
270 | config S3C2412_DMA | 396 | config S3C2412_DMA |
271 | bool | 397 | bool |
272 | help | 398 | help |
@@ -367,11 +493,45 @@ endif # CPU_S3C2416 | |||
367 | 493 | ||
368 | if CPU_S3C2440 | 494 | if CPU_S3C2440 |
369 | 495 | ||
496 | config S3C2440_CPUFREQ | ||
497 | bool "S3C2440/S3C2442 CPU Frequency scaling support" | ||
498 | depends on CPU_FREQ_S3C24XX && (CPU_S3C2440 || CPU_S3C2442) | ||
499 | default y | ||
500 | select S3C2410_CPUFREQ_UTILS | ||
501 | help | ||
502 | CPU Frequency scaling support for S3C2440 and S3C2442 SoC CPUs. | ||
503 | |||
370 | config S3C2440_DMA | 504 | config S3C2440_DMA |
371 | bool | 505 | bool |
372 | help | 506 | help |
373 | Support for S3C2440 specific DMA code5A | 507 | Support for S3C2440 specific DMA code5A |
374 | 508 | ||
509 | config S3C2440_XTAL_12000000 | ||
510 | bool | ||
511 | help | ||
512 | Indicate that the build needs to support 12MHz system | ||
513 | crystal. | ||
514 | |||
515 | config S3C2440_XTAL_16934400 | ||
516 | bool | ||
517 | help | ||
518 | Indicate that the build needs to support 16.9344MHz system | ||
519 | crystal. | ||
520 | |||
521 | config S3C2440_PLL_12000000 | ||
522 | bool | ||
523 | depends on S3C2440_CPUFREQ && S3C2440_XTAL_12000000 | ||
524 | default y if CPU_FREQ_S3C24XX_PLL | ||
525 | help | ||
526 | PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals. | ||
527 | |||
528 | config S3C2440_PLL_16934400 | ||
529 | bool | ||
530 | depends on S3C2440_CPUFREQ && S3C2440_XTAL_16934400 | ||
531 | default y if CPU_FREQ_S3C24XX_PLL | ||
532 | help | ||
533 | PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals. | ||
534 | |||
375 | comment "S3C2440 Boards" | 535 | comment "S3C2440 Boards" |
376 | 536 | ||
377 | # | 537 | # |