1 # Copyright 2007 Simtec Electronics
7 depends on ARCH_S3C2410 || ARCH_S3C24A0
10 select ARCH_REQUIRE_GPIOLIB
11 select S3C_DEVICE_NAND
13 Base platform code for any Samsung S3C24XX device
17 # code that is shared between a number of the s3c24xx implementations
22 Clock code for the S3C2410, and similar processors which
23 is currently includes the S3C2410, S3C2440, S3C2442.
28 Clock code for supporting DCLK/CLKOUT on S3C24XX architectures
32 depends on ARCH_S3C2410 && (CPU_S3C2440 || CPU_S3C2442)
34 Support for S3C2440 and S3C2442 Samsung Mobile CPU based systems.
36 config S3C2440_CPUFREQ
37 bool "S3C2440/S3C2442 CPU Frequency scaling support"
38 depends on CPU_FREQ_S3C24XX && (CPU_S3C2440 || CPU_S3C2442)
39 select S3C2410_CPUFREQ_UTILS
42 CPU Frequency scaling support for S3C2440 and S3C2442 SoC CPUs.
44 config S3C2440_XTAL_12000000
47 Indicate that the build needs to support 12MHz system
50 config S3C2440_XTAL_16934400
53 Indicate that the build needs to support 16.9344MHz system
56 config S3C2440_PLL_12000000
58 depends on S3C2440_CPUFREQ && S3C2440_XTAL_12000000
59 default y if CPU_FREQ_S3C24XX_PLL
61 PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
63 config S3C2440_PLL_16934400
65 depends on S3C2440_CPUFREQ && S3C2440_XTAL_16934400
66 default y if CPU_FREQ_S3C24XX_PLL
68 PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
71 bool "PWM device support"
74 Support for exporting the PWM timer blocks via the pwm device
80 config S3C24XX_GPIO_EXTRA
82 default 128 if S3C24XX_GPIO_EXTRA128
83 default 64 if S3C24XX_GPIO_EXTRA64
86 config S3C24XX_GPIO_EXTRA64
89 Add an extra 64 gpio numbers to the available GPIO pool. This is
90 available for boards that need extra gpios for external devices.
92 config S3C24XX_GPIO_EXTRA128
95 Add an extra 128 gpio numbers to the available GPIO pool. This is
96 available for boards that need extra gpios for external devices.
101 Common power management code for systems that are
102 compatible with the Simtec style of power management
105 bool "S3C2410 DMA support"
106 depends on ARCH_S3C2410
109 S3C2410 DMA support. This is needed for drivers like sound which
110 use the S3C2410's DMA system to move data to and from the
113 config S3C2410_DMA_DEBUG
114 bool "S3C2410 DMA support debug"
115 depends on ARCH_S3C2410 && S3C2410_DMA
117 Enable debugging output for the DMA code. This option sends info
118 to the kernel log, at priority KERN_DEBUG.
121 bool "ADC common driver support"
123 Core support for the ADC block found in the S3C24XX SoC systems
124 for drivers such as the touchscreen and hwmon to use to share
127 # SPI default pin configuration code
129 config S3C24XX_SPI_BUS0_GPE11_GPE12_GPE13
132 SPI GPIO configuration code for BUS0 when connected to
133 GPE11, GPE12 and GPE13.
135 config S3C24XX_SPI_BUS1_GPG5_GPG6_GPG7
138 SPI GPIO configuration code for BUS 1 when connected to
141 config S3C24XX_SPI_BUS1_GPD8_GPD9_GPD10
144 SPI GPIO configuration code for BUS 1 when connected to
145 GPD8, GPD9 and GPD10.
147 # common code for s3c24xx based machines, such as the SMDKs.
149 # cpu frequency items common between s3c2410 and s3c2440/s3c2442
151 config S3C2410_IOTIMING
153 depends on CPU_FREQ_S3C24XX
155 Internal node to select io timing code that is common to the s3c2410
156 and s3c2440/s3c2442 cpu frequency support.
158 config S3C2410_CPUFREQ_UTILS
160 depends on CPU_FREQ_S3C24XX
162 Internal node to select timing code that is common to the s3c2410
163 and s3c2440/s3c244 cpu frequency support.
165 # cpu frequency support common to s3c2412, s3c2413 and s3c2442
167 config S3C2412_IOTIMING
169 depends on CPU_FREQ_S3C24XX && (CPU_S3C2412 || CPU_S3C2443)
171 Intel node to select io timing code that is common to the s3c2412
177 Common machine code for SMDK2410 and SMDK2440
179 config S3C24XX_SIMTEC_AUDIO
181 depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
184 Add audio devices for common Simtec S3C24XX boards