Kconfig 8.0 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
	help
39
	  Enable EXYNOS4210 CPU support
40

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

51
config SOC_EXYNOS4412
52 53 54
	bool "SAMSUNG EXYNOS4412"
	default y
	depends on ARCH_EXYNOS4
55
	select SAMSUNG_DMADEV
56 57 58
	help
	  Enable EXYNOS4412 SoC support

59 60 61 62 63 64 65
config SOC_EXYNOS5250
	bool "SAMSUNG EXYNOS5250"
	default y
	depends on ARCH_EXYNOS5
	help
	  Enable EXYNOS5250 SoC support

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

72 73 74 75 76
config EXYNOS4_DEV_DMA
	bool
	help
	  Compile in amba device definitions for DMA controller

77 78 79 80 81
config EXYNOS4_DEV_AHCI
	bool
	help
	  Compile in platform device definitions for AHCI

82 83 84 85 86
config EXYNOS4_SETUP_FIMD0
	bool
	help
	  Common setup code for FIMD0.

87
config EXYNOS4_DEV_PD
88 89 90 91
	bool
	help
	  Compile in platform device definitions for Power Domain

92 93 94 95 96
config EXYNOS4_DEV_SYSMMU
	bool
	help
	  Common setup code for SYSTEM MMU in EXYNOS4

97 98 99 100 101
config EXYNOS4_DEV_DWMCI
	bool
	help
	  Compile in platform device definitions for DWMCI

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 169 170 171 172
config EXYNOS4_SETUP_SPI
	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
	select S5P_DEV_FIMD0
C
Changhwan Youn 已提交
189
	select S3C_DEV_RTC
190
	select S3C_DEV_WDT
J
Jassi Brar 已提交
191
	select S3C_DEV_I2C1
192 193 194 195
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
196
	select S5P_DEV_I2C_HDMIPHY
197
	select S5P_DEV_MFC
198
	select S5P_DEV_TV
199
	select S5P_DEV_USB_EHCI
200 201 202 203
	select S3C_DEV_HSMMC
	select S3C_DEV_HSMMC1
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
204
	select SAMSUNG_DEV_BACKLIGHT
205
	select EXYNOS4_DEV_AHCI
206
	select SAMSUNG_DEV_KEYPAD
207
	select EXYNOS4_DEV_DMA
208
	select EXYNOS4_DEV_PD
209
	select SAMSUNG_DEV_PWM
210
	select EXYNOS4_DEV_USB_OHCI
211
	select EXYNOS4_DEV_SYSMMU
212
	select EXYNOS4_SETUP_FIMD0
213
	select EXYNOS4_SETUP_I2C1
214
	select EXYNOS4_SETUP_KEYPAD
215
	select EXYNOS4_SETUP_SDHCI
216
	select EXYNOS4_SETUP_USB_PHY
217 218 219
	help
	  Machine support for Samsung SMDKV310

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

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

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

304 305 306 307 308
config MACH_ORIGEN
	bool "ORIGEN"
	select CPU_EXYNOS4210
	select S3C_DEV_RTC
	select S3C_DEV_WDT
309
	select S3C_DEV_HSMMC
310
	select S3C_DEV_HSMMC2
311 312 313 314
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
315
	select S5P_DEV_FIMD0
316
	select S5P_DEV_I2C_HDMIPHY
S
Sachin Kamat 已提交
317
	select S5P_DEV_MFC
318
	select S5P_DEV_TV
319
	select S5P_DEV_USB_EHCI
320 321
	select SAMSUNG_DEV_BACKLIGHT
	select SAMSUNG_DEV_PWM
322
	select EXYNOS4_DEV_DMA
S
Sachin Kamat 已提交
323
	select EXYNOS4_DEV_PD
324
	select EXYNOS4_DEV_USB_OHCI
325
	select EXYNOS4_SETUP_FIMD0
326
	select EXYNOS4_SETUP_SDHCI
327
	select EXYNOS4_SETUP_USB_PHY
328 329 330
	help
	  Machine support for ORIGEN based on Samsung EXYNOS4210

331 332 333 334 335 336 337 338 339 340 341 342 343 344 345
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
346
	select EXYNOS4_DEV_DMA
347 348 349 350 351 352 353 354
	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

355 356 357 358 359 360 361 362
comment "EXYNOS4412 Boards"

config MACH_SMDK4412
	bool "SMDK4412"
	select SOC_EXYNOS4412
	select MACH_SMDK4212
	help
	  Machine support for Samsung SMDK4412
363
endif
364

365 366 367 368 369 370 371 372 373 374 375 376 377 378
comment "Flattened Device Tree based board for Exynos4 based SoC"

config MACH_EXYNOS4_DT
	bool "Samsung Exynos4 Machine using device tree"
	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.

379
if ARCH_EXYNOS4
380

381
comment "Configuration for HSMMC 8-bit bus width"
382

383
config EXYNOS4_SDHCI_CH0_8BIT
384 385 386 387 388
	bool "Channel 0 with 8-bit bus"
	help
	  Support HSMMC Channel 0 8-bit bus.
	  If selected, Channel 1 is disabled.

389
config EXYNOS4_SDHCI_CH2_8BIT
390 391 392 393
	bool "Channel 2 with 8-bit bus"
	help
	  Support HSMMC Channel 2 8-bit bus.
	  If selected, Channel 3 is disabled.
394
endif
395 396 397

endmenu

398
endif