Kconfig 9.2 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
config EXYNOS_DEV_DMA
89 90 91 92
	bool
	help
	  Compile in amba device definitions for DMA controller

93 94 95 96 97
config EXYNOS4_DEV_AHCI
	bool
	help
	  Compile in platform device definitions for AHCI

98 99 100 101 102
config EXYNOS_DEV_DRM
	bool
	help
	  Compile in platform device definitions for core DRM device

103 104 105 106 107
config EXYNOS4_SETUP_FIMD0
	bool
	help
	  Common setup code for FIMD0.

108
config EXYNOS_DEV_SYSMMU
109 110
	bool
	help
111
	  Common setup code for SYSTEM MMU in EXYNOS platforms
112

J
Jingoo Han 已提交
113 114 115 116 117
config EXYNOS4_DEV_USB_OHCI
	bool
	help
	  Compile in platform device definition for USB OHCI

118
config EXYNOS4_SETUP_I2C1
119 120 121 122
	bool
	help
	  Common setup code for i2c bus 1.

123
config EXYNOS4_SETUP_I2C2
124 125 126 127
	bool
	help
	  Common setup code for i2c bus 2.

128
config EXYNOS4_SETUP_I2C3
129 130 131 132
	bool
	help
	  Common setup code for i2c bus 3.

133
config EXYNOS4_SETUP_I2C4
134 135 136 137
	bool
	help
	  Common setup code for i2c bus 4.

138
config EXYNOS4_SETUP_I2C5
139 140 141 142
	bool
	help
	  Common setup code for i2c bus 5.

143
config EXYNOS4_SETUP_I2C6
144 145 146 147
	bool
	help
	  Common setup code for i2c bus 6.

148
config EXYNOS4_SETUP_I2C7
149 150 151 152
	bool
	help
	  Common setup code for i2c bus 7.

153 154 155 156 157
config EXYNOS4_SETUP_KEYPAD
	bool
	help
	  Common setup code for keypad.

158
config EXYNOS4_SETUP_SDHCI
159
	bool
160
	select EXYNOS4_SETUP_SDHCI_GPIO
161
	help
162
	  Internal helper functions for EXYNOS4 based SDHCI systems.
163

164
config EXYNOS4_SETUP_SDHCI_GPIO
165 166 167 168
	bool
	help
	  Common setup code for SDHCI gpio.

169 170 171 172 173
config EXYNOS4_SETUP_FIMC
	bool
	help
	  Common setup code for the camera interfaces.

174 175 176 177 178
config EXYNOS4_SETUP_USB_PHY
	bool
	help
	  Common setup code for USB PHY controller

179
config EXYNOS_SETUP_SPI
180 181 182 183
	bool
	help
	  Common setup code for SPI GPIO configurations.

184 185
# machine support

186
if ARCH_EXYNOS4
187

188 189
comment "EXYNOS4210 Boards"

190 191
config MACH_SMDKC210
	bool "SMDKC210"
192
	select MACH_SMDKV310
193 194
	help
	  Machine support for Samsung SMDKC210
195 196 197

config MACH_SMDKV310
	bool "SMDKV310"
198
	select CPU_EXYNOS4210
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214
	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 已提交
215
	select S3C_DEV_RTC
216
	select S3C_DEV_USB_HSOTG
217
	select S3C_DEV_WDT
218 219 220 221
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
222
	select S5P_DEV_FIMD0
223
	select S5P_DEV_G2D
224
	select S5P_DEV_I2C_HDMIPHY
225
	select S5P_DEV_JPEG
226
	select S5P_DEV_MFC
227
	select S5P_DEV_TV
228
	select S5P_DEV_USB_EHCI
229
	select SAMSUNG_DEV_BACKLIGHT
230
	select SAMSUNG_DEV_KEYPAD
231
	select SAMSUNG_DEV_PWM
232 233 234
	help
	  Machine support for Samsung SMDKV310

235 236 237
config MACH_ARMLEX4210
	bool "ARMLEX4210"
	select CPU_EXYNOS4210
238 239 240
	select EXYNOS4_DEV_AHCI
	select EXYNOS4_SETUP_SDHCI
	select EXYNOS_DEV_DMA
241 242 243
	select S3C_DEV_HSMMC
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
244 245
	select S3C_DEV_RTC
	select S3C_DEV_WDT
246 247 248
	help
	  Machine support for Samsung ARMLEX4210 based on EXYNOS4210

249 250
config MACH_UNIVERSAL_C210
	bool "Mobile UNIVERSAL_C210 Board"
251
	select CLKSRC_MMIO
252 253 254 255 256 257 258 259 260 261 262
	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
263
	select HAVE_SCHED_CLOCK
264 265 266 267
	select S3C_DEV_HSMMC
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
	select S3C_DEV_I2C1
268
	select S3C_DEV_I2C3
269
	select S3C_DEV_I2C5
270
	select S3C_DEV_USB_HSOTG
271 272 273 274 275 276 277
	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
278
	select S5P_DEV_I2C_HDMIPHY
279
	select S5P_DEV_JPEG
280
	select S5P_DEV_MFC
281
	select S5P_DEV_ONENAND
282
	select S5P_DEV_TV
283 284
	select S5P_GPIO_INT
	select S5P_HRT
285
	select S5P_SETUP_MIPIPHY
286 287 288 289
	help
	  Machine support for Samsung Mobile Universal S5PC210 Reference
	  Board.

290 291 292
config MACH_NURI
	bool "Mobile NURI Board"
	select CPU_EXYNOS4210
293 294 295 296 297 298 299 300 301 302
	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
303 304 305 306
	select S3C_DEV_HSMMC
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
	select S3C_DEV_I2C1
307
	select S3C_DEV_I2C3
308
	select S3C_DEV_I2C5
309
	select S3C_DEV_I2C6
310
	select S3C_DEV_RTC
311
	select S3C_DEV_USB_HSOTG
312
	select S3C_DEV_WDT
313 314 315 316 317
	select S5P_DEV_CSIS0
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
318
	select S5P_DEV_FIMD0
K
Kamil Debski 已提交
319
	select S5P_DEV_G2D
320
	select S5P_DEV_JPEG
321
	select S5P_DEV_MFC
322
	select S5P_DEV_USB_EHCI
323
	select S5P_GPIO_INT
324
	select S5P_SETUP_MIPIPHY
M
MyungJoo Ham 已提交
325
	select SAMSUNG_DEV_ADC
326
	select SAMSUNG_DEV_PWM
327 328 329
	help
	  Machine support for Samsung Mobile NURI Board.

330 331 332
config MACH_ORIGEN
	bool "ORIGEN"
	select CPU_EXYNOS4210
333 334 335 336 337 338 339 340
	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
341
	select S3C_DEV_HSMMC
342
	select S3C_DEV_HSMMC2
343
	select S3C_DEV_RTC
344
	select S3C_DEV_USB_HSOTG
345
	select S3C_DEV_WDT
346 347 348 349
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
350
	select S5P_DEV_FIMD0
S
Sachin Kamat 已提交
351
	select S5P_DEV_G2D
352
	select S5P_DEV_I2C_HDMIPHY
353
	select S5P_DEV_JPEG
S
Sachin Kamat 已提交
354
	select S5P_DEV_MFC
355
	select S5P_DEV_TV
356
	select S5P_DEV_USB_EHCI
357 358
	select SAMSUNG_DEV_BACKLIGHT
	select SAMSUNG_DEV_PWM
359 360 361
	help
	  Machine support for ORIGEN based on Samsung EXYNOS4210

362 363 364 365
comment "EXYNOS4212 Boards"

config MACH_SMDK4212
	bool "SMDK4212"
366 367 368 369 370 371 372 373 374 375 376
	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
377 378 379 380 381 382
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
	select S3C_DEV_I2C1
	select S3C_DEV_I2C3
	select S3C_DEV_I2C7
	select S3C_DEV_RTC
383
	select S3C_DEV_USB_HSOTG
384
	select S3C_DEV_WDT
385 386 387 388
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
389
	select S5P_DEV_FIMD0
390
	select S5P_DEV_MFC
391 392 393
	select SAMSUNG_DEV_BACKLIGHT
	select SAMSUNG_DEV_KEYPAD
	select SAMSUNG_DEV_PWM
394
	select SOC_EXYNOS4212
395 396 397
	help
	  Machine support for Samsung SMDK4212

398 399 400 401 402
comment "EXYNOS4412 Boards"

config MACH_SMDK4412
	bool "SMDK4412"
	select MACH_SMDK4212
403
	select SOC_EXYNOS4412
404 405
	help
	  Machine support for Samsung SMDK4412
406
endif
407

408
comment "Flattened Device Tree based board for EXYNOS SoCs"
409 410 411

config MACH_EXYNOS4_DT
	bool "Samsung Exynos4 Machine using device tree"
412
	depends on ARCH_EXYNOS4
413
	select ARM_AMBA
414
	select CPU_EXYNOS4210
415
	select HAVE_SAMSUNG_KEYPAD if INPUT_KEYBOARD
416
	select PINCTRL
417
	select PINCTRL_EXYNOS
418
	select USE_OF
419 420 421 422 423 424
	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.

425 426
config MACH_EXYNOS5_DT
	bool "SAMSUNG EXYNOS5 Machine using device tree"
427
	default y
428
	depends on ARCH_EXYNOS5
429
	select ARM_AMBA
430 431
	select USE_OF
	help
432 433
	  Machine support for Samsung EXYNOS5 machine with device tree enabled.
	  Select this if a fdt blob is available for the EXYNOS5 SoC based board.
434

435
if ARCH_EXYNOS4
436

437
comment "Configuration for HSMMC 8-bit bus width"
438

439
config EXYNOS4_SDHCI_CH0_8BIT
440 441 442 443 444
	bool "Channel 0 with 8-bit bus"
	help
	  Support HSMMC Channel 0 8-bit bus.
	  If selected, Channel 1 is disabled.

445
config EXYNOS4_SDHCI_CH2_8BIT
446 447 448 449
	bool "Channel 2 with 8-bit bus"
	help
	  Support HSMMC Channel 2 8-bit bus.
	  If selected, Channel 3 is disabled.
450
endif
451 452 453

endmenu

454
endif