Kconfig 8.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 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 67
	help
	  Enable EXYNOS5250 SoC support

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

74
config EXYNOS_DEV_DMA
75 76 77 78
	bool
	help
	  Compile in amba device definitions for DMA controller

79 80 81 82 83
config EXYNOS4_DEV_AHCI
	bool
	help
	  Compile in platform device definitions for AHCI

84 85 86 87 88
config EXYNOS_DEV_DRM
	bool
	help
	  Compile in platform device definitions for core DRM device

89 90 91 92 93
config EXYNOS4_SETUP_FIMD0
	bool
	help
	  Common setup code for FIMD0.

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

99 100 101 102 103
config EXYNOS4_DEV_DWMCI
	bool
	help
	  Compile in platform device definitions for DWMCI

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

109
config EXYNOS4_SETUP_I2C1
110 111 112 113
	bool
	help
	  Common setup code for i2c bus 1.

114
config EXYNOS4_SETUP_I2C2
115 116 117 118
	bool
	help
	  Common setup code for i2c bus 2.

119
config EXYNOS4_SETUP_I2C3
120 121 122 123
	bool
	help
	  Common setup code for i2c bus 3.

124
config EXYNOS4_SETUP_I2C4
125 126 127 128
	bool
	help
	  Common setup code for i2c bus 4.

129
config EXYNOS4_SETUP_I2C5
130 131 132 133
	bool
	help
	  Common setup code for i2c bus 5.

134
config EXYNOS4_SETUP_I2C6
135 136 137 138
	bool
	help
	  Common setup code for i2c bus 6.

139
config EXYNOS4_SETUP_I2C7
140 141 142 143
	bool
	help
	  Common setup code for i2c bus 7.

144 145 146 147 148
config EXYNOS4_SETUP_KEYPAD
	bool
	help
	  Common setup code for keypad.

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

155
config EXYNOS4_SETUP_SDHCI_GPIO
156 157 158 159
	bool
	help
	  Common setup code for SDHCI gpio.

160 161 162 163 164
config EXYNOS4_SETUP_FIMC
	bool
	help
	  Common setup code for the camera interfaces.

165 166 167 168 169
config EXYNOS4_SETUP_USB_PHY
	bool
	help
	  Common setup code for USB PHY controller

170 171 172 173 174
config EXYNOS4_SETUP_SPI
	bool
	help
	  Common setup code for SPI GPIO configurations.

175 176
# machine support

177
if ARCH_EXYNOS4
178

179 180
comment "EXYNOS4210 Boards"

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

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

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

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

272 273 274
config MACH_NURI
	bool "Mobile NURI Board"
	select CPU_EXYNOS4210
275
	select S5P_GPIO_INT
276
	select S3C_DEV_WDT
277
	select S3C_DEV_RTC
278
	select S5P_DEV_FIMD0
279 280 281 282
	select S3C_DEV_HSMMC
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
	select S3C_DEV_I2C1
283
	select S3C_DEV_I2C3
284
	select S3C_DEV_I2C5
285
	select S3C_DEV_I2C6
286
	select S5P_DEV_CSIS0
287
	select S5P_DEV_JPEG
288 289 290 291
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
K
Kamil Debski 已提交
292
	select S5P_DEV_G2D
293
	select S5P_DEV_MFC
294
	select S5P_DEV_USB_EHCI
295
	select S5P_SETUP_MIPIPHY
296
	select EXYNOS4_DEV_DMA
297
	select EXYNOS4_SETUP_FIMC
298
	select EXYNOS4_SETUP_FIMD0
299
	select EXYNOS4_SETUP_I2C1
300
	select EXYNOS4_SETUP_I2C3
301
	select EXYNOS4_SETUP_I2C5
302
	select EXYNOS4_SETUP_I2C6
303
	select EXYNOS4_SETUP_SDHCI
304
	select EXYNOS4_SETUP_USB_PHY
305
	select S5P_SETUP_MIPIPHY
306
	select SAMSUNG_DEV_PWM
M
MyungJoo Ham 已提交
307
	select SAMSUNG_DEV_ADC
308 309 310
	help
	  Machine support for Samsung Mobile NURI Board.

311 312 313 314 315
config MACH_ORIGEN
	bool "ORIGEN"
	select CPU_EXYNOS4210
	select S3C_DEV_RTC
	select S3C_DEV_WDT
316
	select S3C_DEV_HSMMC
317
	select S3C_DEV_HSMMC2
318 319 320 321
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
322
	select S5P_DEV_FIMD0
S
Sachin Kamat 已提交
323
	select S5P_DEV_G2D
324
	select S5P_DEV_I2C_HDMIPHY
325
	select S5P_DEV_JPEG
S
Sachin Kamat 已提交
326
	select S5P_DEV_MFC
327
	select S5P_DEV_TV
328
	select S5P_DEV_USB_EHCI
329 330
	select SAMSUNG_DEV_BACKLIGHT
	select SAMSUNG_DEV_PWM
331
	select EXYNOS_DEV_SYSMMU
332
	select EXYNOS4_DEV_DMA
333
	select EXYNOS4_DEV_USB_OHCI
334
	select EXYNOS4_SETUP_FIMD0
335
	select EXYNOS4_SETUP_SDHCI
336
	select EXYNOS4_SETUP_USB_PHY
337 338 339
	help
	  Machine support for ORIGEN based on Samsung EXYNOS4210

340 341 342 343 344 345 346 347 348 349 350 351 352 353 354
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
	select SAMSUNG_DEV_BACKLIGHT
	select SAMSUNG_DEV_KEYPAD
	select SAMSUNG_DEV_PWM
355
	select EXYNOS_DEV_SYSMMU
356
	select EXYNOS_DEV_DMA
357 358 359 360 361 362 363 364
	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

365 366 367 368 369 370 371 372
comment "EXYNOS4412 Boards"

config MACH_SMDK4412
	bool "SMDK4412"
	select SOC_EXYNOS4412
	select MACH_SMDK4212
	help
	  Machine support for Samsung SMDK4412
373
endif
374

375
comment "Flattened Device Tree based board for EXYNOS SoCs"
376 377 378

config MACH_EXYNOS4_DT
	bool "Samsung Exynos4 Machine using device tree"
379
	depends on ARCH_EXYNOS4
380 381 382 383 384 385 386 387 388 389
	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.

390 391
config MACH_EXYNOS5_DT
	bool "SAMSUNG EXYNOS5 Machine using device tree"
392
	depends on ARCH_EXYNOS5
393 394 395 396 397 398 399
	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.

400
if ARCH_EXYNOS4
401

402
comment "Configuration for HSMMC 8-bit bus width"
403

404
config EXYNOS4_SDHCI_CH0_8BIT
405 406 407 408 409
	bool "Channel 0 with 8-bit bus"
	help
	  Support HSMMC Channel 0 8-bit bus.
	  If selected, Channel 1 is disabled.

410
config EXYNOS4_SDHCI_CH2_8BIT
411 412 413 414
	bool "Channel 2 with 8-bit bus"
	help
	  Support HSMMC Channel 2 8-bit bus.
	  If selected, Channel 3 is disabled.
415
endif
416 417 418

endmenu

419
endif