Merge tag 'usb-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
[linux-2.6-block.git] / arch / arm / mach-shmobile / Kconfig
1 config ARCH_SHMOBILE
2         bool
3
4 config ARCH_SHMOBILE_MULTI
5         bool "Renesas ARM SoCs" if ARCH_MULTI_V7
6         depends on MMU
7         select ARCH_SHMOBILE
8         select CPU_V7
9         select GENERIC_CLOCKEVENTS
10         select HAVE_ARM_SCU if SMP
11         select HAVE_ARM_TWD if SMP
12         select HAVE_SMP
13         select ARM_GIC
14         select MIGHT_HAVE_CACHE_L2X0
15         select MIGHT_HAVE_PCI
16         select NO_IOPORT
17         select PINCTRL
18         select ARCH_REQUIRE_GPIOLIB
19         select CLKDEV_LOOKUP
20
21 if ARCH_SHMOBILE_MULTI
22
23 comment "Renesas ARM SoCs System Type"
24
25 config ARCH_EMEV2
26         bool "Emma Mobile EV2"
27         select SYS_SUPPORTS_EM_STI
28
29 config ARCH_R7S72100
30         bool "RZ/A1H (R7S72100)"
31         select SYS_SUPPORTS_SH_MTU2
32
33 config ARCH_R8A7790
34         bool "R-Car H2 (R8A77900)"
35         select RENESAS_IRQC
36         select SYS_SUPPORTS_SH_CMT
37
38 config ARCH_R8A7791
39         bool "R-Car M2 (R8A77910)"
40         select RENESAS_IRQC
41         select SYS_SUPPORTS_SH_CMT
42
43 comment "Renesas ARM SoCs Board Type"
44
45 config MACH_GENMAI
46         bool "Genmai board"
47         depends on ARCH_R7S72100
48
49 config MACH_KOELSCH
50         bool "Koelsch board"
51         depends on ARCH_R8A7791
52
53 config MACH_KZM9D
54         bool "KZM9D board"
55         depends on ARCH_EMEV2
56         select REGULATOR_FIXED_VOLTAGE if REGULATOR
57
58 config MACH_LAGER
59         bool "Lager board"
60         depends on ARCH_R8A7790
61
62 comment "Renesas ARM SoCs System Configuration"
63 endif
64
65 if ARCH_SHMOBILE_LEGACY
66
67 comment "Renesas ARM SoCs System Type"
68
69 config ARCH_SH7372
70         bool "SH-Mobile AP4 (SH7372)"
71         select ARCH_WANT_OPTIONAL_GPIOLIB
72         select ARM_CPU_SUSPEND if PM || CPU_IDLE
73         select CPU_V7
74         select SH_CLK_CPG
75         select SYS_SUPPORTS_SH_CMT
76         select SYS_SUPPORTS_SH_TMU
77
78 config ARCH_SH73A0
79         bool "SH-Mobile AG5 (R8A73A00)"
80         select ARCH_WANT_OPTIONAL_GPIOLIB
81         select ARM_GIC
82         select CPU_V7
83         select I2C
84         select SH_CLK_CPG
85         select RENESAS_INTC_IRQPIN
86         select SYS_SUPPORTS_SH_CMT
87         select SYS_SUPPORTS_SH_TMU
88
89 config ARCH_R8A73A4
90         bool "R-Mobile APE6 (R8A73A40)"
91         select ARCH_WANT_OPTIONAL_GPIOLIB
92         select ARM_GIC
93         select CPU_V7
94         select SH_CLK_CPG
95         select RENESAS_IRQC
96         select ARCH_HAS_CPUFREQ
97         select ARCH_HAS_OPP
98         select SYS_SUPPORTS_SH_CMT
99         select SYS_SUPPORTS_SH_TMU
100
101 config ARCH_R8A7740
102         bool "R-Mobile A1 (R8A77400)"
103         select ARCH_WANT_OPTIONAL_GPIOLIB
104         select ARM_GIC
105         select CPU_V7
106         select SH_CLK_CPG
107         select RENESAS_INTC_IRQPIN
108         select SYS_SUPPORTS_SH_CMT
109         select SYS_SUPPORTS_SH_TMU
110
111 config ARCH_R8A7778
112         bool "R-Car M1A (R8A77781)"
113         select ARCH_WANT_OPTIONAL_GPIOLIB
114         select CPU_V7
115         select SH_CLK_CPG
116         select ARM_GIC
117         select SYS_SUPPORTS_SH_TMU
118
119 config ARCH_R8A7779
120         bool "R-Car H1 (R8A77790)"
121         select ARCH_WANT_OPTIONAL_GPIOLIB
122         select ARM_GIC
123         select CPU_V7
124         select SH_CLK_CPG
125         select RENESAS_INTC_IRQPIN
126         select SYS_SUPPORTS_SH_TMU
127
128 config ARCH_R8A7790
129         bool "R-Car H2 (R8A77900)"
130         select ARCH_WANT_OPTIONAL_GPIOLIB
131         select ARM_GIC
132         select CPU_V7
133         select MIGHT_HAVE_PCI
134         select SH_CLK_CPG
135         select RENESAS_IRQC
136         select SYS_SUPPORTS_SH_CMT
137
138 config ARCH_R8A7791
139         bool "R-Car M2 (R8A77910)"
140         select ARCH_WANT_OPTIONAL_GPIOLIB
141         select ARM_GIC
142         select CPU_V7
143         select MIGHT_HAVE_PCI
144         select SH_CLK_CPG
145         select RENESAS_IRQC
146         select SYS_SUPPORTS_SH_CMT
147
148 config ARCH_EMEV2
149         bool "Emma Mobile EV2"
150         select ARCH_WANT_OPTIONAL_GPIOLIB
151         select ARM_GIC
152         select CPU_V7
153         select MIGHT_HAVE_PCI
154         select USE_OF
155         select AUTO_ZRELADDR
156         select SYS_SUPPORTS_EM_STI
157
158 config ARCH_R7S72100
159         bool "RZ/A1H (R7S72100)"
160         select ARCH_WANT_OPTIONAL_GPIOLIB
161         select ARM_GIC
162         select CPU_V7
163         select SH_CLK_CPG
164         select SYS_SUPPORTS_SH_MTU2
165
166 comment "Renesas ARM SoCs Board Type"
167
168 config MACH_APE6EVM
169         bool "APE6EVM board"
170         depends on ARCH_R8A73A4
171         select USE_OF
172
173 config MACH_APE6EVM_REFERENCE
174         bool "APE6EVM board - Reference Device Tree Implementation"
175         depends on ARCH_R8A73A4
176         select USE_OF
177         ---help---
178            Use reference implementation of APE6EVM board support
179            which makes a greater use of device tree at the expense
180            of not supporting a number of devices.
181
182            This is intended to aid developers
183
184 config MACH_MACKEREL
185         bool "mackerel board"
186         depends on ARCH_SH7372
187         select ARCH_REQUIRE_GPIOLIB
188         select REGULATOR_FIXED_VOLTAGE if REGULATOR
189         select SND_SOC_AK4642 if SND_SIMPLE_CARD
190         select USE_OF
191
192 config MACH_ARMADILLO800EVA
193         bool "Armadillo-800 EVA board"
194         depends on ARCH_R8A7740
195         select ARCH_REQUIRE_GPIOLIB
196         select REGULATOR_FIXED_VOLTAGE if REGULATOR
197         select SND_SOC_WM8978 if SND_SIMPLE_CARD
198         select USE_OF
199
200 config MACH_ARMADILLO800EVA_REFERENCE
201         bool "Armadillo-800 EVA board - Reference Device Tree Implementation"
202         depends on ARCH_R8A7740
203         select ARCH_REQUIRE_GPIOLIB
204         select REGULATOR_FIXED_VOLTAGE if REGULATOR
205         select SND_SOC_WM8978 if SND_SIMPLE_CARD
206         select USE_OF
207         ---help---
208            Use reference implementation of Aramdillo800 EVA board support
209            which makes a greater use of device tree at the expense
210            of not supporting a number of devices.
211
212            This is intended to aid developers
213
214 config MACH_BOCKW
215         bool "BOCK-W platform"
216         depends on ARCH_R8A7778
217         select ARCH_REQUIRE_GPIOLIB
218         select RENESAS_INTC_IRQPIN
219         select REGULATOR_FIXED_VOLTAGE if REGULATOR
220         select USE_OF
221         select SND_SOC_AK4554 if SND_SIMPLE_CARD
222         select SND_SOC_AK4642 if SND_SIMPLE_CARD
223
224 config MACH_BOCKW_REFERENCE
225         bool "BOCK-W  - Reference Device Tree Implementation"
226         depends on ARCH_R8A7778
227         select ARCH_REQUIRE_GPIOLIB
228         select RENESAS_INTC_IRQPIN
229         select REGULATOR_FIXED_VOLTAGE if REGULATOR
230         select USE_OF
231         ---help---
232            Use reference implementation of BockW board support
233            which makes use of device tree at the expense
234            of not supporting a number of devices.
235
236            This is intended to aid developers
237
238 config MACH_GENMAI
239         bool "Genmai board"
240         depends on ARCH_R7S72100
241         select USE_OF
242
243 config MACH_GENMAI_REFERENCE
244         bool "Genmai board - Reference Device Tree Implementation"
245         depends on ARCH_R7S72100
246         select USE_OF
247         ---help---
248            Use reference implementation of Genmai board support
249            which makes use of device tree at the expense
250            of not supporting a number of devices.
251
252            This is intended to aid developers
253
254 config MACH_MARZEN
255         bool "MARZEN board"
256         depends on ARCH_R8A7779
257         select ARCH_REQUIRE_GPIOLIB
258         select REGULATOR_FIXED_VOLTAGE if REGULATOR
259         select USE_OF
260
261 config MACH_MARZEN_REFERENCE
262         bool "MARZEN board - Reference Device Tree Implementation"
263         depends on ARCH_R8A7779
264         select ARCH_REQUIRE_GPIOLIB
265         select REGULATOR_FIXED_VOLTAGE if REGULATOR
266         select USE_OF
267         ---help---
268            Use reference implementation of Marzen board support
269            which makes use of device tree at the expense
270            of not supporting a number of devices.
271
272            This is intended to aid developers
273
274 config MACH_LAGER
275         bool "Lager board"
276         depends on ARCH_R8A7790
277         select USE_OF
278
279 config MACH_KOELSCH
280         bool "Koelsch board"
281         depends on ARCH_R8A7791
282         select USE_OF
283         select MICREL_PHY if SH_ETH
284
285 config MACH_KZM9G
286         bool "KZM-A9-GT board"
287         depends on ARCH_SH73A0
288         select ARCH_HAS_CPUFREQ
289         select ARCH_HAS_OPP
290         select ARCH_REQUIRE_GPIOLIB
291         select REGULATOR_FIXED_VOLTAGE if REGULATOR
292         select SND_SOC_AK4642 if SND_SIMPLE_CARD
293         select USE_OF
294
295 config MACH_KZM9G_REFERENCE
296         bool "KZM-A9-GT board - Reference Device Tree Implementation"
297         depends on ARCH_SH73A0
298         select ARCH_REQUIRE_GPIOLIB
299         select REGULATOR_FIXED_VOLTAGE if REGULATOR
300         select SND_SOC_AK4642 if SND_SIMPLE_CARD
301         select USE_OF
302         ---help---
303            Use reference implementation of KZM-A9-GT board support
304            which makes as greater use of device tree at the expense
305            of not supporting a number of devices.
306
307            This is intended to aid developers
308
309 comment "Renesas ARM SoCs System Configuration"
310
311 config CPU_HAS_INTEVT
312         bool
313         default y
314
315 config SH_CLK_CPG
316         bool
317
318 source "drivers/sh/Kconfig"
319
320 endif
321
322 if ARCH_SHMOBILE
323
324 menu "Timer and clock configuration"
325
326 config SHMOBILE_TIMER_HZ
327         int "Kernel HZ (jiffies per second)"
328         range 32 1024
329         default "128"
330         help
331           Allows the configuration of the timer frequency. It is customary
332           to have the timer interrupt run at 1000 Hz or 100 Hz, but in the
333           case of low timer frequencies other values may be more suitable.
334           Renesas ARM SoC systems using a 32768 Hz RCLK for clock events may
335           want to select a HZ value such as 128 that can evenly divide RCLK.
336           A HZ value that does not divide evenly may cause timer drift.
337
338 endmenu
339
340 endif