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_ARM_SCU if SMP
18
	select HAVE_SMP
19
	select MIGHT_HAVE_CACHE_L2X0
20 21 22
	help
	  Samsung EXYNOS4 SoCs based systems

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

comment "EXYNOS SoCs"
31

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

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

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

62 63 64 65
config SOC_EXYNOS5250
	bool "SAMSUNG EXYNOS5250"
	default y
	depends on ARCH_EXYNOS5
66
	select PM_GENERIC_DOMAINS if PM
67 68
	select S5P_PM if PM
	select S5P_SLEEP if PM
69
	select S5P_DEV_MFC
70
	select SAMSUNG_DMADEV
71 72 73
	help
	  Enable EXYNOS5250 SoC support

74 75 76 77
config SOC_EXYNOS5440
	bool "SAMSUNG EXYNOS5440"
	default y
	depends on ARCH_EXYNOS5
78
	select ARCH_HAS_OPP
79 80
	select ARM_ARCH_TIMER
	select AUTO_ZRELADDR
81 82
	select PINCTRL
	select PINCTRL_EXYNOS5440
83
	select PM_OPP
84 85 86
	help
	  Enable EXYNOS5440 SoC support

87 88 89 90 91 92 93 94 95 96 97 98 99
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

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

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

110 111 112 113 114
config EXYNOS4_SETUP_FIMD0
	bool
	help
	  Common setup code for FIMD0.

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

120
config EXYNOS4_SETUP_I2C1
121 122 123 124
	bool
	help
	  Common setup code for i2c bus 1.

125
config EXYNOS4_SETUP_I2C2
126 127 128 129
	bool
	help
	  Common setup code for i2c bus 2.

130
config EXYNOS4_SETUP_I2C3
131 132 133 134
	bool
	help
	  Common setup code for i2c bus 3.

135
config EXYNOS4_SETUP_I2C4
136 137 138 139
	bool
	help
	  Common setup code for i2c bus 4.

140
config EXYNOS4_SETUP_I2C5
141 142 143 144
	bool
	help
	  Common setup code for i2c bus 5.

145
config EXYNOS4_SETUP_I2C6
146 147 148 149
	bool
	help
	  Common setup code for i2c bus 6.

150
config EXYNOS4_SETUP_I2C7
151 152 153 154
	bool
	help
	  Common setup code for i2c bus 7.

155 156 157 158 159
config EXYNOS4_SETUP_KEYPAD
	bool
	help
	  Common setup code for keypad.

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

166
config EXYNOS4_SETUP_SDHCI_GPIO
167 168 169 170
	bool
	help
	  Common setup code for SDHCI gpio.

171 172 173 174 175
config EXYNOS4_SETUP_FIMC
	bool
	help
	  Common setup code for the camera interfaces.

176 177 178 179 180
config EXYNOS4_SETUP_USB_PHY
	bool
	help
	  Common setup code for USB PHY controller

181
config EXYNOS_SETUP_SPI
182 183 184 185
	bool
	help
	  Common setup code for SPI GPIO configurations.

186 187
# machine support

188
if ARCH_EXYNOS4
189

190 191
comment "EXYNOS4210 Boards"

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

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

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

250 251
config MACH_UNIVERSAL_C210
	bool "Mobile UNIVERSAL_C210 Board"
252
	select CLKSRC_MMIO
253
	select CLKSRC_SAMSUNG_PWM
254 255 256 257 258 259 260 261 262 263
	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_SYSMMU
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
	select S5P_GPIO_INT
284
	select S5P_SETUP_MIPIPHY
285 286 287 288
	help
	  Machine support for Samsung Mobile Universal S5PC210 Reference
	  Board.

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

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

359 360 361 362
comment "EXYNOS4212 Boards"

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

394 395 396 397 398
comment "EXYNOS4412 Boards"

config MACH_SMDK4412
	bool "SMDK4412"
	select MACH_SMDK4212
399
	select SOC_EXYNOS4412
400 401
	help
	  Machine support for Samsung SMDK4412
402
endif
403

404 405
endif

406
comment "Flattened Device Tree based board for EXYNOS SoCs"
407 408 409

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

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

437
if ARCH_EXYNOS4
438

439
comment "Configuration for HSMMC 8-bit bus width"
440

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

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

endmenu

456
endif