aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c24xx/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-s3c24xx/Kconfig')
-rw-r--r--arch/arm/mach-s3c24xx/Kconfig80
1 files changed, 41 insertions, 39 deletions
diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig
index f2f7088bfd22..6d9252e081ce 100644
--- a/arch/arm/mach-s3c24xx/Kconfig
+++ b/arch/arm/mach-s3c24xx/Kconfig
@@ -28,9 +28,10 @@ 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 select SAMSUNG_WDT_RESET
34 help 35 help
35 Support for S3C2410 and S3C2410A family from the S3C24XX line 36 Support for S3C2410 and S3C2410A family from the S3C24XX line
36 of Samsung Mobile CPUs. 37 of Samsung Mobile CPUs.
@@ -81,6 +82,7 @@ config CPU_S3C2442
81config CPU_S3C244X 82config CPU_S3C244X
82 def_bool y 83 def_bool y
83 depends on CPU_S3C2440 || CPU_S3C2442 84 depends on CPU_S3C2440 || CPU_S3C2442
85 select SAMSUNG_WDT_RESET
84 86
85config CPU_S3C2443 87config CPU_S3C2443
86 bool "SAMSUNG S3C2443" 88 bool "SAMSUNG S3C2443"
@@ -204,27 +206,38 @@ config S3C24XX_GPIO_EXTRA128
204 Add an extra 128 gpio numbers to the available GPIO pool. This is 206 Add an extra 128 gpio numbers to the available GPIO pool. This is
205 available for boards that need extra gpios for external devices. 207 available for boards that need extra gpios for external devices.
206 208
209config S3C24XX_PLL
210 bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)"
211 depends on ARM_S3C24XX
212 help
213 Compile in support for changing the PLL frequency from the
214 S3C24XX series CPUfreq driver. The PLL takes time to settle
215 after a frequency change, so by default it is not enabled.
216
217 This also means that the PLL tables for the selected CPU(s) will
218 be built which may increase the size of the kernel image.
219
207# cpu frequency items common between s3c2410 and s3c2440/s3c2442 220# cpu frequency items common between s3c2410 and s3c2440/s3c2442
208 221
209config S3C2410_IOTIMING 222config S3C2410_IOTIMING
210 bool 223 bool
211 depends on CPU_FREQ_S3C24XX 224 depends on ARM_S3C24XX_CPUFREQ
212 help 225 help
213 Internal node to select io timing code that is common to the s3c2410 226 Internal node to select io timing code that is common to the s3c2410
214 and s3c2440/s3c2442 cpu frequency support. 227 and s3c2440/s3c2442 cpu frequency support.
215 228
216config S3C2410_CPUFREQ_UTILS 229config S3C2410_CPUFREQ_UTILS
217 bool 230 bool
218 depends on CPU_FREQ_S3C24XX 231 depends on ARM_S3C24XX_CPUFREQ
219 help 232 help
220 Internal node to select timing code that is common to the s3c2410 233 Internal node to select timing code that is common to the s3c2410
221 and s3c2440/s3c244 cpu frequency support. 234 and s3c2440/s3c244 cpu frequency support.
222 235
223# cpu frequency support common to s3c2412, s3c2413 and s3c2442 236# cpu frequency support common to s3c2412, s3c2413 and s3c2442
224 237
225config S3C2412_IOTIMING 238config S3C2412_IOTIMING
226 bool 239 bool
227 depends on CPU_FREQ_S3C24XX && (CPU_S3C2412 || CPU_S3C2443) 240 depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2412 || CPU_S3C2443)
228 help 241 help
229 Intel node to select io timing code that is common to the s3c2412 242 Intel node to select io timing code that is common to the s3c2412
230 and the s3c2443. 243 and the s3c2443.
@@ -233,16 +246,9 @@ config S3C2412_IOTIMING
233 246
234if CPU_S3C2410 247if CPU_S3C2410
235 248
236config 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
243config S3C2410_PLL 249config S3C2410_PLL
244 bool 250 bool
245 depends on S3C2410_CPUFREQ && CPU_FREQ_S3C24XX_PLL 251 depends on ARM_S3C2410_CPUFREQ && S3C24XX_PLL
246 default y 252 default y
247 help 253 help
248 Select the PLL table for the S3C2410 254 Select the PLL table for the S3C2410
@@ -278,7 +284,7 @@ config ARCH_BAST
278 bool "Simtec Electronics BAST (EB2410ITX)" 284 bool "Simtec Electronics BAST (EB2410ITX)"
279 select ISA 285 select ISA
280 select MACH_BAST_IDE 286 select MACH_BAST_IDE
281 select S3C2410_IOTIMING if S3C2410_CPUFREQ 287 select S3C2410_IOTIMING if ARM_S3C2410_CPUFREQ
282 select S3C24XX_DCLK 288 select S3C24XX_DCLK
283 select S3C24XX_SIMTEC_NOR 289 select S3C24XX_SIMTEC_NOR
284 select S3C24XX_SIMTEC_PM if PM 290 select S3C24XX_SIMTEC_PM if PM
@@ -385,14 +391,6 @@ config CPU_S3C2412_ONLY
385 !CPU_S3C2442 && !CPU_S3C2443 391 !CPU_S3C2442 && !CPU_S3C2443
386 default y 392 default y
387 393
388config 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
396config S3C2412_DMA 394config S3C2412_DMA
397 bool 395 bool
398 help 396 help
@@ -490,18 +488,22 @@ config MACH_SMDK2416
490 help 488 help
491 Say Y here if you are using an SMDK2416 489 Say Y here if you are using an SMDK2416
492 490
491config MACH_S3C2416_DT
492 bool "Samsung S3C2416 machine using devicetree"
493 select CLKSRC_OF
494 select USE_OF
495 select PINCTRL
496 select PINCTRL_S3C24XX
497 help
498 Machine support for Samsung S3C2416 machines with device tree enabled.
499 Select this if a fdt blob is available for the S3C2416 SoC based board.
500 Note: This is under development and not all peripherals can be supported
501 with this machine file.
502
493endif # CPU_S3C2416 503endif # CPU_S3C2416
494 504
495if CPU_S3C2440 505if CPU_S3C2440
496 506
497config 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
505config S3C2440_DMA 507config S3C2440_DMA
506 bool 508 bool
507 help 509 help
@@ -521,15 +523,15 @@ config S3C2440_XTAL_16934400
521 523
522config S3C2440_PLL_12000000 524config S3C2440_PLL_12000000
523 bool 525 bool
524 depends on S3C2440_CPUFREQ && S3C2440_XTAL_12000000 526 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_12000000
525 default y if CPU_FREQ_S3C24XX_PLL 527 default y if S3C24XX_PLL
526 help 528 help
527 PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals. 529 PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
528 530
529config S3C2440_PLL_16934400 531config S3C2440_PLL_16934400
530 bool 532 bool
531 depends on S3C2440_CPUFREQ && S3C2440_XTAL_16934400 533 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_16934400
532 default y if CPU_FREQ_S3C24XX_PLL 534 default y if S3C24XX_PLL
533 help 535 help
534 PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals. 536 PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
535 537
@@ -583,7 +585,7 @@ config MACH_NEXCODER_2440
583 585
584config MACH_OSIRIS 586config MACH_OSIRIS
585 bool "Simtec IM2440D20 (OSIRIS) module" 587 bool "Simtec IM2440D20 (OSIRIS) module"
586 select S3C2410_IOTIMING if S3C2440_CPUFREQ 588 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
587 select S3C2440_XTAL_12000000 589 select S3C2440_XTAL_12000000
588 select S3C24XX_DCLK 590 select S3C24XX_DCLK
589 select S3C24XX_GPIO_EXTRA128 591 select S3C24XX_GPIO_EXTRA128
@@ -655,7 +657,7 @@ config MACH_RX1950
655 bool "HP iPAQ rx1950" 657 bool "HP iPAQ rx1950"
656 select I2C 658 select I2C
657 select PM_H1940 if PM 659 select PM_H1940 if PM
658 select S3C2410_IOTIMING if S3C2440_CPUFREQ 660 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
659 select S3C2440_XTAL_16934400 661 select S3C2440_XTAL_16934400
660 select S3C24XX_DCLK 662 select S3C24XX_DCLK
661 select S3C24XX_PWM 663 select S3C24XX_PWM