1 # Copyright 2008 Openmoko, Inc.
2 # Simtec Electronics, Ben Dooks <ben@simtec.co.uk>
6 # temporary until we can eliminate all drivers using it.
9 depends on ARCH_S3C64XX
11 select PM_GENERIC_DOMAINS
12 select SAMSUNG_WAKEMASK
14 Base platform code for any Samsung S3C64XX device
17 # Configuration options for the S3C6410 CPU
23 Enable S3C6400 CPU support
29 Enable S3C6410 CPU support
35 config S3C64XX_SETUP_SDHCI
37 select S3C64XX_SETUP_SDHCI_GPIO
39 Internal configuration for default SDHCI setup for S3C6400 and
42 config S3C64XX_DEV_ONENAND1
45 Compile in platform device definition for OneNAND1 controller
47 # platform specific device setup
49 config S3C64XX_SETUP_I2C0
53 Common setup code for i2c bus 0.
55 Note, currently since i2c0 is always compiled, this setup helper
56 is always compiled with it.
58 config S3C64XX_SETUP_I2C1
61 Common setup code for i2c bus 1.
63 config S3C64XX_SETUP_IDE
66 Common setup code for S3C64XX IDE.
68 config S3C64XX_SETUP_FB_24BPP
71 Common setup code for S3C64XX with an 24bpp RGB display helper.
73 config S3C64XX_SETUP_KEYPAD
76 Common setup code for S3C64XX KEYPAD GPIO configurations
78 config S3C64XX_SETUP_SDHCI_GPIO
81 Common setup code for S3C64XX SDHCI GPIO configurations
83 config S3C64XX_SETUP_SPI
86 Common setup code for SPI GPIO configurations
88 config S3C64XX_SETUP_USB_PHY
91 Common setup code for USB PHY controller
93 # S36400 Macchine support
98 select S3C64XX_SETUP_SDHCI
102 Machine support for the Samsung SMDK6400
104 # S3C6410 machine support
109 select S3C64XX_SETUP_FB_24BPP
112 Machine support for the A&W6410
117 select S3C64XX_SETUP_FB_24BPP
118 select S3C64XX_SETUP_SDHCI
121 select S3C_DEV_HSMMC1
123 select S3C_DEV_USB_HOST
124 select SAMSUNG_DEV_ADC
125 select SAMSUNG_DEV_TS
127 Machine support for the FriendlyARM MINI6410
132 select S3C64XX_SETUP_FB_24BPP
133 select S3C64XX_SETUP_SDHCI
136 select S3C_DEV_HSMMC1
138 select S3C_DEV_USB_HOST
139 select SAMSUNG_DEV_ADC
140 select SAMSUNG_DEV_TS
142 Machine support for the CoreWind REAL6410
147 select HAVE_S3C2410_WATCHDOG if WATCHDOG
148 select S3C64XX_SETUP_FB_24BPP
149 select S3C64XX_SETUP_I2C1
150 select S3C64XX_SETUP_IDE
151 select S3C64XX_SETUP_KEYPAD
152 select S3C64XX_SETUP_SDHCI
153 select S3C64XX_SETUP_USB_PHY
156 select S3C_DEV_HSMMC1
159 select S3C_DEV_USB_HOST
160 select S3C_DEV_USB_HSOTG
162 select SAMSUNG_DEV_ADC
163 select SAMSUNG_DEV_BACKLIGHT
164 select SAMSUNG_DEV_IDE
165 select SAMSUNG_DEV_KEYPAD
166 select SAMSUNG_DEV_PWM
167 select SAMSUNG_DEV_TS
169 Machine support for the Samsung SMDK6410
171 # At least some of the SMDK6410s were shipped with the card detect
172 # for the MMC/SD slots connected to the same input. This means that
173 # either the boards need to be altered to have channel0 to an alternate
174 # configuration or that only one slot can be used.
177 prompt "SMDK6410 MMC/SD slot setup"
178 depends on MACH_SMDK6410
180 config SMDK6410_SD_CH0
181 bool "Use channel 0 only"
182 depends on MACH_SMDK6410
184 Select CON7 (channel 0) as the MMC/SD slot, as
185 at least some SMDK6410 boards come with the
186 resistors fitted so that the card detects for
187 channels 0 and 1 are the same.
189 config SMDK6410_SD_CH1
190 bool "Use channel 1 only"
191 depends on MACH_SMDK6410
193 Select CON6 (channel 1) as the MMC/SD slot, as
194 at least some SMDK6410 boards come with the
195 resistors fitted so that the card detects for
196 channels 0 and 1 are the same.
200 config SMDK6410_WM1190_EV1
201 bool "Support Wolfson Microelectronics 1190-EV1 PMIC card"
202 depends on MACH_SMDK6410
203 select MFD_WM8350_I2C
205 select REGULATOR_WM8350
206 select SAMSUNG_GPIO_EXTRA64
208 The Wolfson Microelectronics 1190-EV1 is a WM835x based PMIC
209 and audio daughtercard for the Samsung SMDK6410 reference
210 platform. Enabling this option will build support for this
211 module into the kernel. The presence of the module will be
212 detected at runtime so the resulting kernel can be used
213 with or without the 1190-EV1 fitted.
215 config SMDK6410_WM1192_EV1
216 bool "Support Wolfson Microelectronics 1192-EV1 PMIC card"
217 depends on MACH_SMDK6410
219 select MFD_WM831X_I2C
221 select REGULATOR_WM831X
222 select SAMSUNG_GPIO_EXTRA64
224 The Wolfson Microelectronics 1192-EV1 is a WM831x based PMIC
225 daughtercard for the Samsung SMDK6410 reference platform.
226 Enabling this option will build support for this module into
227 the kernel. The presence of the daughtercard will be
228 detected at runtime so the resulting kernel can be used
229 with or without the 1192-EV1 fitted.
234 select S3C64XX_SETUP_I2C1
235 select S3C_DEV_HSMMC1
238 Machine support for the Samsung NCP
243 select S3C64XX_SETUP_FB_24BPP
246 select S3C_DEV_USB_HOST
247 select SAMSUNG_DEV_PWM
249 Machine support for the Airgoo HMT
254 select S3C64XX_SETUP_FB_24BPP
255 select S3C64XX_SETUP_SDHCI
256 select S3C64XX_SETUP_USB_PHY
259 select S3C_DEV_HSMMC1
260 select S3C_DEV_HSMMC2
263 select S3C_DEV_USB_HOST
264 select S3C_DEV_USB_HSOTG
265 select SAMSUNG_DEV_ADC
266 select SAMSUNG_DEV_PWM
267 select SAMSUNG_DEV_TS
269 Shared machine support for SmartQ 5/7
275 Machine support for the SmartQ 5
281 Machine support for the SmartQ 7
283 config MACH_WLF_CRAGG_6410
284 bool "Wolfson Cragganmore 6410"
287 select LEDS_GPIO_REGISTER
288 select S3C64XX_DEV_SPI0
289 select S3C64XX_SETUP_FB_24BPP
290 select S3C64XX_SETUP_I2C1
291 select S3C64XX_SETUP_IDE
292 select S3C64XX_SETUP_KEYPAD
293 select S3C64XX_SETUP_SDHCI
294 select S3C64XX_SETUP_SPI
295 select S3C64XX_SETUP_USB_PHY
298 select S3C_DEV_HSMMC1
299 select S3C_DEV_HSMMC2
302 select S3C_DEV_USB_HOST
303 select S3C_DEV_USB_HSOTG
305 select SAMSUNG_DEV_ADC
306 select SAMSUNG_DEV_KEYPAD
307 select SAMSUNG_DEV_PWM
308 select SAMSUNG_GPIO_EXTRA128
310 Machine support for the Wolfson Cragganmore S3C6410 variant.