Kconfig 6.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 20 21 22 23 24 25
if ARCH_EXYNOS

menu "SAMSUNG EXYNOS SoCs Support"

choice
	prompt "EXYNOS System Type"
	default ARCH_EXYNOS4

config ARCH_EXYNOS4
	bool "SAMSUNG EXYNOS4"
	help
	  Samsung EXYNOS4 SoCs based systems

endchoice

comment "EXYNOS SoCs"
26

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

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

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

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

60 61 62 63 64
config EXYNOS4_DEV_DMA
	bool
	help
	  Compile in amba device definitions for DMA controller

65 66 67 68 69
config EXYNOS4_DEV_AHCI
	bool
	help
	  Compile in platform device definitions for AHCI

70 71 72 73 74
config EXYNOS4_SETUP_FIMD0
	bool
	help
	  Common setup code for FIMD0.

75
config EXYNOS4_DEV_PD
76 77 78 79
	bool
	help
	  Compile in platform device definitions for Power Domain

80 81 82 83 84
config EXYNOS4_DEV_SYSMMU
	bool
	help
	  Common setup code for SYSTEM MMU in EXYNOS4

85 86 87 88 89
config EXYNOS4_DEV_DWMCI
	bool
	help
	  Compile in platform device definitions for DWMCI

90
config EXYNOS4_SETUP_I2C1
91 92 93 94
	bool
	help
	  Common setup code for i2c bus 1.

95
config EXYNOS4_SETUP_I2C2
96 97 98 99
	bool
	help
	  Common setup code for i2c bus 2.

100
config EXYNOS4_SETUP_I2C3
101 102 103 104
	bool
	help
	  Common setup code for i2c bus 3.

105
config EXYNOS4_SETUP_I2C4
106 107 108 109
	bool
	help
	  Common setup code for i2c bus 4.

110
config EXYNOS4_SETUP_I2C5
111 112 113 114
	bool
	help
	  Common setup code for i2c bus 5.

115
config EXYNOS4_SETUP_I2C6
116 117 118 119
	bool
	help
	  Common setup code for i2c bus 6.

120
config EXYNOS4_SETUP_I2C7
121 122 123 124
	bool
	help
	  Common setup code for i2c bus 7.

125 126 127 128 129
config EXYNOS4_SETUP_KEYPAD
	bool
	help
	  Common setup code for keypad.

130
config EXYNOS4_SETUP_SDHCI
131
	bool
132
	select EXYNOS4_SETUP_SDHCI_GPIO
133
	help
134
	  Internal helper functions for EXYNOS4 based SDHCI systems.
135

136
config EXYNOS4_SETUP_SDHCI_GPIO
137 138 139 140
	bool
	help
	  Common setup code for SDHCI gpio.

141 142 143 144 145
config EXYNOS4_SETUP_FIMC
	bool
	help
	  Common setup code for the camera interfaces.

146 147 148 149 150
config EXYNOS4_SETUP_USB_PHY
	bool
	help
	  Common setup code for USB PHY controller

151 152
# machine support

153
if ARCH_EXYNOS4
154

155 156
comment "EXYNOS4210 Boards"

157 158
config MACH_SMDKC210
	bool "SMDKC210"
159
	select MACH_SMDKV310
160 161
	help
	  Machine support for Samsung SMDKC210
162 163 164

config MACH_SMDKV310
	bool "SMDKV310"
165
	select CPU_EXYNOS4210
166
	select S5P_DEV_FIMD0
C
Changhwan Youn 已提交
167
	select S3C_DEV_RTC
168
	select S3C_DEV_WDT
J
Jassi Brar 已提交
169
	select S3C_DEV_I2C1
170 171 172 173
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
174
	select S5P_DEV_I2C_HDMIPHY
175
	select S5P_DEV_MFC
176
	select S5P_DEV_TV
177
	select S5P_DEV_USB_EHCI
178 179 180 181
	select S3C_DEV_HSMMC
	select S3C_DEV_HSMMC1
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
182
	select SAMSUNG_DEV_BACKLIGHT
183
	select EXYNOS4_DEV_AHCI
184
	select SAMSUNG_DEV_KEYPAD
185
	select EXYNOS4_DEV_DMA
186
	select EXYNOS4_DEV_PD
187
	select SAMSUNG_DEV_PWM
188
	select EXYNOS4_DEV_SYSMMU
189
	select EXYNOS4_SETUP_FIMD0
190
	select EXYNOS4_SETUP_I2C1
191
	select EXYNOS4_SETUP_KEYPAD
192
	select EXYNOS4_SETUP_SDHCI
193
	select EXYNOS4_SETUP_USB_PHY
194 195 196
	help
	  Machine support for Samsung SMDKV310

197 198 199 200 201 202 203 204
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
205
	select EXYNOS4_DEV_AHCI
206
	select EXYNOS4_DEV_DMA
207 208 209 210 211
	select EXYNOS4_DEV_SYSMMU
	select EXYNOS4_SETUP_SDHCI
	help
	  Machine support for Samsung ARMLEX4210 based on EXYNOS4210

212 213 214
config MACH_UNIVERSAL_C210
	bool "Mobile UNIVERSAL_C210 Board"
	select CPU_EXYNOS4210
215
	select S5P_GPIO_INT
216 217 218 219
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
220
	select S5P_DEV_CSIS0
221
	select S5P_DEV_FIMD0
222 223 224 225
	select S3C_DEV_HSMMC
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
	select S3C_DEV_I2C1
226
	select S3C_DEV_I2C3
227
	select S3C_DEV_I2C5
228
	select S5P_DEV_I2C_HDMIPHY
229
	select S5P_DEV_MFC
230
	select S5P_DEV_ONENAND
231
	select S5P_DEV_TV
232
	select EXYNOS4_DEV_DMA
233
	select EXYNOS4_DEV_PD
234
	select EXYNOS4_SETUP_FIMD0
235
	select EXYNOS4_SETUP_I2C1
236
	select EXYNOS4_SETUP_I2C3
237
	select EXYNOS4_SETUP_I2C5
238
	select EXYNOS4_SETUP_SDHCI
239 240
	select EXYNOS4_SETUP_FIMC
	select S5P_SETUP_MIPIPHY
241 242 243 244
	help
	  Machine support for Samsung Mobile Universal S5PC210 Reference
	  Board.

245 246 247
config MACH_NURI
	bool "Mobile NURI Board"
	select CPU_EXYNOS4210
248
	select S5P_GPIO_INT
249
	select S3C_DEV_WDT
250
	select S3C_DEV_RTC
251
	select S5P_DEV_FIMD0
252 253 254 255
	select S3C_DEV_HSMMC
	select S3C_DEV_HSMMC2
	select S3C_DEV_HSMMC3
	select S3C_DEV_I2C1
256
	select S3C_DEV_I2C3
257
	select S3C_DEV_I2C5
258 259 260 261 262
	select S5P_DEV_CSIS0
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
263
	select S5P_DEV_MFC
264
	select S5P_DEV_USB_EHCI
265
	select S5P_SETUP_MIPIPHY
266
	select EXYNOS4_DEV_DMA
267
	select EXYNOS4_DEV_PD
268
	select EXYNOS4_SETUP_FIMC
269
	select EXYNOS4_SETUP_FIMD0
270
	select EXYNOS4_SETUP_I2C1
271
	select EXYNOS4_SETUP_I2C3
272 273
	select EXYNOS4_SETUP_I2C5
	select EXYNOS4_SETUP_SDHCI
274
	select EXYNOS4_SETUP_USB_PHY
275
	select S5P_SETUP_MIPIPHY
276
	select SAMSUNG_DEV_PWM
M
MyungJoo Ham 已提交
277
	select SAMSUNG_DEV_ADC
278 279 280
	help
	  Machine support for Samsung Mobile NURI Board.

281 282 283 284 285
config MACH_ORIGEN
	bool "ORIGEN"
	select CPU_EXYNOS4210
	select S3C_DEV_RTC
	select S3C_DEV_WDT
286
	select S3C_DEV_HSMMC
287
	select S3C_DEV_HSMMC2
288 289 290 291
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
292
	select S5P_DEV_FIMD0
293
	select S5P_DEV_I2C_HDMIPHY
S
Sachin Kamat 已提交
294
	select S5P_DEV_MFC
295
	select S5P_DEV_TV
296
	select S5P_DEV_USB_EHCI
297 298
	select SAMSUNG_DEV_BACKLIGHT
	select SAMSUNG_DEV_PWM
299
	select EXYNOS4_DEV_DMA
S
Sachin Kamat 已提交
300
	select EXYNOS4_DEV_PD
301
	select EXYNOS4_SETUP_FIMD0
302
	select EXYNOS4_SETUP_SDHCI
303
	select EXYNOS4_SETUP_USB_PHY
304 305 306
	help
	  Machine support for ORIGEN based on Samsung EXYNOS4210

307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329
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

330 331 332 333 334 335 336 337
comment "EXYNOS4412 Boards"

config MACH_SMDK4412
	bool "SMDK4412"
	select SOC_EXYNOS4412
	select MACH_SMDK4212
	help
	  Machine support for Samsung SMDK4412
338
endif
339

340
if ARCH_EXYNOS4
341

342
comment "Configuration for HSMMC 8-bit bus width"
343

344
config EXYNOS4_SDHCI_CH0_8BIT
345 346 347 348 349
	bool "Channel 0 with 8-bit bus"
	help
	  Support HSMMC Channel 0 8-bit bus.
	  If selected, Channel 1 is disabled.

350
config EXYNOS4_SDHCI_CH2_8BIT
351 352 353 354
	bool "Channel 2 with 8-bit bus"
	help
	  Support HSMMC Channel 2 8-bit bus.
	  If selected, Channel 3 is disabled.
355
endif
356 357 358

endmenu

359
endif