Merge branch 'tda998x-devel' of git://ftp.arm.linux.org.uk/~rmk/linux-cubox into...
[sfrench/cifs-2.6.git] / arch / arm / mach-s3c64xx / Kconfig
1 # Copyright 2008 Openmoko, Inc.
2 #       Simtec Electronics, Ben Dooks <ben@simtec.co.uk>
3 #
4 # Licensed under GPLv2
5
6 if ARCH_S3C64XX
7
8 # Configuration options for the S3C6410 CPU
9
10 config CPU_S3C6400
11         bool
12         help
13           Enable S3C6400 CPU support
14
15 config CPU_S3C6410
16         bool
17         help
18           Enable S3C6410 CPU support
19
20 config S3C64XX_PL080
21         bool "S3C64XX DMA using generic PL08x driver"
22         select AMBA_PL08X
23         select SAMSUNG_DMADEV
24
25 config S3C64XX_SETUP_SDHCI
26         bool
27         select S3C64XX_SETUP_SDHCI_GPIO
28         help
29           Internal configuration for default SDHCI setup for S3C6400 and
30           S3C6410 SoCs.
31
32 config S3C64XX_DEV_ONENAND1
33         bool
34         help
35           Compile in platform device definition for OneNAND1 controller
36
37 # platform specific device setup
38
39 config S3C64XX_SETUP_I2C0
40         bool
41         default y
42         help
43           Common setup code for i2c bus 0.
44
45           Note, currently since i2c0 is always compiled, this setup helper
46           is always compiled with it.
47
48 config S3C64XX_SETUP_I2C1
49         bool
50         help
51           Common setup code for i2c bus 1.
52
53 config S3C64XX_SETUP_IDE
54         bool
55         help
56           Common setup code for S3C64XX IDE.
57
58 config S3C64XX_SETUP_FB_24BPP
59         bool
60         help
61           Common setup code for S3C64XX with an 24bpp RGB display helper.
62
63 config S3C64XX_SETUP_KEYPAD
64         bool
65         help
66           Common setup code for S3C64XX KEYPAD GPIO configurations
67
68 config S3C64XX_SETUP_SDHCI_GPIO
69         bool
70         help
71           Common setup code for S3C64XX SDHCI GPIO configurations
72
73 config S3C64XX_SETUP_SPI
74         bool
75         help
76          Common setup code for SPI GPIO configurations
77
78 config S3C64XX_SETUP_USB_PHY
79         bool
80         help
81           Common setup code for USB PHY controller
82
83 # S36400 Macchine support
84
85 config MACH_SMDK6400
86        bool "SMDK6400"
87         select CPU_S3C6400
88         select S3C64XX_SETUP_SDHCI
89         select S3C_DEV_HSMMC
90         select S3C_DEV_NAND
91         help
92           Machine support for the Samsung SMDK6400
93
94 # S3C6410 machine support
95
96 config MACH_ANW6410
97         bool "A&W6410"
98         select CPU_S3C6410
99         select S3C64XX_SETUP_FB_24BPP
100         select S3C_DEV_FB
101         help
102           Machine support for the A&W6410
103
104 config MACH_MINI6410
105         bool "MINI6410"
106         select CPU_S3C6410
107         select S3C64XX_SETUP_FB_24BPP
108         select S3C64XX_SETUP_SDHCI
109         select S3C_DEV_FB
110         select S3C_DEV_HSMMC
111         select S3C_DEV_HSMMC1
112         select S3C_DEV_NAND
113         select S3C_DEV_USB_HOST
114         select SAMSUNG_DEV_ADC
115         select SAMSUNG_DEV_TS
116         help
117           Machine support for the FriendlyARM MINI6410
118
119 config MACH_REAL6410
120         bool "REAL6410"
121         select CPU_S3C6410
122         select S3C64XX_SETUP_FB_24BPP
123         select S3C64XX_SETUP_SDHCI
124         select S3C_DEV_FB
125         select S3C_DEV_HSMMC
126         select S3C_DEV_HSMMC1
127         select S3C_DEV_NAND
128         select S3C_DEV_USB_HOST
129         select SAMSUNG_DEV_ADC
130         select SAMSUNG_DEV_TS
131         help
132           Machine support for the CoreWind REAL6410
133
134 config MACH_SMDK6410
135         bool "SMDK6410"
136         select CPU_S3C6410
137         select HAVE_S3C2410_WATCHDOG if WATCHDOG
138         select S3C64XX_SETUP_FB_24BPP
139         select S3C64XX_SETUP_I2C1
140         select S3C64XX_SETUP_IDE
141         select S3C64XX_SETUP_KEYPAD
142         select S3C64XX_SETUP_SDHCI
143         select S3C64XX_SETUP_USB_PHY
144         select S3C_DEV_FB
145         select S3C_DEV_HSMMC
146         select S3C_DEV_HSMMC1
147         select S3C_DEV_I2C1
148         select S3C_DEV_RTC
149         select S3C_DEV_USB_HOST
150         select S3C_DEV_USB_HSOTG
151         select S3C_DEV_WDT
152         select SAMSUNG_DEV_ADC
153         select SAMSUNG_DEV_BACKLIGHT
154         select SAMSUNG_DEV_IDE
155         select SAMSUNG_DEV_KEYPAD
156         select SAMSUNG_DEV_PWM
157         select SAMSUNG_DEV_TS
158         help
159           Machine support for the Samsung SMDK6410
160
161 # At least some of the SMDK6410s were shipped with the card detect
162 # for the MMC/SD slots connected to the same input. This means that
163 # either the boards need to be altered to have channel0 to an alternate
164 # configuration or that only one slot can be used.
165
166 choice
167         prompt "SMDK6410 MMC/SD slot setup"
168         depends on MACH_SMDK6410
169
170 config SMDK6410_SD_CH0
171         bool "Use channel 0 only"
172         depends on MACH_SMDK6410
173         help
174           Select CON7 (channel 0) as the MMC/SD slot, as
175           at least some SMDK6410 boards come with the
176           resistors fitted so that the card detects for
177           channels 0 and 1 are the same.
178
179 config SMDK6410_SD_CH1
180         bool "Use channel 1 only"
181         depends on MACH_SMDK6410
182         help
183           Select CON6 (channel 1) as the MMC/SD slot, as
184           at least some SMDK6410 boards come with the
185           resistors fitted so that the card detects for
186           channels 0 and 1 are the same.
187
188 endchoice
189
190 config SMDK6410_WM1190_EV1
191         bool "Support Wolfson Microelectronics 1190-EV1 PMIC card"
192         depends on MACH_SMDK6410
193         select MFD_WM8350_I2C
194         select REGULATOR
195         select REGULATOR_WM8350
196         help
197           The Wolfson Microelectronics 1190-EV1 is a WM835x based PMIC
198           and audio daughtercard for the Samsung SMDK6410 reference
199           platform.  Enabling this option will build support for this
200           module into the kernel.  The presence of the module will be
201           detected at runtime so the resulting kernel can be used
202           with or without the 1190-EV1 fitted.
203
204 config SMDK6410_WM1192_EV1
205         bool "Support Wolfson Microelectronics 1192-EV1 PMIC card"
206         depends on MACH_SMDK6410
207         select MFD_WM831X
208         select MFD_WM831X_I2C
209         select REGULATOR
210         select REGULATOR_WM831X
211         help
212           The Wolfson Microelectronics 1192-EV1 is a WM831x based PMIC
213           daughtercard for the Samsung SMDK6410 reference platform.
214           Enabling this option will build support for this module into
215           the kernel.  The presence of the daughtercard will be
216           detected at runtime so the resulting kernel can be used
217           with or without the 1192-EV1 fitted.
218
219 config MACH_NCP
220         bool "NCP"
221         select CPU_S3C6410
222         select S3C64XX_SETUP_I2C1
223         select S3C_DEV_HSMMC1
224         select S3C_DEV_I2C1
225         help
226           Machine support for the Samsung NCP
227
228 config MACH_HMT
229         bool "Airgoo HMT"
230         select CPU_S3C6410
231         select S3C64XX_SETUP_FB_24BPP
232         select S3C_DEV_FB
233         select S3C_DEV_NAND
234         select S3C_DEV_USB_HOST
235         select SAMSUNG_DEV_PWM
236         help
237           Machine support for the Airgoo HMT
238
239 config MACH_SMARTQ
240         bool
241         select CPU_S3C6410
242         select S3C64XX_SETUP_FB_24BPP
243         select S3C64XX_SETUP_SDHCI
244         select S3C64XX_SETUP_USB_PHY
245         select S3C_DEV_FB
246         select S3C_DEV_HSMMC
247         select S3C_DEV_HSMMC1
248         select S3C_DEV_HSMMC2
249         select S3C_DEV_HWMON
250         select S3C_DEV_RTC
251         select S3C_DEV_USB_HOST
252         select S3C_DEV_USB_HSOTG
253         select SAMSUNG_DEV_ADC
254         select SAMSUNG_DEV_PWM
255         select SAMSUNG_DEV_TS
256         help
257             Shared machine support for SmartQ 5/7
258
259 config MACH_SMARTQ5
260         bool "SmartQ 5"
261         select MACH_SMARTQ
262         help
263             Machine support for the SmartQ 5
264
265 config MACH_SMARTQ7
266         bool "SmartQ 7"
267         select MACH_SMARTQ
268         help
269             Machine support for the SmartQ 7
270
271 config MACH_WLF_CRAGG_6410
272         bool "Wolfson Cragganmore 6410"
273         select CPU_S3C6410
274         select I2C
275         select LEDS_GPIO_REGISTER
276         select S3C64XX_DEV_SPI0
277         select S3C64XX_SETUP_FB_24BPP
278         select S3C64XX_SETUP_I2C1
279         select S3C64XX_SETUP_IDE
280         select S3C64XX_SETUP_KEYPAD
281         select S3C64XX_SETUP_SDHCI
282         select S3C64XX_SETUP_SPI
283         select S3C64XX_SETUP_USB_PHY
284         select S3C_DEV_FB
285         select S3C_DEV_HSMMC
286         select S3C_DEV_HSMMC1
287         select S3C_DEV_HSMMC2
288         select S3C_DEV_I2C1
289         select S3C_DEV_RTC
290         select S3C_DEV_USB_HOST
291         select S3C_DEV_USB_HSOTG
292         select S3C_DEV_WDT
293         select SAMSUNG_DEV_ADC
294         select SAMSUNG_DEV_KEYPAD
295         select SAMSUNG_DEV_PWM
296         help
297           Machine support for the Wolfson Cragganmore S3C6410 variant.
298
299 config MACH_S3C64XX_DT
300         bool "Samsung S3C6400/S3C6410 machine using Device Tree"
301         select CLKSRC_OF
302         select CPU_S3C6400
303         select CPU_S3C6410
304         select PINCTRL
305         select PINCTRL_S3C64XX
306         select USE_OF
307         help
308           Machine support for Samsung S3C6400/S3C6410 machines with Device Tree
309           enabled.
310           Select this if a fdt blob is available for your S3C64XX SoC based
311           board.
312           Note: This is under development and not all peripherals can be
313           supported with this machine file.
314
315 endif