Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / 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         def_bool DMADEVICES
22         select ARM_AMBA
23         select AMBA_PL08X
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_HSMMC1
90         help
91           Machine support for the Samsung SMDK6400
92
93 # S3C6410 machine support
94
95 config MACH_ANW6410
96         bool "A&W6410"
97         select CPU_S3C6410
98         select S3C64XX_SETUP_FB_24BPP
99         select S3C_DEV_FB
100         help
101           Machine support for the A&W6410
102
103 config MACH_MINI6410
104         bool "MINI6410"
105         select CPU_S3C6410
106         select S3C64XX_SETUP_FB_24BPP
107         select S3C64XX_SETUP_SDHCI
108         select S3C_DEV_FB
109         select S3C_DEV_HSMMC
110         select S3C_DEV_HSMMC1
111         select S3C_DEV_NAND
112         select S3C_DEV_USB_HOST
113         select SAMSUNG_DEV_ADC
114         select SAMSUNG_DEV_TS
115         help
116           Machine support for the FriendlyARM MINI6410
117
118 config MACH_REAL6410
119         bool "REAL6410"
120         select CPU_S3C6410
121         select S3C64XX_SETUP_FB_24BPP
122         select S3C64XX_SETUP_SDHCI
123         select S3C_DEV_FB
124         select S3C_DEV_HSMMC
125         select S3C_DEV_HSMMC1
126         select S3C_DEV_NAND
127         select S3C_DEV_USB_HOST
128         select SAMSUNG_DEV_ADC
129         select SAMSUNG_DEV_TS
130         help
131           Machine support for the CoreWind REAL6410
132
133 config MACH_SMDK6410
134         bool "SMDK6410"
135         select CPU_S3C6410
136         select HAVE_S3C2410_WATCHDOG if WATCHDOG
137         select S3C64XX_SETUP_FB_24BPP
138         select S3C64XX_SETUP_I2C1
139         select S3C64XX_SETUP_IDE
140         select S3C64XX_SETUP_KEYPAD
141         select S3C64XX_SETUP_SDHCI
142         select S3C64XX_SETUP_USB_PHY
143         select S3C_DEV_FB
144         select S3C_DEV_HSMMC
145         select S3C_DEV_HSMMC1
146         select S3C_DEV_I2C1
147         select S3C_DEV_RTC
148         select S3C_DEV_USB_HOST
149         select S3C_DEV_USB_HSOTG
150         select S3C_DEV_WDT
151         select SAMSUNG_DEV_ADC
152         select SAMSUNG_DEV_BACKLIGHT
153         select SAMSUNG_DEV_IDE
154         select SAMSUNG_DEV_KEYPAD
155         select SAMSUNG_DEV_PWM
156         select SAMSUNG_DEV_TS
157         help
158           Machine support for the Samsung SMDK6410
159
160 # At least some of the SMDK6410s were shipped with the card detect
161 # for the MMC/SD slots connected to the same input. This means that
162 # either the boards need to be altered to have channel0 to an alternate
163 # configuration or that only one slot can be used.
164
165 choice
166         prompt "SMDK6410 MMC/SD slot setup"
167         depends on MACH_SMDK6410
168
169 config SMDK6410_SD_CH0
170         bool "Use channel 0 only"
171         depends on MACH_SMDK6410
172         help
173           Select CON7 (channel 0) as the MMC/SD slot, as
174           at least some SMDK6410 boards come with the
175           resistors fitted so that the card detects for
176           channels 0 and 1 are the same.
177
178 config SMDK6410_SD_CH1
179         bool "Use channel 1 only"
180         depends on MACH_SMDK6410
181         help
182           Select CON6 (channel 1) as the MMC/SD slot, as
183           at least some SMDK6410 boards come with the
184           resistors fitted so that the card detects for
185           channels 0 and 1 are the same.
186
187 endchoice
188
189 config SMDK6410_WM1190_EV1
190         bool "Support Wolfson Microelectronics 1190-EV1 PMIC card"
191         depends on MACH_SMDK6410
192         depends on I2C=y
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         depends on I2C=y
208         select MFD_WM831X
209         select MFD_WM831X_I2C
210         select REGULATOR
211         select REGULATOR_WM831X
212         help
213           The Wolfson Microelectronics 1192-EV1 is a WM831x based PMIC
214           daughtercard for the Samsung SMDK6410 reference platform.
215           Enabling this option will build support for this module into
216           the kernel.  The presence of the daughtercard will be
217           detected at runtime so the resulting kernel can be used
218           with or without the 1192-EV1 fitted.
219
220 config MACH_NCP
221         bool "NCP"
222         select CPU_S3C6410
223         select S3C64XX_SETUP_I2C1
224         select S3C_DEV_HSMMC1
225         select S3C_DEV_I2C1
226         help
227           Machine support for the Samsung NCP
228
229 config MACH_HMT
230         bool "Airgoo HMT"
231         select CPU_S3C6410
232         select S3C64XX_SETUP_FB_24BPP
233         select S3C_DEV_FB
234         select S3C_DEV_NAND
235         select S3C_DEV_USB_HOST
236         select SAMSUNG_DEV_PWM
237         help
238           Machine support for the Airgoo HMT
239
240 config MACH_SMARTQ
241         bool
242         select CPU_S3C6410
243         select S3C64XX_SETUP_FB_24BPP
244         select S3C64XX_SETUP_SDHCI
245         select S3C64XX_SETUP_USB_PHY
246         select S3C_DEV_FB
247         select S3C_DEV_HSMMC
248         select S3C_DEV_HSMMC1
249         select S3C_DEV_HSMMC2
250         select S3C_DEV_HWMON
251         select S3C_DEV_RTC
252         select S3C_DEV_USB_HOST
253         select S3C_DEV_USB_HSOTG
254         select SAMSUNG_DEV_ADC
255         select SAMSUNG_DEV_PWM
256         select SAMSUNG_DEV_TS
257         help
258             Shared machine support for SmartQ 5/7
259
260 config MACH_SMARTQ5
261         bool "SmartQ 5"
262         select MACH_SMARTQ
263         help
264             Machine support for the SmartQ 5
265
266 config MACH_SMARTQ7
267         bool "SmartQ 7"
268         select MACH_SMARTQ
269         help
270             Machine support for the SmartQ 7
271
272 config MACH_WLF_CRAGG_6410
273         bool "Wolfson Cragganmore 6410"
274         depends on I2C=y
275         select CPU_S3C6410
276         select LEDS_GPIO_REGISTER
277         select S3C64XX_DEV_SPI0
278         select S3C64XX_SETUP_FB_24BPP
279         select S3C64XX_SETUP_I2C1
280         select S3C64XX_SETUP_IDE
281         select S3C64XX_SETUP_KEYPAD
282         select S3C64XX_SETUP_SDHCI
283         select S3C64XX_SETUP_SPI
284         select S3C64XX_SETUP_USB_PHY
285         select S3C_DEV_FB
286         select S3C_DEV_HSMMC
287         select S3C_DEV_HSMMC1
288         select S3C_DEV_HSMMC2
289         select S3C_DEV_I2C1
290         select S3C_DEV_RTC
291         select S3C_DEV_USB_HOST
292         select S3C_DEV_USB_HSOTG
293         select S3C_DEV_WDT
294         select SAMSUNG_DEV_ADC
295         select SAMSUNG_DEV_KEYPAD
296         select SAMSUNG_DEV_PWM
297         help
298           Machine support for the Wolfson Cragganmore S3C6410 variant.
299
300 config MACH_S3C64XX_DT
301         bool "Samsung S3C6400/S3C6410 machine using Device Tree"
302         select CLKSRC_OF
303         select CPU_S3C6400
304         select CPU_S3C6410
305         select PINCTRL
306         select PINCTRL_S3C64XX
307         select USE_OF
308         help
309           Machine support for Samsung S3C6400/S3C6410 machines with Device Tree
310           enabled.
311           Select this if a fdt blob is available for your S3C64XX SoC based
312           board.
313           Note: This is under development and not all peripherals can be
314           supported with this machine file.
315
316 endif