Kconfig 8.9 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
config SOC_EXYNOS5250
	bool "SAMSUNG EXYNOS5250"
	default y
	depends on ARCH_EXYNOS5
64
	select SAMSUNG_DMADEV
65 66
	select S5P_PM if PM
	select S5P_SLEEP if PM
67 68 69
	help
	  Enable EXYNOS5250 SoC support

70
config EXYNOS4_MCT
71 72
	bool
	default y
73 74 75
	help
	  Use MCT (Multi Core Timer) as kernel timers

76
config EXYNOS_DEV_DMA
77 78 79 80
	bool
	help
	  Compile in amba device definitions for DMA controller

81 82 83 84 85
config EXYNOS4_DEV_AHCI
	bool
	help
	  Compile in platform device definitions for AHCI

86 87 88 89 90
config EXYNOS_DEV_DRM
	bool
	help
	  Compile in platform device definitions for core DRM device

91 92 93 94 95
config EXYNOS4_SETUP_FIMD0
	bool
	help
	  Common setup code for FIMD0.

96
config EXYNOS_DEV_SYSMMU
97 98
	bool
	help
99
	  Common setup code for SYSTEM MMU in EXYNOS platforms
100

101 102 103 104 105
config EXYNOS4_DEV_DWMCI
	bool
	help
	  Compile in platform device definitions for DWMCI

J
Jingoo Han 已提交
106 107 108 109 110
config EXYNOS4_DEV_USB_OHCI
	bool
	help
	  Compile in platform device definition for USB OHCI

111
config EXYNOS4_SETUP_I2C1
112 113 114 115
	bool
	help
	  Common setup code for i2c bus 1.

116
config EXYNOS4_SETUP_I2C2
117 118 119 120
	bool
	help
	  Common setup code for i2c bus 2.

121
config EXYNOS4_SETUP_I2C3
122 123 124 125
	bool
	help
	  Common setup code for i2c bus 3.

126
config EXYNOS4_SETUP_I2C4
127 128 129 130
	bool
	help
	  Common setup code for i2c bus 4.

131
config EXYNOS4_SETUP_I2C5
132 133 134 135
	bool
	help
	  Common setup code for i2c bus 5.

136
config EXYNOS4_SETUP_I2C6
137 138 139 140
	bool
	help
	  Common setup code for i2c bus 6.

141
config EXYNOS4_SETUP_I2C7
142 143 144 145
	bool
	help
	  Common setup code for i2c bus 7.

146 147 148 149 150
config EXYNOS4_SETUP_KEYPAD
	bool
	help
	  Common setup code for keypad.

151
config EXYNOS4_SETUP_SDHCI
152
	bool
153
	select EXYNOS4_SETUP_SDHCI_GPIO
154
	help
155
	  Internal helper functions for EXYNOS4 based SDHCI systems.
156

157
config EXYNOS4_SETUP_SDHCI_GPIO
158 159 160 161
	bool
	help
	  Common setup code for SDHCI gpio.

162 163 164 165 166
config EXYNOS4_SETUP_FIMC
	bool
	help
	  Common setup code for the camera interfaces.

167 168 169 170 171
config EXYNOS4_SETUP_USB_PHY
	bool
	help
	  Common setup code for USB PHY controller

172
config EXYNOS_SETUP_SPI
173 174 175 176
	bool
	help
	  Common setup code for SPI GPIO configurations.

177 178
# machine support

179
if ARCH_EXYNOS4
180

181 182
comment "EXYNOS4210 Boards"

183 184
config MACH_SMDKC210
	bool "SMDKC210"
185
	select MACH_SMDKV310
186 187
	help
	  Machine support for Samsung SMDKC210
188 189 190

config MACH_SMDKV310
	bool "SMDKV310"
191
	select CPU_EXYNOS4210
192
	select S5P_DEV_FIMD0
C
Changhwan Youn 已提交
193
	select S3C_DEV_RTC
194
	select S3C_DEV_WDT
J
Jassi Brar 已提交
195
	select S3C_DEV_I2C1
196 197 198 199
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
200
	select S5P_DEV_G2D
201
	select S5P_DEV_I2C_HDMIPHY
202
	select S5P_DEV_JPEG
203
	select S5P_DEV_MFC
204
	select S5P_DEV_TV
205
	select S5P_DEV_USB_EHCI
206 207 208 209
	select S3C_DEV_HSMMC
	select S3C_DEV_HSMMC1
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
210
	select SAMSUNG_DEV_BACKLIGHT
211
	select EXYNOS_DEV_DRM
212
	select EXYNOS_DEV_SYSMMU
213
	select EXYNOS4_DEV_AHCI
214
	select SAMSUNG_DEV_KEYPAD
215
	select EXYNOS4_DEV_DMA
216
	select SAMSUNG_DEV_PWM
217
	select EXYNOS4_DEV_USB_OHCI
218
	select EXYNOS4_SETUP_FIMD0
219
	select EXYNOS4_SETUP_I2C1
220
	select EXYNOS4_SETUP_KEYPAD
221
	select EXYNOS4_SETUP_SDHCI
222
	select EXYNOS4_SETUP_USB_PHY
223 224 225
	help
	  Machine support for Samsung SMDKV310

226 227 228 229 230 231 232 233
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
234
	select EXYNOS4_DEV_AHCI
235
	select EXYNOS_DEV_DMA
236 237 238 239
	select EXYNOS4_SETUP_SDHCI
	help
	  Machine support for Samsung ARMLEX4210 based on EXYNOS4210

240 241 242
config MACH_UNIVERSAL_C210
	bool "Mobile UNIVERSAL_C210 Board"
	select CPU_EXYNOS4210
243 244 245
	select S5P_HRT
	select CLKSRC_MMIO
	select HAVE_SCHED_CLOCK
246
	select S5P_GPIO_INT
247 248 249 250
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
251
	select S5P_DEV_G2D
252
	select S5P_DEV_CSIS0
253
	select S5P_DEV_JPEG
254
	select S5P_DEV_FIMD0
255 256 257 258
	select S3C_DEV_HSMMC
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
	select S3C_DEV_I2C1
259
	select S3C_DEV_I2C3
260
	select S3C_DEV_I2C5
261
	select S3C_DEV_USB_HSOTG
262
	select S5P_DEV_I2C_HDMIPHY
263
	select S5P_DEV_MFC
264
	select S5P_DEV_ONENAND
265
	select S5P_DEV_TV
266
	select EXYNOS_DEV_SYSMMU
267
	select EXYNOS4_DEV_DMA
268
	select EXYNOS_DEV_DRM
269
	select EXYNOS4_SETUP_FIMD0
270
	select EXYNOS4_SETUP_I2C1
271
	select EXYNOS4_SETUP_I2C3
272
	select EXYNOS4_SETUP_I2C5
273
	select EXYNOS4_SETUP_SDHCI
274 275
	select EXYNOS4_SETUP_FIMC
	select S5P_SETUP_MIPIPHY
276
	select EXYNOS4_SETUP_USB_PHY
277 278 279 280
	help
	  Machine support for Samsung Mobile Universal S5PC210 Reference
	  Board.

281 282 283
config MACH_NURI
	bool "Mobile NURI Board"
	select CPU_EXYNOS4210
284
	select S5P_GPIO_INT
285
	select S3C_DEV_WDT
286
	select S3C_DEV_RTC
287
	select S5P_DEV_FIMD0
288 289 290 291
	select S3C_DEV_HSMMC
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
	select S3C_DEV_I2C1
292
	select S3C_DEV_I2C3
293
	select S3C_DEV_I2C5
294
	select S3C_DEV_I2C6
295
	select S3C_DEV_USB_HSOTG
296
	select S5P_DEV_CSIS0
297
	select S5P_DEV_JPEG
298 299 300 301
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
K
Kamil Debski 已提交
302
	select S5P_DEV_G2D
303
	select S5P_DEV_MFC
304
	select S5P_DEV_USB_EHCI
305
	select S5P_SETUP_MIPIPHY
306
	select EXYNOS4_DEV_DMA
307
	select EXYNOS_DEV_DRM
308
	select EXYNOS4_SETUP_FIMC
309
	select EXYNOS4_SETUP_FIMD0
310
	select EXYNOS4_SETUP_I2C1
311
	select EXYNOS4_SETUP_I2C3
312
	select EXYNOS4_SETUP_I2C5
313
	select EXYNOS4_SETUP_I2C6
314
	select EXYNOS4_SETUP_SDHCI
315
	select EXYNOS4_SETUP_USB_PHY
316
	select S5P_SETUP_MIPIPHY
317
	select SAMSUNG_DEV_PWM
M
MyungJoo Ham 已提交
318
	select SAMSUNG_DEV_ADC
319 320 321
	help
	  Machine support for Samsung Mobile NURI Board.

322 323 324 325 326
config MACH_ORIGEN
	bool "ORIGEN"
	select CPU_EXYNOS4210
	select S3C_DEV_RTC
	select S3C_DEV_WDT
327
	select S3C_DEV_HSMMC
328
	select S3C_DEV_HSMMC2
329 330 331 332
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
333
	select S5P_DEV_FIMD0
S
Sachin Kamat 已提交
334
	select S5P_DEV_G2D
335
	select S5P_DEV_I2C_HDMIPHY
336
	select S5P_DEV_JPEG
S
Sachin Kamat 已提交
337
	select S5P_DEV_MFC
338
	select S5P_DEV_TV
339
	select S5P_DEV_USB_EHCI
340 341
	select SAMSUNG_DEV_BACKLIGHT
	select SAMSUNG_DEV_PWM
342
	select EXYNOS_DEV_DRM
343
	select EXYNOS_DEV_SYSMMU
344
	select EXYNOS4_DEV_DMA
345
	select EXYNOS4_DEV_USB_OHCI
346
	select EXYNOS4_SETUP_FIMD0
347
	select EXYNOS4_SETUP_SDHCI
348
	select EXYNOS4_SETUP_USB_PHY
349 350 351
	help
	  Machine support for ORIGEN based on Samsung EXYNOS4210

352 353 354 355 356 357 358 359 360 361 362 363
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
364 365 366 367
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
368
	select S5P_DEV_MFC
369 370 371
	select SAMSUNG_DEV_BACKLIGHT
	select SAMSUNG_DEV_KEYPAD
	select SAMSUNG_DEV_PWM
372
	select EXYNOS_DEV_SYSMMU
373
	select EXYNOS_DEV_DMA
374 375 376 377 378 379 380 381
	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

382 383 384 385 386 387 388 389
comment "EXYNOS4412 Boards"

config MACH_SMDK4412
	bool "SMDK4412"
	select SOC_EXYNOS4412
	select MACH_SMDK4212
	help
	  Machine support for Samsung SMDK4412
390
endif
391

392
comment "Flattened Device Tree based board for EXYNOS SoCs"
393 394 395

config MACH_EXYNOS4_DT
	bool "Samsung Exynos4 Machine using device tree"
396
	depends on ARCH_EXYNOS4
397 398 399 400 401 402 403 404 405 406
	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.

407 408
config MACH_EXYNOS5_DT
	bool "SAMSUNG EXYNOS5 Machine using device tree"
409
	depends on ARCH_EXYNOS5
410 411 412 413 414 415 416
	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.

417
if ARCH_EXYNOS4
418

419
comment "Configuration for HSMMC 8-bit bus width"
420

421
config EXYNOS4_SDHCI_CH0_8BIT
422 423 424 425 426
	bool "Channel 0 with 8-bit bus"
	help
	  Support HSMMC Channel 0 8-bit bus.
	  If selected, Channel 1 is disabled.

427
config EXYNOS4_SDHCI_CH2_8BIT
428 429 430 431
	bool "Channel 2 with 8-bit bus"
	help
	  Support HSMMC Channel 2 8-bit bus.
	  If selected, Channel 3 is disabled.
432
endif
433 434 435

endmenu

436
endif