Kconfig 7.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 16 17 18 19
if ARCH_EXYNOS

menu "SAMSUNG EXYNOS SoCs Support"

choice
	prompt "EXYNOS System Type"
	default ARCH_EXYNOS4

config ARCH_EXYNOS4
	bool "SAMSUNG EXYNOS4"
20
	select HAVE_SMP
21
	select MIGHT_HAVE_CACHE_L2X0
22 23 24 25 26 27
	help
	  Samsung EXYNOS4 SoCs based systems

endchoice

comment "EXYNOS SoCs"
28

29
config CPU_EXYNOS4210
30 31 32
	bool "SAMSUNG EXYNOS4210"
	default y
	depends on ARCH_EXYNOS4
33
	select SAMSUNG_DMADEV
34
	select ARM_CPU_SUSPEND if PM
35
	select S5P_PM if PM
36
	select S5P_SLEEP if PM
37
	help
38
	  Enable EXYNOS4210 CPU support
39

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

49
config SOC_EXYNOS4412
50 51 52
	bool "SAMSUNG EXYNOS4412"
	default y
	depends on ARCH_EXYNOS4
53 54 55
	help
	  Enable EXYNOS4412 SoC support

56
config EXYNOS4_MCT
57 58
	bool
	default y
59 60 61
	help
	  Use MCT (Multi Core Timer) as kernel timers

62 63 64 65 66
config EXYNOS4_DEV_DMA
	bool
	help
	  Compile in amba device definitions for DMA controller

67 68 69 70 71
config EXYNOS4_DEV_AHCI
	bool
	help
	  Compile in platform device definitions for AHCI

72 73 74 75 76
config EXYNOS4_SETUP_FIMD0
	bool
	help
	  Common setup code for FIMD0.

77
config EXYNOS4_DEV_PD
78 79 80 81
	bool
	help
	  Compile in platform device definitions for Power Domain

82 83 84 85 86
config EXYNOS4_DEV_SYSMMU
	bool
	help
	  Common setup code for SYSTEM MMU in EXYNOS4

87 88 89 90 91
config EXYNOS4_DEV_DWMCI
	bool
	help
	  Compile in platform device definitions for DWMCI

J
Jingoo Han 已提交
92 93 94 95 96
config EXYNOS4_DEV_USB_OHCI
	bool
	help
	  Compile in platform device definition for USB OHCI

97
config EXYNOS4_SETUP_I2C1
98 99 100 101
	bool
	help
	  Common setup code for i2c bus 1.

102
config EXYNOS4_SETUP_I2C2
103 104 105 106
	bool
	help
	  Common setup code for i2c bus 2.

107
config EXYNOS4_SETUP_I2C3
108 109 110 111
	bool
	help
	  Common setup code for i2c bus 3.

112
config EXYNOS4_SETUP_I2C4
113 114 115 116
	bool
	help
	  Common setup code for i2c bus 4.

117
config EXYNOS4_SETUP_I2C5
118 119 120 121
	bool
	help
	  Common setup code for i2c bus 5.

122
config EXYNOS4_SETUP_I2C6
123 124 125 126
	bool
	help
	  Common setup code for i2c bus 6.

127
config EXYNOS4_SETUP_I2C7
128 129 130 131
	bool
	help
	  Common setup code for i2c bus 7.

132 133 134 135 136
config EXYNOS4_SETUP_KEYPAD
	bool
	help
	  Common setup code for keypad.

137
config EXYNOS4_SETUP_SDHCI
138
	bool
139
	select EXYNOS4_SETUP_SDHCI_GPIO
140
	help
141
	  Internal helper functions for EXYNOS4 based SDHCI systems.
142

143
config EXYNOS4_SETUP_SDHCI_GPIO
144 145 146 147
	bool
	help
	  Common setup code for SDHCI gpio.

148 149 150 151 152
config EXYNOS4_SETUP_FIMC
	bool
	help
	  Common setup code for the camera interfaces.

153 154 155 156 157
config EXYNOS4_SETUP_USB_PHY
	bool
	help
	  Common setup code for USB PHY controller

158 159 160 161 162
config EXYNOS4_SETUP_SPI
	bool
	help
	  Common setup code for SPI GPIO configurations.

163 164
# machine support

165
if ARCH_EXYNOS4
166

167 168
comment "EXYNOS4210 Boards"

169 170
config MACH_SMDKC210
	bool "SMDKC210"
171
	select MACH_SMDKV310
172 173
	help
	  Machine support for Samsung SMDKC210
174 175 176

config MACH_SMDKV310
	bool "SMDKV310"
177
	select CPU_EXYNOS4210
178
	select S5P_DEV_FIMD0
C
Changhwan Youn 已提交
179
	select S3C_DEV_RTC
180
	select S3C_DEV_WDT
J
Jassi Brar 已提交
181
	select S3C_DEV_I2C1
182 183 184 185
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
186
	select S5P_DEV_G2D
187
	select S5P_DEV_I2C_HDMIPHY
188
	select S5P_DEV_JPEG
189
	select S5P_DEV_MFC
190
	select S5P_DEV_TV
191
	select S5P_DEV_USB_EHCI
192 193 194 195
	select S3C_DEV_HSMMC
	select S3C_DEV_HSMMC1
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
196
	select SAMSUNG_DEV_BACKLIGHT
197
	select EXYNOS4_DEV_AHCI
198
	select SAMSUNG_DEV_KEYPAD
199
	select EXYNOS4_DEV_DMA
200
	select EXYNOS4_DEV_PD
201
	select SAMSUNG_DEV_PWM
202
	select EXYNOS4_DEV_USB_OHCI
203
	select EXYNOS4_DEV_SYSMMU
204
	select EXYNOS4_SETUP_FIMD0
205
	select EXYNOS4_SETUP_I2C1
206
	select EXYNOS4_SETUP_KEYPAD
207
	select EXYNOS4_SETUP_SDHCI
208
	select EXYNOS4_SETUP_USB_PHY
209 210 211
	help
	  Machine support for Samsung SMDKV310

212 213 214 215 216 217 218 219
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
220
	select EXYNOS4_DEV_AHCI
221
	select EXYNOS4_DEV_DMA
222 223 224 225 226
	select EXYNOS4_DEV_SYSMMU
	select EXYNOS4_SETUP_SDHCI
	help
	  Machine support for Samsung ARMLEX4210 based on EXYNOS4210

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

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

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

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

353 354 355 356 357 358 359 360
comment "EXYNOS4412 Boards"

config MACH_SMDK4412
	bool "SMDK4412"
	select SOC_EXYNOS4412
	select MACH_SMDK4212
	help
	  Machine support for Samsung SMDK4412
361
endif
362

363 364 365 366 367 368 369 370 371 372 373 374 375 376
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.

377
if ARCH_EXYNOS4
378

379
comment "Configuration for HSMMC 8-bit bus width"
380

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

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

endmenu

396
endif