Kconfig 8.3 KB
Newer Older
1
# arch/arm/mach-exynos/Kconfig
2
#
3
# Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
4 5 6 7
#		http://www.samsung.com/
#
# Licensed under GPLv2

8
# Configuration options for the EXYNOS4
9

10 11 12 13 14 15
if ARCH_EXYNOS

menu "SAMSUNG EXYNOS SoCs Support"

config ARCH_EXYNOS4
	bool "SAMSUNG EXYNOS4"
16
	default y
17
	select HAVE_SMP
18
	select MIGHT_HAVE_CACHE_L2X0
19 20 21
	help
	  Samsung EXYNOS4 SoCs based systems

22 23 24 25 26
config ARCH_EXYNOS5
	bool "SAMSUNG EXYNOS5"
	select HAVE_SMP
	help
	  Samsung EXYNOS5 (Cortex-A15) SoC based systems
27 28

comment "EXYNOS SoCs"
29

30
config CPU_EXYNOS4210
31 32 33
	bool "SAMSUNG EXYNOS4210"
	default y
	depends on ARCH_EXYNOS4
34
	select SAMSUNG_DMADEV
35
	select ARM_CPU_SUSPEND if PM
36
	select S5P_PM if PM
37
	select S5P_SLEEP if PM
38
	select PM_GENERIC_DOMAINS
39
	help
40
	  Enable EXYNOS4210 CPU support
41

42
config SOC_EXYNOS4212
43 44 45
	bool "SAMSUNG EXYNOS4212"
	default y
	depends on ARCH_EXYNOS4
46
	select SAMSUNG_DMADEV
47
	select S5P_PM if PM
48
	select S5P_SLEEP if PM
49 50 51
	help
	  Enable EXYNOS4212 SoC support

52
config SOC_EXYNOS4412
53 54 55
	bool "SAMSUNG EXYNOS4412"
	default y
	depends on ARCH_EXYNOS4
56
	select SAMSUNG_DMADEV
57 58 59
	help
	  Enable EXYNOS4412 SoC support

60 61 62 63 64 65 66
config SOC_EXYNOS5250
	bool "SAMSUNG EXYNOS5250"
	default y
	depends on ARCH_EXYNOS5
	help
	  Enable EXYNOS5250 SoC support

67
config EXYNOS4_MCT
68 69
	bool
	default y
70 71 72
	help
	  Use MCT (Multi Core Timer) as kernel timers

73 74 75 76 77
config EXYNOS4_DEV_DMA
	bool
	help
	  Compile in amba device definitions for DMA controller

78 79 80 81 82
config EXYNOS4_DEV_AHCI
	bool
	help
	  Compile in platform device definitions for AHCI

83 84 85 86 87
config EXYNOS4_SETUP_FIMD0
	bool
	help
	  Common setup code for FIMD0.

88 89 90 91 92
config EXYNOS4_DEV_SYSMMU
	bool
	help
	  Common setup code for SYSTEM MMU in EXYNOS4

93 94 95 96 97
config EXYNOS4_DEV_DWMCI
	bool
	help
	  Compile in platform device definitions for DWMCI

J
Jingoo Han 已提交
98 99 100 101 102
config EXYNOS4_DEV_USB_OHCI
	bool
	help
	  Compile in platform device definition for USB OHCI

103
config EXYNOS4_SETUP_I2C1
104 105 106 107
	bool
	help
	  Common setup code for i2c bus 1.

108
config EXYNOS4_SETUP_I2C2
109 110 111 112
	bool
	help
	  Common setup code for i2c bus 2.

113
config EXYNOS4_SETUP_I2C3
114 115 116 117
	bool
	help
	  Common setup code for i2c bus 3.

118
config EXYNOS4_SETUP_I2C4
119 120 121 122
	bool
	help
	  Common setup code for i2c bus 4.

123
config EXYNOS4_SETUP_I2C5
124 125 126 127
	bool
	help
	  Common setup code for i2c bus 5.

128
config EXYNOS4_SETUP_I2C6
129 130 131 132
	bool
	help
	  Common setup code for i2c bus 6.

133
config EXYNOS4_SETUP_I2C7
134 135 136 137
	bool
	help
	  Common setup code for i2c bus 7.

138 139 140 141 142
config EXYNOS4_SETUP_KEYPAD
	bool
	help
	  Common setup code for keypad.

143
config EXYNOS4_SETUP_SDHCI
144
	bool
145
	select EXYNOS4_SETUP_SDHCI_GPIO
146
	help
147
	  Internal helper functions for EXYNOS4 based SDHCI systems.
148

149
config EXYNOS4_SETUP_SDHCI_GPIO
150 151 152 153
	bool
	help
	  Common setup code for SDHCI gpio.

154 155 156 157 158
config EXYNOS4_SETUP_FIMC
	bool
	help
	  Common setup code for the camera interfaces.

159 160 161 162 163
config EXYNOS4_SETUP_USB_PHY
	bool
	help
	  Common setup code for USB PHY controller

164 165 166 167 168
config EXYNOS4_SETUP_SPI
	bool
	help
	  Common setup code for SPI GPIO configurations.

169 170
# machine support

171
if ARCH_EXYNOS4
172

173 174
comment "EXYNOS4210 Boards"

175 176
config MACH_SMDKC210
	bool "SMDKC210"
177
	select MACH_SMDKV310
178 179
	help
	  Machine support for Samsung SMDKC210
180 181 182

config MACH_SMDKV310
	bool "SMDKV310"
183
	select CPU_EXYNOS4210
184
	select S5P_DEV_FIMD0
C
Changhwan Youn 已提交
185
	select S3C_DEV_RTC
186
	select S3C_DEV_WDT
J
Jassi Brar 已提交
187
	select S3C_DEV_I2C1
188 189 190 191
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
192
	select S5P_DEV_G2D
193
	select S5P_DEV_I2C_HDMIPHY
194
	select S5P_DEV_JPEG
195
	select S5P_DEV_MFC
196
	select S5P_DEV_TV
197
	select S5P_DEV_USB_EHCI
198 199 200 201
	select S3C_DEV_HSMMC
	select S3C_DEV_HSMMC1
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
202
	select SAMSUNG_DEV_BACKLIGHT
203
	select EXYNOS4_DEV_AHCI
204
	select SAMSUNG_DEV_KEYPAD
205
	select EXYNOS4_DEV_DMA
206
	select SAMSUNG_DEV_PWM
207
	select EXYNOS4_DEV_USB_OHCI
208
	select EXYNOS4_DEV_SYSMMU
209
	select EXYNOS4_SETUP_FIMD0
210
	select EXYNOS4_SETUP_I2C1
211
	select EXYNOS4_SETUP_KEYPAD
212
	select EXYNOS4_SETUP_SDHCI
213
	select EXYNOS4_SETUP_USB_PHY
214 215 216
	help
	  Machine support for Samsung SMDKV310

217 218 219 220 221 222 223 224
config MACH_ARMLEX4210
	bool "ARMLEX4210"
	select CPU_EXYNOS4210
	select S3C_DEV_RTC
	select S3C_DEV_WDT
	select S3C_DEV_HSMMC
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
225
	select EXYNOS4_DEV_AHCI
226
	select EXYNOS4_DEV_DMA
227 228 229 230 231
	select EXYNOS4_DEV_SYSMMU
	select EXYNOS4_SETUP_SDHCI
	help
	  Machine support for Samsung ARMLEX4210 based on EXYNOS4210

232 233 234
config MACH_UNIVERSAL_C210
	bool "Mobile UNIVERSAL_C210 Board"
	select CPU_EXYNOS4210
235
	select S5P_GPIO_INT
236 237 238 239
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
240
	select S5P_DEV_G2D
241
	select S5P_DEV_CSIS0
242
	select S5P_DEV_JPEG
243
	select S5P_DEV_FIMD0
244 245 246 247
	select S3C_DEV_HSMMC
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
	select S3C_DEV_I2C1
248
	select S3C_DEV_I2C3
249
	select S3C_DEV_I2C5
250
	select S5P_DEV_I2C_HDMIPHY
251
	select S5P_DEV_MFC
252
	select S5P_DEV_ONENAND
253
	select S5P_DEV_TV
254
	select EXYNOS4_DEV_DMA
255
	select EXYNOS_DEV_DRM
256
	select EXYNOS4_SETUP_FIMD0
257
	select EXYNOS4_SETUP_I2C1
258
	select EXYNOS4_SETUP_I2C3
259
	select EXYNOS4_SETUP_I2C5
260
	select EXYNOS4_SETUP_SDHCI
261 262
	select EXYNOS4_SETUP_FIMC
	select S5P_SETUP_MIPIPHY
263 264 265 266
	help
	  Machine support for Samsung Mobile Universal S5PC210 Reference
	  Board.

267 268 269
config MACH_NURI
	bool "Mobile NURI Board"
	select CPU_EXYNOS4210
270
	select S5P_GPIO_INT
271
	select S3C_DEV_WDT
272
	select S3C_DEV_RTC
273
	select S5P_DEV_FIMD0
274 275 276 277
	select S3C_DEV_HSMMC
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
	select S3C_DEV_I2C1
278
	select S3C_DEV_I2C3
279
	select S3C_DEV_I2C5
280
	select S3C_DEV_I2C6
281
	select S5P_DEV_CSIS0
282
	select S5P_DEV_JPEG
283 284 285 286
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
K
Kamil Debski 已提交
287
	select S5P_DEV_G2D
288
	select S5P_DEV_MFC
289
	select S5P_DEV_USB_EHCI
290
	select S5P_SETUP_MIPIPHY
291
	select EXYNOS4_DEV_DMA
292
	select EXYNOS4_SETUP_FIMC
293
	select EXYNOS4_SETUP_FIMD0
294
	select EXYNOS4_SETUP_I2C1
295
	select EXYNOS4_SETUP_I2C3
296
	select EXYNOS4_SETUP_I2C5
297
	select EXYNOS4_SETUP_I2C6
298
	select EXYNOS4_SETUP_SDHCI
299
	select EXYNOS4_SETUP_USB_PHY
300
	select S5P_SETUP_MIPIPHY
301
	select SAMSUNG_DEV_PWM
M
MyungJoo Ham 已提交
302
	select SAMSUNG_DEV_ADC
303 304 305
	help
	  Machine support for Samsung Mobile NURI Board.

306 307 308 309 310
config MACH_ORIGEN
	bool "ORIGEN"
	select CPU_EXYNOS4210
	select S3C_DEV_RTC
	select S3C_DEV_WDT
311
	select S3C_DEV_HSMMC
312
	select S3C_DEV_HSMMC2
313 314 315 316
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
317
	select S5P_DEV_FIMD0
S
Sachin Kamat 已提交
318
	select S5P_DEV_G2D
319
	select S5P_DEV_I2C_HDMIPHY
320
	select S5P_DEV_JPEG
S
Sachin Kamat 已提交
321
	select S5P_DEV_MFC
322
	select S5P_DEV_TV
323
	select S5P_DEV_USB_EHCI
324 325
	select SAMSUNG_DEV_BACKLIGHT
	select SAMSUNG_DEV_PWM
326
	select EXYNOS4_DEV_DMA
327
	select EXYNOS4_DEV_USB_OHCI
328
	select EXYNOS4_SETUP_FIMD0
329
	select EXYNOS4_SETUP_SDHCI
330
	select EXYNOS4_SETUP_USB_PHY
331 332 333
	help
	  Machine support for ORIGEN based on Samsung EXYNOS4210

334 335 336 337 338 339 340 341 342 343 344 345 346 347 348
comment "EXYNOS4212 Boards"

config MACH_SMDK4212
	bool "SMDK4212"
	select SOC_EXYNOS4212
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
	select S3C_DEV_I2C1
	select S3C_DEV_I2C3
	select S3C_DEV_I2C7
	select S3C_DEV_RTC
	select S3C_DEV_WDT
	select SAMSUNG_DEV_BACKLIGHT
	select SAMSUNG_DEV_KEYPAD
	select SAMSUNG_DEV_PWM
349
	select EXYNOS4_DEV_DMA
350 351 352 353 354 355 356 357
	select EXYNOS4_SETUP_I2C1
	select EXYNOS4_SETUP_I2C3
	select EXYNOS4_SETUP_I2C7
	select EXYNOS4_SETUP_KEYPAD
	select EXYNOS4_SETUP_SDHCI
	help
	  Machine support for Samsung SMDK4212

358 359 360 361 362 363 364 365
comment "EXYNOS4412 Boards"

config MACH_SMDK4412
	bool "SMDK4412"
	select SOC_EXYNOS4412
	select MACH_SMDK4212
	help
	  Machine support for Samsung SMDK4412
366
endif
367

368
comment "Flattened Device Tree based board for EXYNOS SoCs"
369 370 371

config MACH_EXYNOS4_DT
	bool "Samsung Exynos4 Machine using device tree"
372
	depends on ARCH_EXYNOS4
373 374 375 376 377 378 379 380 381 382
	select CPU_EXYNOS4210
	select USE_OF
	select ARM_AMBA
	select HAVE_SAMSUNG_KEYPAD if INPUT_KEYBOARD
	help
	  Machine support for Samsung Exynos4 machine with device tree enabled.
	  Select this if a fdt blob is available for the Exynos4 SoC based board.
	  Note: This is under development and not all peripherals can be supported
	  with this machine file.

383 384
config MACH_EXYNOS5_DT
	bool "SAMSUNG EXYNOS5 Machine using device tree"
385
	depends on ARCH_EXYNOS5
386 387 388 389 390 391 392
	select SOC_EXYNOS5250
	select USE_OF
	select ARM_AMBA
	help
	  Machine support for Samsung Exynos4 machine with device tree enabled.
	  Select this if a fdt blob is available for the EXYNOS4 SoC based board.

393
if ARCH_EXYNOS4
394

395
comment "Configuration for HSMMC 8-bit bus width"
396

397
config EXYNOS4_SDHCI_CH0_8BIT
398 399 400 401 402
	bool "Channel 0 with 8-bit bus"
	help
	  Support HSMMC Channel 0 8-bit bus.
	  If selected, Channel 1 is disabled.

403
config EXYNOS4_SDHCI_CH2_8BIT
404 405 406 407
	bool "Channel 2 with 8-bit bus"
	help
	  Support HSMMC Channel 2 8-bit bus.
	  If selected, Channel 3 is disabled.
408
endif
409 410 411

endmenu

412
endif