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