Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wirel...
[pandora-kernel.git] / arch / arm / mach-s5pv310 / Kconfig
1 # arch/arm/mach-s5pv310/Kconfig
2 #
3 # Copyright (c) 2010 Samsung Electronics Co., Ltd.
4 #               http://www.samsung.com/
5 #
6 # Licensed under GPLv2
7
8 # Configuration options for the S5PV310
9
10 if ARCH_S5PV310
11
12 config CPU_S5PV310
13         bool
14         select S3C_PL330_DMA
15         help
16           Enable S5PV310 CPU support
17
18 config S5PV310_DEV_PD
19         bool
20         help
21           Compile in platform device definitions for Power Domain
22
23 config S5PV310_SETUP_I2C1
24         bool
25         help
26           Common setup code for i2c bus 1.
27
28 config S5PV310_SETUP_I2C2
29         bool
30         help
31           Common setup code for i2c bus 2.
32
33 config S5PV310_SETUP_I2C3
34         bool
35         help
36           Common setup code for i2c bus 3.
37
38 config S5PV310_SETUP_I2C4
39         bool
40         help
41           Common setup code for i2c bus 4.
42
43 config S5PV310_SETUP_I2C5
44         bool
45         help
46           Common setup code for i2c bus 5.
47
48 config S5PV310_SETUP_I2C6
49         bool
50         help
51           Common setup code for i2c bus 6.
52
53 config S5PV310_SETUP_I2C7
54         bool
55         help
56           Common setup code for i2c bus 7.
57
58 config S5PV310_SETUP_SDHCI
59         bool
60         select S5PV310_SETUP_SDHCI_GPIO
61         help
62           Internal helper functions for S5PV310 based SDHCI systems.
63
64 config S5PV310_SETUP_SDHCI_GPIO
65         bool
66         help
67           Common setup code for SDHCI gpio.
68
69 config S5PV310_DEV_SYSMMU
70         bool
71         help
72           Common setup code for SYSTEM MMU in S5PV310
73
74 # machine support
75
76 menu "S5PC210 Machines"
77
78 config MACH_SMDKC210
79         bool "SMDKC210"
80         select CPU_S5PV310
81         select S3C_DEV_RTC
82         select S3C_DEV_WDT
83         select S3C_DEV_I2C1
84         select S3C_DEV_HSMMC
85         select S3C_DEV_HSMMC1
86         select S3C_DEV_HSMMC2
87         select S3C_DEV_HSMMC3
88         select S5PV310_DEV_PD
89         select S5PV310_SETUP_I2C1
90         select S5PV310_SETUP_SDHCI
91         select S5PV310_DEV_SYSMMU
92         help
93           Machine support for Samsung SMDKC210
94           S5PC210(MCP) is one of package option of S5PV310
95
96 config MACH_UNIVERSAL_C210
97         bool "Mobile UNIVERSAL_C210 Board"
98         select CPU_S5PV310
99         select S5P_DEV_ONENAND
100         select S3C_DEV_HSMMC
101         select S3C_DEV_HSMMC2
102         select S3C_DEV_HSMMC3
103         select S5PV310_SETUP_SDHCI
104         select S3C_DEV_I2C1
105         select S5PV310_SETUP_I2C1
106         help
107           Machine support for Samsung Mobile Universal S5PC210 Reference
108           Board. S5PC210(MCP) is one of package option of S5PV310
109
110 endmenu
111
112 menu "S5PV310 Machines"
113
114 config MACH_SMDKV310
115         bool "SMDKV310"
116         select CPU_S5PV310
117         select S3C_DEV_RTC
118         select S3C_DEV_WDT
119         select S3C_DEV_I2C1
120         select S3C_DEV_HSMMC
121         select S3C_DEV_HSMMC1
122         select S3C_DEV_HSMMC2
123         select S3C_DEV_HSMMC3
124         select S5PV310_DEV_PD
125         select S5PV310_SETUP_I2C1
126         select S5PV310_SETUP_SDHCI
127         help
128           Machine support for Samsung SMDKV310
129
130 endmenu
131
132 comment "Configuration for HSMMC bus width"
133
134 menu "Use 8-bit bus width"
135
136 config S5PV310_SDHCI_CH0_8BIT
137         bool "Channel 0 with 8-bit bus"
138         help
139           Support HSMMC Channel 0 8-bit bus.
140           If selected, Channel 1 is disabled.
141
142 config S5PV310_SDHCI_CH2_8BIT
143         bool "Channel 2 with 8-bit bus"
144         help
145           Support HSMMC Channel 2 8-bit bus.
146           If selected, Channel 3 is disabled.
147
148 endmenu
149
150 endif