Kconfig 9.1 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 EXYNOS_DEV_DMA
83 84 85 86
	bool
	help
	  Compile in amba device definitions for DMA controller

87 88 89 90 91
config EXYNOS4_DEV_AHCI
	bool
	help
	  Compile in platform device definitions for AHCI

92 93 94 95 96
config EXYNOS_DEV_DRM
	bool
	help
	  Compile in platform device definitions for core DRM device

97 98 99 100 101
config EXYNOS4_SETUP_FIMD0
	bool
	help
	  Common setup code for FIMD0.

J
Jingoo Han 已提交
102 103 104 105 106
config EXYNOS4_DEV_USB_OHCI
	bool
	help
	  Compile in platform device definition for USB OHCI

107
config EXYNOS4_SETUP_I2C1
108 109 110 111
	bool
	help
	  Common setup code for i2c bus 1.

112
config EXYNOS4_SETUP_I2C2
113 114 115 116
	bool
	help
	  Common setup code for i2c bus 2.

117
config EXYNOS4_SETUP_I2C3
118 119 120 121
	bool
	help
	  Common setup code for i2c bus 3.

122
config EXYNOS4_SETUP_I2C4
123 124 125 126
	bool
	help
	  Common setup code for i2c bus 4.

127
config EXYNOS4_SETUP_I2C5
128 129 130 131
	bool
	help
	  Common setup code for i2c bus 5.

132
config EXYNOS4_SETUP_I2C6
133 134 135 136
	bool
	help
	  Common setup code for i2c bus 6.

137
config EXYNOS4_SETUP_I2C7
138 139 140 141
	bool
	help
	  Common setup code for i2c bus 7.

142 143 144 145 146
config EXYNOS4_SETUP_KEYPAD
	bool
	help
	  Common setup code for keypad.

147
config EXYNOS4_SETUP_SDHCI
148
	bool
149
	select EXYNOS4_SETUP_SDHCI_GPIO
150
	help
151
	  Internal helper functions for EXYNOS4 based SDHCI systems.
152

153
config EXYNOS4_SETUP_SDHCI_GPIO
154 155 156 157
	bool
	help
	  Common setup code for SDHCI gpio.

158 159 160 161 162
config EXYNOS4_SETUP_FIMC
	bool
	help
	  Common setup code for the camera interfaces.

163 164 165 166 167
config EXYNOS4_SETUP_USB_PHY
	bool
	help
	  Common setup code for USB PHY controller

168
config EXYNOS_SETUP_SPI
169 170 171 172
	bool
	help
	  Common setup code for SPI GPIO configurations.

173 174
# machine support

175
if ARCH_EXYNOS4
176

177 178
comment "EXYNOS4210 Boards"

179 180
config MACH_SMDKC210
	bool "SMDKC210"
181
	select MACH_SMDKV310
182 183
	help
	  Machine support for Samsung SMDKC210
184 185 186

config MACH_SMDKV310
	bool "SMDKV310"
187
	select CPU_EXYNOS4210
188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203
	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 已提交
204
	select S3C_DEV_RTC
205
	select S3C_DEV_USB_HSOTG
206
	select S3C_DEV_WDT
207 208 209 210
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
211
	select S5P_DEV_FIMD0
212
	select S5P_DEV_G2D
213
	select S5P_DEV_I2C_HDMIPHY
214
	select S5P_DEV_JPEG
215
	select S5P_DEV_MFC
216
	select S5P_DEV_TV
217
	select S5P_DEV_USB_EHCI
218
	select SAMSUNG_DEV_BACKLIGHT
219
	select SAMSUNG_DEV_KEYPAD
220
	select SAMSUNG_DEV_PWM
221 222 223
	help
	  Machine support for Samsung SMDKV310

224 225 226
config MACH_ARMLEX4210
	bool "ARMLEX4210"
	select CPU_EXYNOS4210
227 228 229
	select EXYNOS4_DEV_AHCI
	select EXYNOS4_SETUP_SDHCI
	select EXYNOS_DEV_DMA
230 231 232
	select S3C_DEV_HSMMC
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
233 234
	select S3C_DEV_RTC
	select S3C_DEV_WDT
235 236 237
	help
	  Machine support for Samsung ARMLEX4210 based on EXYNOS4210

238 239
config MACH_UNIVERSAL_C210
	bool "Mobile UNIVERSAL_C210 Board"
240
	select CLKSRC_MMIO
241 242 243 244 245 246 247 248 249 250 251
	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
252
	select HAVE_SCHED_CLOCK
253 254 255 256
	select S3C_DEV_HSMMC
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
	select S3C_DEV_I2C1
257
	select S3C_DEV_I2C3
258
	select S3C_DEV_I2C5
259
	select S3C_DEV_USB_HSOTG
260 261 262 263 264 265 266
	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
267
	select S5P_DEV_I2C_HDMIPHY
268
	select S5P_DEV_JPEG
269
	select S5P_DEV_MFC
270
	select S5P_DEV_ONENAND
271
	select S5P_DEV_TV
272
	select S5P_GPIO_INT
273
	select S5P_SETUP_MIPIPHY
274
	select SAMSUNG_HRT
275 276 277 278
	help
	  Machine support for Samsung Mobile Universal S5PC210 Reference
	  Board.

279 280 281
config MACH_NURI
	bool "Mobile NURI Board"
	select CPU_EXYNOS4210
282 283 284 285 286 287 288 289 290 291
	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
292 293 294 295
	select S3C_DEV_HSMMC
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
	select S3C_DEV_I2C1
296
	select S3C_DEV_I2C3
297
	select S3C_DEV_I2C5
298
	select S3C_DEV_I2C6
299
	select S3C_DEV_RTC
300
	select S3C_DEV_USB_HSOTG
301
	select S3C_DEV_WDT
302 303 304 305 306
	select S5P_DEV_CSIS0
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
307
	select S5P_DEV_FIMD0
K
Kamil Debski 已提交
308
	select S5P_DEV_G2D
309
	select S5P_DEV_JPEG
310
	select S5P_DEV_MFC
311
	select S5P_DEV_USB_EHCI
312
	select S5P_GPIO_INT
313
	select S5P_SETUP_MIPIPHY
M
MyungJoo Ham 已提交
314
	select SAMSUNG_DEV_ADC
315
	select SAMSUNG_DEV_PWM
316 317 318
	help
	  Machine support for Samsung Mobile NURI Board.

319 320 321
config MACH_ORIGEN
	bool "ORIGEN"
	select CPU_EXYNOS4210
322 323 324 325 326 327 328 329
	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
330
	select S3C_DEV_HSMMC
331
	select S3C_DEV_HSMMC2
332
	select S3C_DEV_RTC
333
	select S3C_DEV_USB_HSOTG
334
	select S3C_DEV_WDT
335 336 337 338
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
339
	select S5P_DEV_FIMD0
S
Sachin Kamat 已提交
340
	select S5P_DEV_G2D
341
	select S5P_DEV_I2C_HDMIPHY
342
	select S5P_DEV_JPEG
S
Sachin Kamat 已提交
343
	select S5P_DEV_MFC
344
	select S5P_DEV_TV
345
	select S5P_DEV_USB_EHCI
346 347
	select SAMSUNG_DEV_BACKLIGHT
	select SAMSUNG_DEV_PWM
348 349 350
	help
	  Machine support for ORIGEN based on Samsung EXYNOS4210

351 352 353 354
comment "EXYNOS4212 Boards"

config MACH_SMDK4212
	bool "SMDK4212"
355 356 357 358 359 360 361 362 363 364 365
	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
366 367 368 369 370 371
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
	select S3C_DEV_I2C1
	select S3C_DEV_I2C3
	select S3C_DEV_I2C7
	select S3C_DEV_RTC
372
	select S3C_DEV_USB_HSOTG
373
	select S3C_DEV_WDT
374 375 376 377
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
378
	select S5P_DEV_FIMD0
379
	select S5P_DEV_MFC
380 381 382
	select SAMSUNG_DEV_BACKLIGHT
	select SAMSUNG_DEV_KEYPAD
	select SAMSUNG_DEV_PWM
383
	select SOC_EXYNOS4212
384 385 386
	help
	  Machine support for Samsung SMDK4212

387 388 389 390 391
comment "EXYNOS4412 Boards"

config MACH_SMDK4412
	bool "SMDK4412"
	select MACH_SMDK4212
392
	select SOC_EXYNOS4412
393 394
	help
	  Machine support for Samsung SMDK4412
395
endif
396

397
comment "Flattened Device Tree based board for EXYNOS SoCs"
398 399 400

config MACH_EXYNOS4_DT
	bool "Samsung Exynos4 Machine using device tree"
401
	depends on ARCH_EXYNOS4
402
	select ARM_AMBA
403
	select CLKSRC_OF
404
	select CPU_EXYNOS4210
405
	select HAVE_SAMSUNG_KEYPAD if INPUT_KEYBOARD
406
	select PINCTRL
407
	select PINCTRL_EXYNOS
408
	select USE_OF
409 410 411 412 413 414
	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.

415 416
config MACH_EXYNOS5_DT
	bool "SAMSUNG EXYNOS5 Machine using device tree"
417
	default y
418
	depends on ARCH_EXYNOS5
419
	select ARM_AMBA
420
	select CLKSRC_OF
421 422
	select USE_OF
	help
423 424
	  Machine support for Samsung EXYNOS5 machine with device tree enabled.
	  Select this if a fdt blob is available for the EXYNOS5 SoC based board.
425

426
if ARCH_EXYNOS4
427

428
comment "Configuration for HSMMC 8-bit bus width"
429

430
config EXYNOS4_SDHCI_CH0_8BIT
431 432 433 434 435
	bool "Channel 0 with 8-bit bus"
	help
	  Support HSMMC Channel 0 8-bit bus.
	  If selected, Channel 1 is disabled.

436
config EXYNOS4_SDHCI_CH2_8BIT
437 438 439 440
	bool "Channel 2 with 8-bit bus"
	help
	  Support HSMMC Channel 2 8-bit bus.
	  If selected, Channel 3 is disabled.
441
endif
442 443 444

endmenu

445
endif