Merge branch 'next-samsung-clkdev-fix' into next-samsung-devel
[pandora-kernel.git] / arch / arm / mach-exynos4 / Kconfig
1 # arch/arm/mach-exynos4/Kconfig
2 #
3 # Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
4 #               http://www.samsung.com/
5 #
6 # Licensed under GPLv2
7
8 # Configuration options for the EXYNOS4
9
10 if ARCH_EXYNOS4
11
12 config CPU_EXYNOS4210
13         bool
14         select S3C_PL330_DMA
15         help
16           Enable EXYNOS4210 CPU support
17
18 config EXYNOS4_MCT
19         bool
20         default y
21         help
22           Use MCT (Multi Core Timer) as kernel timers
23
24 config EXYNOS4_DEV_AHCI
25         bool
26         help
27           Compile in platform device definitions for AHCI
28
29 config EXYNOS4_DEV_PD
30         bool
31         help
32           Compile in platform device definitions for Power Domain
33
34 config EXYNOS4_DEV_SYSMMU
35         bool
36         help
37           Common setup code for SYSTEM MMU in EXYNOS4
38
39 config EXYNOS4_DEV_DWMCI
40         bool
41         help
42           Compile in platform device definitions for DWMCI
43
44 config EXYNOS4_SETUP_I2C1
45         bool
46         help
47           Common setup code for i2c bus 1.
48
49 config EXYNOS4_SETUP_I2C2
50         bool
51         help
52           Common setup code for i2c bus 2.
53
54 config EXYNOS4_SETUP_I2C3
55         bool
56         help
57           Common setup code for i2c bus 3.
58
59 config EXYNOS4_SETUP_I2C4
60         bool
61         help
62           Common setup code for i2c bus 4.
63
64 config EXYNOS4_SETUP_I2C5
65         bool
66         help
67           Common setup code for i2c bus 5.
68
69 config EXYNOS4_SETUP_I2C6
70         bool
71         help
72           Common setup code for i2c bus 6.
73
74 config EXYNOS4_SETUP_I2C7
75         bool
76         help
77           Common setup code for i2c bus 7.
78
79 config EXYNOS4_SETUP_KEYPAD
80         bool
81         help
82           Common setup code for keypad.
83
84 config EXYNOS4_SETUP_SDHCI
85         bool
86         select EXYNOS4_SETUP_SDHCI_GPIO
87         help
88           Internal helper functions for EXYNOS4 based SDHCI systems.
89
90 config EXYNOS4_SETUP_SDHCI_GPIO
91         bool
92         help
93           Common setup code for SDHCI gpio.
94
95 config EXYNOS4_SETUP_FIMC
96         bool
97         help
98           Common setup code for the camera interfaces.
99
100 config EXYNOS4_SETUP_USB_PHY
101         bool
102         help
103           Common setup code for USB PHY controller
104
105 # machine support
106
107 menu "EXYNOS4 Machines"
108
109 config MACH_SMDKC210
110         bool "SMDKC210"
111         select CPU_EXYNOS4210
112         select S3C_DEV_RTC
113         select S3C_DEV_WDT
114         select S3C_DEV_I2C1
115         select S3C_DEV_HSMMC
116         select S3C_DEV_HSMMC1
117         select S3C_DEV_HSMMC2
118         select S3C_DEV_HSMMC3
119         select EXYNOS4_DEV_PD
120         select EXYNOS4_DEV_SYSMMU
121         select EXYNOS4_SETUP_I2C1
122         select EXYNOS4_SETUP_SDHCI
123         help
124           Machine support for Samsung SMDKC210
125
126 config MACH_SMDKV310
127         bool "SMDKV310"
128         select CPU_EXYNOS4210
129         select S3C_DEV_RTC
130         select S3C_DEV_WDT
131         select S3C_DEV_I2C1
132         select S3C_DEV_HSMMC
133         select S3C_DEV_HSMMC1
134         select S3C_DEV_HSMMC2
135         select S3C_DEV_HSMMC3
136         select EXYNOS4_DEV_AHCI
137         select SAMSUNG_DEV_KEYPAD
138         select EXYNOS4_DEV_PD
139         select EXYNOS4_DEV_SYSMMU
140         select EXYNOS4_SETUP_I2C1
141         select EXYNOS4_SETUP_KEYPAD
142         select EXYNOS4_SETUP_SDHCI
143         help
144           Machine support for Samsung SMDKV310
145
146 config MACH_ARMLEX4210
147         bool "ARMLEX4210"
148         select CPU_EXYNOS4210
149         select S3C_DEV_RTC
150         select S3C_DEV_WDT
151         select S3C_DEV_HSMMC
152         select S3C_DEV_HSMMC2
153         select S3C_DEV_HSMMC3
154         select EXYNOS4_DEV_AHCI
155         select EXYNOS4_DEV_SYSMMU
156         select EXYNOS4_SETUP_SDHCI
157         help
158           Machine support for Samsung ARMLEX4210 based on EXYNOS4210
159
160 config MACH_UNIVERSAL_C210
161         bool "Mobile UNIVERSAL_C210 Board"
162         select CPU_EXYNOS4210
163         select S5P_GPIO_INT
164         select S5P_DEV_FIMC0
165         select S5P_DEV_FIMC1
166         select S5P_DEV_FIMC2
167         select S5P_DEV_FIMC3
168         select S3C_DEV_HSMMC
169         select S3C_DEV_HSMMC2
170         select S3C_DEV_HSMMC3
171         select S3C_DEV_I2C1
172         select S3C_DEV_I2C3
173         select S3C_DEV_I2C5
174         select S5P_DEV_ONENAND
175         select EXYNOS4_SETUP_I2C1
176         select EXYNOS4_SETUP_I2C3
177         select EXYNOS4_SETUP_I2C5
178         select EXYNOS4_SETUP_SDHCI
179         help
180           Machine support for Samsung Mobile Universal S5PC210 Reference
181           Board.
182
183 config MACH_NURI
184         bool "Mobile NURI Board"
185         select CPU_EXYNOS4210
186         select S3C_DEV_WDT
187         select S3C_DEV_HSMMC
188         select S3C_DEV_HSMMC2
189         select S3C_DEV_HSMMC3
190         select S3C_DEV_I2C1
191         select S3C_DEV_I2C3
192         select S3C_DEV_I2C5
193         select S5P_DEV_USB_EHCI
194         select EXYNOS4_SETUP_I2C1
195         select EXYNOS4_SETUP_I2C3
196         select EXYNOS4_SETUP_I2C5
197         select EXYNOS4_SETUP_SDHCI
198         select EXYNOS4_SETUP_USB_PHY
199         select SAMSUNG_DEV_PWM
200         select SAMSUNG_DEV_ADC
201         help
202           Machine support for Samsung Mobile NURI Board.
203
204 endmenu
205
206 comment "Configuration for HSMMC bus width"
207
208 menu "Use 8-bit bus width"
209
210 config EXYNOS4_SDHCI_CH0_8BIT
211         bool "Channel 0 with 8-bit bus"
212         help
213           Support HSMMC Channel 0 8-bit bus.
214           If selected, Channel 1 is disabled.
215
216 config EXYNOS4_SDHCI_CH2_8BIT
217         bool "Channel 2 with 8-bit bus"
218         help
219           Support HSMMC Channel 2 8-bit bus.
220           If selected, Channel 3 is disabled.
221
222 endmenu
223
224 endif