1 # arch/arm/plat-s3c24xx/Kconfig
3 # Copyright 2007 Simtec Electronics
9 depends on ARCH_S3C2410 || ARCH_S3C24A0
12 select ARCH_REQUIRE_GPIOLIB
14 Base platform code for any Samsung S3C24XX device
18 # code that is shared between a number of the s3c24xx implementations
23 Clock code for the S3C2410, and similar processors which
24 is currently includes the S3C2410, S3C2440, S3C2442.
29 Clock code for supporting DCLK/CLKOUT on S3C24XX architectures
33 depends on ARCH_S3C2410 && (CPU_S3C2440 || CPU_S3C2442)
35 Support for S3C2440 and S3C2442 Samsung Mobile CPU based systems.
37 config S3C2440_CPUFREQ
38 bool "S3C2440/S3C2442 CPU Frequency scaling support"
39 depends on CPU_FREQ_S3C24XX && (CPU_S3C2440 || CPU_S3C2442)
40 select S3C2410_CPUFREQ_UTILS
43 CPU Frequency scaling support for S3C2440 and S3C2442 SoC CPUs.
45 config S3C2440_PLL_12000000
47 depends on S3C2440_CPUFREQ
48 default y if CPU_FREQ_S3C24XX_PLL
50 PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
52 config S3C2440_PLL_16934400
54 depends on S3C2440_CPUFREQ
55 default y if CPU_FREQ_S3C24XX_PLL
57 PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
60 bool "PWM device support"
63 Support for exporting the PWM timer blocks via the pwm device
69 config S3C24XX_GPIO_EXTRA
71 default 128 if S3C24XX_GPIO_EXTRA128
72 default 64 if S3C24XX_GPIO_EXTRA64
75 config S3C24XX_GPIO_EXTRA64
78 Add an extra 64 gpio numbers to the available GPIO pool. This is
79 available for boards that need extra gpios for external devices.
81 config S3C24XX_GPIO_EXTRA128
84 Add an extra 128 gpio numbers to the available GPIO pool. This is
85 available for boards that need extra gpios for external devices.
90 Common power management code for systems that are
91 compatible with the Simtec style of power management
94 bool "S3C2410 DMA support"
95 depends on ARCH_S3C2410
98 S3C2410 DMA support. This is needed for drivers like sound which
99 use the S3C2410's DMA system to move data to and from the
102 config S3C2410_DMA_DEBUG
103 bool "S3C2410 DMA support debug"
104 depends on ARCH_S3C2410 && S3C2410_DMA
106 Enable debugging output for the DMA code. This option sends info
107 to the kernel log, at priority KERN_DEBUG.
110 bool "ADC common driver support"
112 Core support for the ADC block found in the S3C24XX SoC systems
113 for drivers such as the touchscreen and hwmon to use to share
116 # SPI default pin configuration code
118 config S3C24XX_SPI_BUS0_GPE11_GPE12_GPE13
121 SPI GPIO configuration code for BUS0 when connected to
122 GPE11, GPE12 and GPE13.
124 config S3C24XX_SPI_BUS1_GPG5_GPG6_GPG7
127 SPI GPIO configuration code for BUS 1 when connected to
130 # common code for s3c24xx based machines, such as the SMDKs.
132 # cpu frequency items common between s3c2410 and s3c2440/s3c2442
134 config S3C2410_IOTIMING
136 depends on CPU_FREQ_S3C24XX
138 Internal node to select io timing code that is common to the s3c2410
139 and s3c2440/s3c2442 cpu frequency support.
141 config S3C2410_CPUFREQ_UTILS
143 depends on CPU_FREQ_S3C24XX
145 Internal node to select timing code that is common to the s3c2410
146 and s3c2440/s3c244 cpu frequency support.
151 Common machine code for SMDK2410 and SMDK2440