diff options
Diffstat (limited to 'arch/arm/mach-s3c24xx/Kconfig')
-rw-r--r-- | arch/arm/mach-s3c24xx/Kconfig | 66 |
1 files changed, 27 insertions, 39 deletions
diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig index f2f7088bfd22..ed8aadc646f9 100644 --- a/arch/arm/mach-s3c24xx/Kconfig +++ b/arch/arm/mach-s3c24xx/Kconfig | |||
@@ -28,7 +28,7 @@ config CPU_S3C2410 | |||
28 | select CPU_ARM920T | 28 | select CPU_ARM920T |
29 | select CPU_LLSERIAL_S3C2410 | 29 | select CPU_LLSERIAL_S3C2410 |
30 | select S3C2410_CLOCK | 30 | select S3C2410_CLOCK |
31 | select S3C2410_CPUFREQ if CPU_FREQ_S3C24XX | 31 | select ARM_S3C2410_CPUFREQ if ARM_S3C24XX_CPUFREQ |
32 | select S3C2410_PM if PM | 32 | select S3C2410_PM if PM |
33 | select SAMSUNG_HRT | 33 | select SAMSUNG_HRT |
34 | help | 34 | help |
@@ -204,27 +204,38 @@ config S3C24XX_GPIO_EXTRA128 | |||
204 | Add an extra 128 gpio numbers to the available GPIO pool. This is | 204 | Add an extra 128 gpio numbers to the available GPIO pool. This is |
205 | available for boards that need extra gpios for external devices. | 205 | available for boards that need extra gpios for external devices. |
206 | 206 | ||
207 | config S3C24XX_PLL | ||
208 | bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)" | ||
209 | depends on ARM_S3C24XX | ||
210 | help | ||
211 | Compile in support for changing the PLL frequency from the | ||
212 | S3C24XX series CPUfreq driver. The PLL takes time to settle | ||
213 | after a frequency change, so by default it is not enabled. | ||
214 | |||
215 | This also means that the PLL tables for the selected CPU(s) will | ||
216 | be built which may increase the size of the kernel image. | ||
217 | |||
207 | # cpu frequency items common between s3c2410 and s3c2440/s3c2442 | 218 | # cpu frequency items common between s3c2410 and s3c2440/s3c2442 |
208 | 219 | ||
209 | config S3C2410_IOTIMING | 220 | config S3C2410_IOTIMING |
210 | bool | 221 | bool |
211 | depends on CPU_FREQ_S3C24XX | 222 | depends on ARM_S3C24XX_CPUFREQ |
212 | help | 223 | help |
213 | Internal node to select io timing code that is common to the s3c2410 | 224 | Internal node to select io timing code that is common to the s3c2410 |
214 | and s3c2440/s3c2442 cpu frequency support. | 225 | and s3c2440/s3c2442 cpu frequency support. |
215 | 226 | ||
216 | config S3C2410_CPUFREQ_UTILS | 227 | config S3C2410_CPUFREQ_UTILS |
217 | bool | 228 | bool |
218 | depends on CPU_FREQ_S3C24XX | 229 | depends on ARM_S3C24XX_CPUFREQ |
219 | help | 230 | help |
220 | Internal node to select timing code that is common to the s3c2410 | 231 | Internal node to select timing code that is common to the s3c2410 |
221 | and s3c2440/s3c244 cpu frequency support. | 232 | and s3c2440/s3c244 cpu frequency support. |
222 | 233 | ||
223 | # cpu frequency support common to s3c2412, s3c2413 and s3c2442 | 234 | # cpu frequency support common to s3c2412, s3c2413 and s3c2442 |
224 | 235 | ||
225 | config S3C2412_IOTIMING | 236 | config S3C2412_IOTIMING |
226 | bool | 237 | bool |
227 | depends on CPU_FREQ_S3C24XX && (CPU_S3C2412 || CPU_S3C2443) | 238 | depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2412 || CPU_S3C2443) |
228 | help | 239 | help |
229 | Intel node to select io timing code that is common to the s3c2412 | 240 | Intel node to select io timing code that is common to the s3c2412 |
230 | and the s3c2443. | 241 | and the s3c2443. |
@@ -233,16 +244,9 @@ config S3C2412_IOTIMING | |||
233 | 244 | ||
234 | if CPU_S3C2410 | 245 | if CPU_S3C2410 |
235 | 246 | ||
236 | config S3C2410_CPUFREQ | ||
237 | bool | ||
238 | depends on CPU_FREQ_S3C24XX | ||
239 | select S3C2410_CPUFREQ_UTILS | ||
240 | help | ||
241 | CPU Frequency scaling support for S3C2410 | ||
242 | |||
243 | config S3C2410_PLL | 247 | config S3C2410_PLL |
244 | bool | 248 | bool |
245 | depends on S3C2410_CPUFREQ && CPU_FREQ_S3C24XX_PLL | 249 | depends on ARM_S3C2410_CPUFREQ && S3C24XX_PLL |
246 | default y | 250 | default y |
247 | help | 251 | help |
248 | Select the PLL table for the S3C2410 | 252 | Select the PLL table for the S3C2410 |
@@ -278,7 +282,7 @@ config ARCH_BAST | |||
278 | bool "Simtec Electronics BAST (EB2410ITX)" | 282 | bool "Simtec Electronics BAST (EB2410ITX)" |
279 | select ISA | 283 | select ISA |
280 | select MACH_BAST_IDE | 284 | select MACH_BAST_IDE |
281 | select S3C2410_IOTIMING if S3C2410_CPUFREQ | 285 | select S3C2410_IOTIMING if ARM_S3C2410_CPUFREQ |
282 | select S3C24XX_DCLK | 286 | select S3C24XX_DCLK |
283 | select S3C24XX_SIMTEC_NOR | 287 | select S3C24XX_SIMTEC_NOR |
284 | select S3C24XX_SIMTEC_PM if PM | 288 | select S3C24XX_SIMTEC_PM if PM |
@@ -385,14 +389,6 @@ config CPU_S3C2412_ONLY | |||
385 | !CPU_S3C2442 && !CPU_S3C2443 | 389 | !CPU_S3C2442 && !CPU_S3C2443 |
386 | default y | 390 | default y |
387 | 391 | ||
388 | config S3C2412_CPUFREQ | ||
389 | bool | ||
390 | depends on CPU_FREQ_S3C24XX | ||
391 | default y | ||
392 | select S3C2412_IOTIMING | ||
393 | help | ||
394 | CPU Frequency scaling support for S3C2412 and S3C2413 SoC CPUs. | ||
395 | |||
396 | config S3C2412_DMA | 392 | config S3C2412_DMA |
397 | bool | 393 | bool |
398 | help | 394 | help |
@@ -494,14 +490,6 @@ endif # CPU_S3C2416 | |||
494 | 490 | ||
495 | if CPU_S3C2440 | 491 | if CPU_S3C2440 |
496 | 492 | ||
497 | config S3C2440_CPUFREQ | ||
498 | bool "S3C2440/S3C2442 CPU Frequency scaling support" | ||
499 | depends on CPU_FREQ_S3C24XX && (CPU_S3C2440 || CPU_S3C2442) | ||
500 | default y | ||
501 | select S3C2410_CPUFREQ_UTILS | ||
502 | help | ||
503 | CPU Frequency scaling support for S3C2440 and S3C2442 SoC CPUs. | ||
504 | |||
505 | config S3C2440_DMA | 493 | config S3C2440_DMA |
506 | bool | 494 | bool |
507 | help | 495 | help |
@@ -521,15 +509,15 @@ config S3C2440_XTAL_16934400 | |||
521 | 509 | ||
522 | config S3C2440_PLL_12000000 | 510 | config S3C2440_PLL_12000000 |
523 | bool | 511 | bool |
524 | depends on S3C2440_CPUFREQ && S3C2440_XTAL_12000000 | 512 | depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_12000000 |
525 | default y if CPU_FREQ_S3C24XX_PLL | 513 | default y if S3C24XX_PLL |
526 | help | 514 | help |
527 | PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals. | 515 | PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals. |
528 | 516 | ||
529 | config S3C2440_PLL_16934400 | 517 | config S3C2440_PLL_16934400 |
530 | bool | 518 | bool |
531 | depends on S3C2440_CPUFREQ && S3C2440_XTAL_16934400 | 519 | depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_16934400 |
532 | default y if CPU_FREQ_S3C24XX_PLL | 520 | default y if S3C24XX_PLL |
533 | help | 521 | help |
534 | PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals. | 522 | PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals. |
535 | 523 | ||
@@ -583,7 +571,7 @@ config MACH_NEXCODER_2440 | |||
583 | 571 | ||
584 | config MACH_OSIRIS | 572 | config MACH_OSIRIS |
585 | bool "Simtec IM2440D20 (OSIRIS) module" | 573 | bool "Simtec IM2440D20 (OSIRIS) module" |
586 | select S3C2410_IOTIMING if S3C2440_CPUFREQ | 574 | select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ |
587 | select S3C2440_XTAL_12000000 | 575 | select S3C2440_XTAL_12000000 |
588 | select S3C24XX_DCLK | 576 | select S3C24XX_DCLK |
589 | select S3C24XX_GPIO_EXTRA128 | 577 | select S3C24XX_GPIO_EXTRA128 |
@@ -655,7 +643,7 @@ config MACH_RX1950 | |||
655 | bool "HP iPAQ rx1950" | 643 | bool "HP iPAQ rx1950" |
656 | select I2C | 644 | select I2C |
657 | select PM_H1940 if PM | 645 | select PM_H1940 if PM |
658 | select S3C2410_IOTIMING if S3C2440_CPUFREQ | 646 | select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ |
659 | select S3C2440_XTAL_16934400 | 647 | select S3C2440_XTAL_16934400 |
660 | select S3C24XX_DCLK | 648 | select S3C24XX_DCLK |
661 | select S3C24XX_PWM | 649 | select S3C24XX_PWM |