Kconfig 9.5 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 ARM_CPU_SUSPEND if PM
35
	select PM_GENERIC_DOMAINS
36
	select S5P_PM if PM
37
	select S5P_SLEEP if PM
38
	select SAMSUNG_DMADEV
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 S5P_PM if PM
47
	select S5P_SLEEP if PM
48
	select SAMSUNG_DMADEV
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
config SOC_EXYNOS5250
	bool "SAMSUNG EXYNOS5250"
	default y
	depends on ARCH_EXYNOS5
64 65
	select S5P_PM if PM
	select S5P_SLEEP if PM
66
	select S5P_DEV_MFC
67
	select SAMSUNG_DMADEV
68 69 70
	help
	  Enable EXYNOS5250 SoC support

71 72 73 74 75 76
config SOC_EXYNOS5440
	bool "SAMSUNG EXYNOS5440"
	default y
	depends on ARCH_EXYNOS5
	select ARM_ARCH_TIMER
	select AUTO_ZRELADDR
77 78
	select PINCTRL
	select PINCTRL_EXYNOS5440
79 80 81
	help
	  Enable EXYNOS5440 SoC support

82
config EXYNOS4_MCT
83 84
	bool
	default y
85 86 87
	help
	  Use MCT (Multi Core Timer) as kernel timers

88 89 90 91 92 93 94 95 96 97 98 99 100
config EXYNOS_ATAGS
	bool "ATAGS based boot for EXYNOS (deprecated)"
	depends on !ARCH_MULTIPLATFORM
	depends on ATAGS
	default y
	help
	  The EXYNOS platform is moving towards being completely probed
	  through device tree. This enables support for board files using
	  the traditional ATAGS boot format.
	  Note that this option is not available for multiplatform builds.

if EXYNOS_ATAGS

101
config EXYNOS_DEV_DMA
102 103 104 105
	bool
	help
	  Compile in amba device definitions for DMA controller

106 107 108 109 110
config EXYNOS4_DEV_AHCI
	bool
	help
	  Compile in platform device definitions for AHCI

111 112 113 114 115
config EXYNOS_DEV_DRM
	bool
	help
	  Compile in platform device definitions for core DRM device

116 117 118 119 120
config EXYNOS4_SETUP_FIMD0
	bool
	help
	  Common setup code for FIMD0.

J
Jingoo Han 已提交
121 122 123 124 125
config EXYNOS4_DEV_USB_OHCI
	bool
	help
	  Compile in platform device definition for USB OHCI

126
config EXYNOS4_SETUP_I2C1
127 128 129 130
	bool
	help
	  Common setup code for i2c bus 1.

131
config EXYNOS4_SETUP_I2C2
132 133 134 135
	bool
	help
	  Common setup code for i2c bus 2.

136
config EXYNOS4_SETUP_I2C3
137 138 139 140
	bool
	help
	  Common setup code for i2c bus 3.

141
config EXYNOS4_SETUP_I2C4
142 143 144 145
	bool
	help
	  Common setup code for i2c bus 4.

146
config EXYNOS4_SETUP_I2C5
147 148 149 150
	bool
	help
	  Common setup code for i2c bus 5.

151
config EXYNOS4_SETUP_I2C6
152 153 154 155
	bool
	help
	  Common setup code for i2c bus 6.

156
config EXYNOS4_SETUP_I2C7
157 158 159 160
	bool
	help
	  Common setup code for i2c bus 7.

161 162 163 164 165
config EXYNOS4_SETUP_KEYPAD
	bool
	help
	  Common setup code for keypad.

166
config EXYNOS4_SETUP_SDHCI
167
	bool
168
	select EXYNOS4_SETUP_SDHCI_GPIO
169
	help
170
	  Internal helper functions for EXYNOS4 based SDHCI systems.
171

172
config EXYNOS4_SETUP_SDHCI_GPIO
173 174 175 176
	bool
	help
	  Common setup code for SDHCI gpio.

177 178 179 180 181
config EXYNOS4_SETUP_FIMC
	bool
	help
	  Common setup code for the camera interfaces.

182 183 184 185 186
config EXYNOS4_SETUP_USB_PHY
	bool
	help
	  Common setup code for USB PHY controller

187
config EXYNOS_SETUP_SPI
188 189 190 191
	bool
	help
	  Common setup code for SPI GPIO configurations.

192 193
# machine support

194
if ARCH_EXYNOS4
195

196 197
comment "EXYNOS4210 Boards"

198 199
config MACH_SMDKC210
	bool "SMDKC210"
200
	select MACH_SMDKV310
201 202
	help
	  Machine support for Samsung SMDKC210
203 204 205

config MACH_SMDKV310
	bool "SMDKV310"
206
	select CPU_EXYNOS4210
207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222
	select EXYNOS4_DEV_AHCI
	select EXYNOS4_DEV_USB_OHCI
	select EXYNOS4_SETUP_FIMD0
	select EXYNOS4_SETUP_I2C1
	select EXYNOS4_SETUP_KEYPAD
	select EXYNOS4_SETUP_SDHCI
	select EXYNOS4_SETUP_USB_PHY
	select EXYNOS_DEV_DMA
	select EXYNOS_DEV_DRM
	select EXYNOS_DEV_SYSMMU
	select S3C24XX_PWM
	select S3C_DEV_HSMMC
	select S3C_DEV_HSMMC1
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
	select S3C_DEV_I2C1
C
Changhwan Youn 已提交
223
	select S3C_DEV_RTC
224
	select S3C_DEV_USB_HSOTG
225
	select S3C_DEV_WDT
226 227 228 229
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
230
	select S5P_DEV_FIMD0
231
	select S5P_DEV_G2D
232
	select S5P_DEV_I2C_HDMIPHY
233
	select S5P_DEV_JPEG
234
	select S5P_DEV_MFC
235
	select S5P_DEV_TV
236
	select S5P_DEV_USB_EHCI
237
	select SAMSUNG_DEV_BACKLIGHT
238
	select SAMSUNG_DEV_KEYPAD
239
	select SAMSUNG_DEV_PWM
240 241 242
	help
	  Machine support for Samsung SMDKV310

243 244 245
config MACH_ARMLEX4210
	bool "ARMLEX4210"
	select CPU_EXYNOS4210
246 247 248
	select EXYNOS4_DEV_AHCI
	select EXYNOS4_SETUP_SDHCI
	select EXYNOS_DEV_DMA
249 250 251
	select S3C_DEV_HSMMC
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
252 253
	select S3C_DEV_RTC
	select S3C_DEV_WDT
254 255 256
	help
	  Machine support for Samsung ARMLEX4210 based on EXYNOS4210

257 258
config MACH_UNIVERSAL_C210
	bool "Mobile UNIVERSAL_C210 Board"
259
	select CLKSRC_MMIO
260 261 262 263 264 265 266 267 268 269 270
	select CPU_EXYNOS4210
	select EXYNOS4_SETUP_FIMC
	select EXYNOS4_SETUP_FIMD0
	select EXYNOS4_SETUP_I2C1
	select EXYNOS4_SETUP_I2C3
	select EXYNOS4_SETUP_I2C5
	select EXYNOS4_SETUP_SDHCI
	select EXYNOS4_SETUP_USB_PHY
	select EXYNOS_DEV_DMA
	select EXYNOS_DEV_DRM
	select EXYNOS_DEV_SYSMMU
271
	select HAVE_SCHED_CLOCK
272 273 274 275
	select S3C_DEV_HSMMC
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
	select S3C_DEV_I2C1
276
	select S3C_DEV_I2C3
277
	select S3C_DEV_I2C5
278
	select S3C_DEV_USB_HSOTG
279 280 281 282 283 284 285
	select S5P_DEV_CSIS0
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
	select S5P_DEV_FIMD0
	select S5P_DEV_G2D
286
	select S5P_DEV_I2C_HDMIPHY
287
	select S5P_DEV_JPEG
288
	select S5P_DEV_MFC
289
	select S5P_DEV_ONENAND
290
	select S5P_DEV_TV
291 292
	select S5P_GPIO_INT
	select S5P_HRT
293
	select S5P_SETUP_MIPIPHY
294 295 296 297
	help
	  Machine support for Samsung Mobile Universal S5PC210 Reference
	  Board.

298 299 300
config MACH_NURI
	bool "Mobile NURI Board"
	select CPU_EXYNOS4210
301 302 303 304 305 306 307 308 309 310
	select EXYNOS4_SETUP_FIMC
	select EXYNOS4_SETUP_FIMD0
	select EXYNOS4_SETUP_I2C1
	select EXYNOS4_SETUP_I2C3
	select EXYNOS4_SETUP_I2C5
	select EXYNOS4_SETUP_I2C6
	select EXYNOS4_SETUP_SDHCI
	select EXYNOS4_SETUP_USB_PHY
	select EXYNOS_DEV_DMA
	select EXYNOS_DEV_DRM
311 312 313 314
	select S3C_DEV_HSMMC
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
	select S3C_DEV_I2C1
315
	select S3C_DEV_I2C3
316
	select S3C_DEV_I2C5
317
	select S3C_DEV_I2C6
318
	select S3C_DEV_RTC
319
	select S3C_DEV_USB_HSOTG
320
	select S3C_DEV_WDT
321 322 323 324 325
	select S5P_DEV_CSIS0
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
326
	select S5P_DEV_FIMD0
K
Kamil Debski 已提交
327
	select S5P_DEV_G2D
328
	select S5P_DEV_JPEG
329
	select S5P_DEV_MFC
330
	select S5P_DEV_USB_EHCI
331
	select S5P_GPIO_INT
332
	select S5P_SETUP_MIPIPHY
M
MyungJoo Ham 已提交
333
	select SAMSUNG_DEV_ADC
334
	select SAMSUNG_DEV_PWM
335 336 337
	help
	  Machine support for Samsung Mobile NURI Board.

338 339 340
config MACH_ORIGEN
	bool "ORIGEN"
	select CPU_EXYNOS4210
341 342 343 344 345 346 347 348
	select EXYNOS4_DEV_USB_OHCI
	select EXYNOS4_SETUP_FIMD0
	select EXYNOS4_SETUP_SDHCI
	select EXYNOS4_SETUP_USB_PHY
	select EXYNOS_DEV_DMA
	select EXYNOS_DEV_DRM
	select EXYNOS_DEV_SYSMMU
	select S3C24XX_PWM
349
	select S3C_DEV_HSMMC
350
	select S3C_DEV_HSMMC2
351
	select S3C_DEV_RTC
352
	select S3C_DEV_USB_HSOTG
353
	select S3C_DEV_WDT
354 355 356 357
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
358
	select S5P_DEV_FIMD0
S
Sachin Kamat 已提交
359
	select S5P_DEV_G2D
360
	select S5P_DEV_I2C_HDMIPHY
361
	select S5P_DEV_JPEG
S
Sachin Kamat 已提交
362
	select S5P_DEV_MFC
363
	select S5P_DEV_TV
364
	select S5P_DEV_USB_EHCI
365 366
	select SAMSUNG_DEV_BACKLIGHT
	select SAMSUNG_DEV_PWM
367 368 369
	help
	  Machine support for ORIGEN based on Samsung EXYNOS4210

370 371 372 373
comment "EXYNOS4212 Boards"

config MACH_SMDK4212
	bool "SMDK4212"
374 375 376 377 378 379 380 381 382 383 384
	select EXYNOS4_SETUP_FIMD0
	select EXYNOS4_SETUP_I2C1
	select EXYNOS4_SETUP_I2C3
	select EXYNOS4_SETUP_I2C7
	select EXYNOS4_SETUP_KEYPAD
	select EXYNOS4_SETUP_SDHCI
	select EXYNOS4_SETUP_USB_PHY
	select EXYNOS_DEV_DMA
	select EXYNOS_DEV_DRM
	select EXYNOS_DEV_SYSMMU
	select S3C24XX_PWM
385 386 387 388 389 390
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
	select S3C_DEV_I2C1
	select S3C_DEV_I2C3
	select S3C_DEV_I2C7
	select S3C_DEV_RTC
391
	select S3C_DEV_USB_HSOTG
392
	select S3C_DEV_WDT
393 394 395 396
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
397
	select S5P_DEV_FIMD0
398
	select S5P_DEV_MFC
399 400 401
	select SAMSUNG_DEV_BACKLIGHT
	select SAMSUNG_DEV_KEYPAD
	select SAMSUNG_DEV_PWM
402
	select SOC_EXYNOS4212
403 404 405
	help
	  Machine support for Samsung SMDK4212

406 407 408 409 410
comment "EXYNOS4412 Boards"

config MACH_SMDK4412
	bool "SMDK4412"
	select MACH_SMDK4212
411
	select SOC_EXYNOS4412
412 413
	help
	  Machine support for Samsung SMDK4412
414
endif
415

416 417
endif

418
comment "Flattened Device Tree based board for EXYNOS SoCs"
419 420 421

config MACH_EXYNOS4_DT
	bool "Samsung Exynos4 Machine using device tree"
422
	depends on ARCH_EXYNOS4
423
	select ARM_AMBA
424
	select CPU_EXYNOS4210
425
	select HAVE_SAMSUNG_KEYPAD if INPUT_KEYBOARD
426
	select PINCTRL
427
	select PINCTRL_EXYNOS
428
	select USE_OF
429 430 431 432 433 434
	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.

435 436
config MACH_EXYNOS5_DT
	bool "SAMSUNG EXYNOS5 Machine using device tree"
437
	default y
438
	depends on ARCH_EXYNOS5
439
	select ARM_AMBA
440 441
	select USE_OF
	help
442 443
	  Machine support for Samsung EXYNOS5 machine with device tree enabled.
	  Select this if a fdt blob is available for the EXYNOS5 SoC based board.
444

445
if ARCH_EXYNOS4
446

447
comment "Configuration for HSMMC 8-bit bus width"
448

449
config EXYNOS4_SDHCI_CH0_8BIT
450 451 452 453 454
	bool "Channel 0 with 8-bit bus"
	help
	  Support HSMMC Channel 0 8-bit bus.
	  If selected, Channel 1 is disabled.

455
config EXYNOS4_SDHCI_CH2_8BIT
456 457 458 459
	bool "Channel 2 with 8-bit bus"
	help
	  Support HSMMC Channel 2 8-bit bus.
	  If selected, Channel 3 is disabled.
460
endif
461 462 463

endmenu

464
endif