Merge branch 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[deliverable/linux.git] / arch / arm / mach-shmobile / Kconfig
CommitLineData
efacfce5
MD
1config ARCH_SHMOBILE_MULTI
2 bool "SH-Mobile Series" if ARCH_MULTI_V7
3 depends on MMU
4 select CPU_V7
5 select GENERIC_CLOCKEVENTS
6 select HAVE_ARM_SCU if SMP
7 select HAVE_ARM_TWD if LOCAL_TIMERS
8 select HAVE_SMP
9 select ARM_GIC
10 select MIGHT_HAVE_CACHE_L2X0
11 select NO_IOPORT
12 select PINCTRL
13 select ARCH_REQUIRE_GPIOLIB
14 select CLKDEV_LOOKUP
15
16if ARCH_SHMOBILE_MULTI
17
18comment "SH-Mobile System Type"
19
cbc60e7c
MD
20config ARCH_EMEV2
21 bool "Emma Mobile EV2"
22
23comment "SH-Mobile Board Type"
24
3ae970a6
MD
25config MACH_KZM9D
26 bool "KZM9D board"
cbc60e7c
MD
27 depends on ARCH_EMEV2
28 select REGULATOR_FIXED_VOLTAGE if REGULATOR
fd071b66
MD
29
30comment "SH-Mobile System Configuration"
efacfce5
MD
31endif
32
c793c1b0
MD
33if ARCH_SHMOBILE
34
35comment "SH-Mobile System Type"
36
2b7eda63
MD
37config ARCH_SH7372
38 bool "SH-Mobile AP4 (SH7372)"
6d72ad35 39 select ARCH_WANT_OPTIONAL_GPIOLIB
a1ee61b8 40 select ARM_CPU_SUSPEND if PM || CPU_IDLE
b1b3f49c
RK
41 select CPU_V7
42 select SH_CLK_CPG
2b7eda63 43
6d9598e2
MD
44config ARCH_SH73A0
45 bool "SH-Mobile AG5 (R8A73A00)"
1cdf3702 46 select ARCH_WANT_OPTIONAL_GPIOLIB
6d9598e2 47 select ARM_GIC
b1b3f49c 48 select CPU_V7
99f8bd85 49 select I2C
b1b3f49c 50 select SH_CLK_CPG
341eb546 51 select RENESAS_INTC_IRQPIN
6d9598e2 52
eccf0607
MD
53config ARCH_R8A73A4
54 bool "R-Mobile APE6 (R8A73A40)"
d313d068 55 select ARCH_WANT_OPTIONAL_GPIOLIB
eccf0607
MD
56 select ARM_GIC
57 select CPU_V7
eccf0607 58 select SH_CLK_CPG
984ca295 59 select RENESAS_IRQC
181135e0
GL
60 select ARCH_HAS_CPUFREQ
61 select ARCH_HAS_OPP
6d9598e2 62
6c01ba44
KM
63config ARCH_R8A7740
64 bool "R-Mobile A1 (R8A77400)"
b1b3f49c 65 select ARCH_WANT_OPTIONAL_GPIOLIB
0b7d7820 66 select ARM_GIC
6c01ba44
KM
67 select CPU_V7
68 select SH_CLK_CPG
0b7d7820 69 select RENESAS_INTC_IRQPIN
6c01ba44 70
ccb7cc74 71config ARCH_R8A7778
45fa9295 72 bool "R-Car M1A (R8A77781)"
369b00bb 73 select ARCH_WANT_OPTIONAL_GPIOLIB
ccb7cc74
KM
74 select CPU_V7
75 select SH_CLK_CPG
76 select ARM_GIC
02474a41
SS
77 select USB_ARCH_HAS_EHCI
78 select USB_ARCH_HAS_OHCI
6c01ba44 79
f411fade
MD
80config ARCH_R8A7779
81 bool "R-Car H1 (R8A77790)"
b1b3f49c
RK
82 select ARCH_WANT_OPTIONAL_GPIOLIB
83 select ARM_GIC
f411fade
MD
84 select CPU_V7
85 select SH_CLK_CPG
94e1f7fb 86 select USB_ARCH_HAS_EHCI
ac7c4ea0 87 select USB_ARCH_HAS_OHCI
8e56e6d5 88 select RENESAS_INTC_IRQPIN
f411fade 89
0468b2d6
MD
90config ARCH_R8A7790
91 bool "R-Car H2 (R8A77900)"
69e351d0 92 select ARCH_WANT_OPTIONAL_GPIOLIB
0468b2d6
MD
93 select ARM_GIC
94 select CPU_V7
0468b2d6 95 select SH_CLK_CPG
8f5ec0a5 96 select RENESAS_IRQC
f411fade 97
0d0771ab
HN
98config ARCH_R8A7791
99 bool "R-Car M2 (R8A77910)"
100 select ARM_GIC
101 select CPU_V7
102 select SH_CLK_CPG
103
7f627f03
MD
104config ARCH_EMEV2
105 bool "Emma Mobile EV2"
088efd92 106 select ARCH_WANT_OPTIONAL_GPIOLIB
b1b3f49c
RK
107 select ARM_GIC
108 select CPU_V7
7f627f03 109
0086df27
MD
110config ARCH_R7S72100
111 bool "RZ/A1H (R7S72100)"
112 select ARM_GIC
113 select CPU_V7
114 select SH_CLK_CPG
115
c793c1b0
MD
116comment "SH-Mobile Board Type"
117
78ded168
MD
118config MACH_APE6EVM
119 bool "APE6EVM board"
120 depends on ARCH_R8A73A4
121 select USE_OF
122
69f36661
GL
123config MACH_APE6EVM_REFERENCE
124 bool "APE6EVM board - Reference Device Tree Implementation"
125 depends on ARCH_R8A73A4
126 select USE_OF
127 ---help---
128 Use reference implementation of APE6EVM board support
129 which makes a greater use of device tree at the expense
130 of not supporting a number of devices.
131
132 This is intended to aid developers
133
920adc75
KM
134config MACH_MACKEREL
135 bool "mackerel board"
136 depends on ARCH_SH7372
3256c789 137 select ARCH_REQUIRE_GPIOLIB
34767f8d 138 select REGULATOR_FIXED_VOLTAGE if REGULATOR
b1b3f49c 139 select SND_SOC_AK4642 if SND_SIMPLE_CARD
0ce53cdc 140 select USE_OF
6d9598e2 141
4d22e564
KM
142config MACH_ARMADILLO800EVA
143 bool "Armadillo-800 EVA board"
144 depends on ARCH_R8A7740
145 select ARCH_REQUIRE_GPIOLIB
34767f8d 146 select REGULATOR_FIXED_VOLTAGE if REGULATOR
5389bf71 147 select SND_SOC_WM8978 if SND_SIMPLE_CARD
b1b3f49c 148 select USE_OF
4d22e564 149
76b92b40
BH
150config MACH_ARMADILLO800EVA_REFERENCE
151 bool "Armadillo-800 EVA board - Reference Device Tree Implementation"
152 depends on ARCH_R8A7740
153 select ARCH_REQUIRE_GPIOLIB
154 select REGULATOR_FIXED_VOLTAGE if REGULATOR
155 select SND_SOC_WM8978 if SND_SIMPLE_CARD
156 select USE_OF
157 ---help---
158 Use reference implementation of Aramdillo800 EVA board support
159 which makes a greater use of device tree at the expense
160 of not supporting a number of devices.
161
162 This is intended to aid developers
163
53e42c29
KM
164config MACH_BOCKW
165 bool "BOCK-W platform"
166 depends on ARCH_R8A7778
167 select ARCH_REQUIRE_GPIOLIB
27d5f27e 168 select RENESAS_INTC_IRQPIN
c9996e51 169 select REGULATOR_FIXED_VOLTAGE if REGULATOR
53e42c29 170 select USE_OF
688e6a6d
KM
171 select SND_SOC_AK4554 if SND_SIMPLE_CARD
172 select SND_SOC_AK4642 if SND_SIMPLE_CARD
53e42c29 173
cfa66a81
KM
174config MACH_BOCKW_REFERENCE
175 bool "BOCK-W - Reference Device Tree Implementation"
176 depends on ARCH_R8A7778
177 select ARCH_REQUIRE_GPIOLIB
178 select RENESAS_INTC_IRQPIN
179 select REGULATOR_FIXED_VOLTAGE if REGULATOR
180 select USE_OF
181 ---help---
182 Use reference implementation of BockW board support
183 which makes use of device tree at the expense
184 of not supporting a number of devices.
185
186 This is intended to aid developers
187
a4ed412e
MD
188config MACH_GENMAI
189 bool "Genmai board"
190 depends on ARCH_R7S72100
191 select USE_OF
192
f411fade
MD
193config MACH_MARZEN
194 bool "MARZEN board"
195 depends on ARCH_R8A7779
19c43fc5 196 select ARCH_REQUIRE_GPIOLIB
34767f8d 197 select REGULATOR_FIXED_VOLTAGE if REGULATOR
7ebbb4ae 198 select USE_OF
f411fade 199
73d6a69e
SH
200config MACH_MARZEN_REFERENCE
201 bool "MARZEN board - Reference Device Tree Implementation"
202 depends on ARCH_R8A7779
203 select ARCH_REQUIRE_GPIOLIB
204 select REGULATOR_FIXED_VOLTAGE if REGULATOR
205 select USE_OF
206 ---help---
207 Use reference implementation of Marzen board support
208 which makes use of device tree at the expense
209 of not supporting a number of devices.
210
211 This is intended to aid developers
212
3cc828fd
MD
213config MACH_LAGER
214 bool "Lager board"
215 depends on ARCH_R8A7790
216 select USE_OF
217
6dace67f
SH
218config MACH_LAGER_REFERENCE
219 bool "Lager board - Reference Device Tree Implementation"
220 depends on ARCH_R8A7790
221 select USE_OF
222 ---help---
223 Use reference implementation of Lager board support
224 which makes use of device tree at the expense
225 of not supporting a number of devices.
226
227 This is intended to aid developers
228
1f52c659
HN
229config MACH_KOELSCH
230 bool "Koelsch board"
231 depends on ARCH_R8A7791
232 select USE_OF
233
c050fb10
MD
234config MACH_KZM9D
235 bool "KZM9D board"
236 depends on ARCH_EMEV2
34767f8d 237 select REGULATOR_FIXED_VOLTAGE if REGULATOR
b1b3f49c 238 select USE_OF
c050fb10 239
9b93e244
KM
240config MACH_KZM9G
241 bool "KZM-A9-GT board"
242 depends on ARCH_SH73A0
d2347382
GL
243 select ARCH_HAS_CPUFREQ
244 select ARCH_HAS_OPP
9b93e244 245 select ARCH_REQUIRE_GPIOLIB
34767f8d 246 select REGULATOR_FIXED_VOLTAGE if REGULATOR
b1b3f49c
RK
247 select SND_SOC_AK4642 if SND_SIMPLE_CARD
248 select USE_OF
9b93e244 249
b8b82b29
SH
250config MACH_KZM9G_REFERENCE
251 bool "KZM-A9-GT board - Reference Device Tree Implementation"
f33d1c34
GL
252 depends on ARCH_SH73A0
253 select ARCH_REQUIRE_GPIOLIB
254 select REGULATOR_FIXED_VOLTAGE if REGULATOR
255 select SND_SOC_AK4642 if SND_SIMPLE_CARD
256 select USE_OF
b8b82b29
SH
257 ---help---
258 Use reference implementation of KZM-A9-GT board support
259 which makes as greater use of device tree at the expense
260 of not supporting a number of devices.
261
262 This is intended to aid developers
263
c793c1b0
MD
264comment "SH-Mobile System Configuration"
265
7f1e7637
RH
266config CPU_HAS_INTEVT
267 bool
268 default y
269
fd071b66
MD
270config SH_CLK_CPG
271 bool
272
273source "drivers/sh/Kconfig"
274
275endif
276
277if ARCH_SHMOBILE || ARCH_SHMOBILE_MULTI
278
c793c1b0
MD
279menu "Timer and clock configuration"
280
5da3e714
MD
281config SHMOBILE_TIMER_HZ
282 int "Kernel HZ (jiffies per second)"
283 range 32 1024
284 default "128"
285 help
286 Allows the configuration of the timer frequency. It is customary
287 to have the timer interrupt run at 1000 Hz or 100 Hz, but in the
288 case of low timer frequencies other values may be more suitable.
289 SH-Mobile systems using a 32768 Hz RCLK for clock events may want
290 to select a HZ value such as 128 that can evenly divide RCLK.
291 A HZ value that does not divide evenly may cause timer drift.
292
c793c1b0
MD
293config SH_TIMER_CMT
294 bool "CMT timer driver"
295 default y
296 help
297 This enables build of the CMT timer driver.
298
645e522e
MD
299config SH_TIMER_TMU
300 bool "TMU timer driver"
301 default y
302 help
303 This enables build of the TMU timer driver.
304
b9dbf951
MD
305config EM_TIMER_STI
306 bool "STI timer driver"
307 default y
308 help
309 This enables build of the STI timer driver.
310
c793c1b0
MD
311endmenu
312
313endif
This page took 0.166466 seconds and 5 git commands to generate.