Kconfig 6.7 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_AHCI
	bool
	help
	  Compile in platform device definitions for AHCI

65 66 67 68 69
config EXYNOS4_SETUP_FIMD0
	bool
	help
	  Common setup code for FIMD0.

70
config EXYNOS4_DEV_PD
71 72 73 74
	bool
	help
	  Compile in platform device definitions for Power Domain

75 76 77 78 79
config EXYNOS4_DEV_SYSMMU
	bool
	help
	  Common setup code for SYSTEM MMU in EXYNOS4

80 81 82 83 84
config EXYNOS4_DEV_DWMCI
	bool
	help
	  Compile in platform device definitions for DWMCI

85
config EXYNOS4_SETUP_I2C1
86 87 88 89
	bool
	help
	  Common setup code for i2c bus 1.

90
config EXYNOS4_SETUP_I2C2
91 92 93 94
	bool
	help
	  Common setup code for i2c bus 2.

95
config EXYNOS4_SETUP_I2C3
96 97 98 99
	bool
	help
	  Common setup code for i2c bus 3.

100
config EXYNOS4_SETUP_I2C4
101 102 103 104
	bool
	help
	  Common setup code for i2c bus 4.

105
config EXYNOS4_SETUP_I2C5
106 107 108 109
	bool
	help
	  Common setup code for i2c bus 5.

110
config EXYNOS4_SETUP_I2C6
111 112 113 114
	bool
	help
	  Common setup code for i2c bus 6.

115
config EXYNOS4_SETUP_I2C7
116 117 118 119
	bool
	help
	  Common setup code for i2c bus 7.

120 121 122 123 124
config EXYNOS4_SETUP_KEYPAD
	bool
	help
	  Common setup code for keypad.

125
config EXYNOS4_SETUP_SDHCI
126
	bool
127
	select EXYNOS4_SETUP_SDHCI_GPIO
128
	help
129
	  Internal helper functions for EXYNOS4 based SDHCI systems.
130

131
config EXYNOS4_SETUP_SDHCI_GPIO
132 133 134 135
	bool
	help
	  Common setup code for SDHCI gpio.

136 137 138 139 140
config EXYNOS4_SETUP_FIMC
	bool
	help
	  Common setup code for the camera interfaces.

141 142 143 144 145
config EXYNOS4_SETUP_USB_PHY
	bool
	help
	  Common setup code for USB PHY controller

146 147
# machine support

148
if ARCH_EXYNOS4
149

150 151
comment "EXYNOS4210 Boards"

152 153
config MACH_SMDKC210
	bool "SMDKC210"
154
	select MACH_SMDKV310
155 156
	help
	  Machine support for Samsung SMDKC210
157 158 159

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

191 192 193 194 195 196 197 198
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
199
	select EXYNOS4_DEV_AHCI
200 201 202 203 204
	select EXYNOS4_DEV_SYSMMU
	select EXYNOS4_SETUP_SDHCI
	help
	  Machine support for Samsung ARMLEX4210 based on EXYNOS4210

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

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

272 273 274 275 276
config MACH_ORIGEN
	bool "ORIGEN"
	select CPU_EXYNOS4210
	select S3C_DEV_RTC
	select S3C_DEV_WDT
277
	select S3C_DEV_HSMMC
278
	select S3C_DEV_HSMMC2
279 280 281 282
	select S5P_DEV_FIMC0
	select S5P_DEV_FIMC1
	select S5P_DEV_FIMC2
	select S5P_DEV_FIMC3
283
	select S5P_DEV_FIMD0
284
	select S5P_DEV_I2C_HDMIPHY
S
Sachin Kamat 已提交
285
	select S5P_DEV_MFC
286
	select S5P_DEV_TV
287
	select S5P_DEV_USB_EHCI
288 289
	select SAMSUNG_DEV_BACKLIGHT
	select SAMSUNG_DEV_PWM
S
Sachin Kamat 已提交
290
	select EXYNOS4_DEV_PD
291
	select EXYNOS4_SETUP_FIMD0
292
	select EXYNOS4_SETUP_SDHCI
293
	select EXYNOS4_SETUP_USB_PHY
294 295 296
	help
	  Machine support for ORIGEN based on Samsung EXYNOS4210

297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319
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

320 321 322 323 324 325 326 327
comment "EXYNOS4412 Boards"

config MACH_SMDK4412
	bool "SMDK4412"
	select SOC_EXYNOS4412
	select MACH_SMDK4212
	help
	  Machine support for Samsung SMDK4412
328
endif
329

330
if ARCH_EXYNOS4
331

332
comment "Configuration for HSMMC 8-bit bus width"
333

334
config EXYNOS4_SDHCI_CH0_8BIT
335 336 337 338 339
	bool "Channel 0 with 8-bit bus"
	help
	  Support HSMMC Channel 0 8-bit bus.
	  If selected, Channel 1 is disabled.

340
config EXYNOS4_SDHCI_CH2_8BIT
341 342 343 344
	bool "Channel 2 with 8-bit bus"
	help
	  Support HSMMC Channel 2 8-bit bus.
	  If selected, Channel 3 is disabled.
345
endif
346 347 348

endmenu

349
endif