]> Pileus Git - ~andy/linux/blob - arch/arm/mach-shmobile/Kconfig
Merge tag 'soc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[~andy/linux] / arch / arm / mach-shmobile / Kconfig
1 config 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
16 if ARCH_SHMOBILE_MULTI
17
18 comment "SH-Mobile System Type"
19
20 config ARCH_EMEV2
21         bool "Emma Mobile EV2"
22
23 comment "SH-Mobile Board Type"
24
25 config MACH_KZM9D_REFERENCE
26         bool "KZM9D board - Reference Device Tree Implementation"
27         depends on ARCH_EMEV2
28         select REGULATOR_FIXED_VOLTAGE if REGULATOR
29         ---help---
30            Use reference implementation of KZM9D board support
31            which makes a greater use of device tree at the expense
32            of not supporting a number of devices.
33
34            This is intended to aid developers
35
36 comment "SH-Mobile System Configuration"
37 endif
38
39 if ARCH_SHMOBILE
40
41 comment "SH-Mobile System Type"
42
43 config ARCH_SH7372
44         bool "SH-Mobile AP4 (SH7372)"
45         select ARCH_WANT_OPTIONAL_GPIOLIB
46         select ARM_CPU_SUSPEND if PM || CPU_IDLE
47         select CPU_V7
48         select SH_CLK_CPG
49
50 config ARCH_SH73A0
51         bool "SH-Mobile AG5 (R8A73A00)"
52         select ARCH_WANT_OPTIONAL_GPIOLIB
53         select ARM_GIC
54         select CPU_V7
55         select I2C
56         select SH_CLK_CPG
57         select RENESAS_INTC_IRQPIN
58
59 config ARCH_R8A73A4
60         bool "R-Mobile APE6 (R8A73A40)"
61         select ARCH_WANT_OPTIONAL_GPIOLIB
62         select ARM_GIC
63         select CPU_V7
64         select SH_CLK_CPG
65         select RENESAS_IRQC
66         select ARCH_HAS_CPUFREQ
67         select ARCH_HAS_OPP
68
69 config ARCH_R8A7740
70         bool "R-Mobile A1 (R8A77400)"
71         select ARCH_WANT_OPTIONAL_GPIOLIB
72         select ARM_GIC
73         select CPU_V7
74         select SH_CLK_CPG
75         select RENESAS_INTC_IRQPIN
76
77 config ARCH_R8A7778
78         bool "R-Car M1A (R8A77781)"
79         select ARCH_WANT_OPTIONAL_GPIOLIB
80         select CPU_V7
81         select SH_CLK_CPG
82         select ARM_GIC
83         select USB_ARCH_HAS_EHCI
84         select USB_ARCH_HAS_OHCI
85
86 config ARCH_R8A7779
87         bool "R-Car H1 (R8A77790)"
88         select ARCH_WANT_OPTIONAL_GPIOLIB
89         select ARM_GIC
90         select CPU_V7
91         select SH_CLK_CPG
92         select USB_ARCH_HAS_EHCI
93         select USB_ARCH_HAS_OHCI
94         select RENESAS_INTC_IRQPIN
95
96 config ARCH_R8A7790
97         bool "R-Car H2 (R8A77900)"
98         select ARCH_WANT_OPTIONAL_GPIOLIB
99         select ARM_GIC
100         select CPU_V7
101         select SH_CLK_CPG
102         select RENESAS_IRQC
103
104 config ARCH_EMEV2
105         bool "Emma Mobile EV2"
106         select ARCH_WANT_OPTIONAL_GPIOLIB
107         select ARM_GIC
108         select CPU_V7
109
110 comment "SH-Mobile Board Type"
111
112 config MACH_AG5EVM
113         bool "AG5EVM board"
114         depends on ARCH_SH73A0
115         select ARCH_REQUIRE_GPIOLIB
116         select REGULATOR_FIXED_VOLTAGE if REGULATOR
117         select SH_LCD_MIPI_DSI
118
119 config MACH_APE6EVM
120         bool "APE6EVM board"
121         depends on ARCH_R8A73A4
122         select USE_OF
123
124 config MACH_MACKEREL
125         bool "mackerel board"
126         depends on ARCH_SH7372
127         select ARCH_REQUIRE_GPIOLIB
128         select REGULATOR_FIXED_VOLTAGE if REGULATOR
129         select SND_SOC_AK4642 if SND_SIMPLE_CARD
130         select USE_OF
131
132 config MACH_KOTA2
133         bool "KOTA2 board"
134         depends on ARCH_SH73A0
135         select ARCH_REQUIRE_GPIOLIB
136         select REGULATOR_FIXED_VOLTAGE if REGULATOR
137
138 config MACH_ARMADILLO800EVA
139         bool "Armadillo-800 EVA board"
140         depends on ARCH_R8A7740
141         select ARCH_REQUIRE_GPIOLIB
142         select REGULATOR_FIXED_VOLTAGE if REGULATOR
143         select SND_SOC_WM8978 if SND_SIMPLE_CARD
144         select USE_OF
145
146 config MACH_ARMADILLO800EVA_REFERENCE
147         bool "Armadillo-800 EVA board - Reference Device Tree Implementation"
148         depends on ARCH_R8A7740
149         select ARCH_REQUIRE_GPIOLIB
150         select REGULATOR_FIXED_VOLTAGE if REGULATOR
151         select SND_SOC_WM8978 if SND_SIMPLE_CARD
152         select USE_OF
153         ---help---
154            Use reference implementation of Aramdillo800 EVA board support
155            which makes a greater use of device tree at the expense
156            of not supporting a number of devices.
157
158            This is intended to aid developers
159
160 config MACH_BOCKW
161         bool "BOCK-W platform"
162         depends on ARCH_R8A7778
163         select ARCH_REQUIRE_GPIOLIB
164         select RENESAS_INTC_IRQPIN
165         select USE_OF
166
167 config MACH_MARZEN
168         bool "MARZEN board"
169         depends on ARCH_R8A7779
170         select ARCH_REQUIRE_GPIOLIB
171         select REGULATOR_FIXED_VOLTAGE if REGULATOR
172
173 config MACH_MARZEN_REFERENCE
174         bool "MARZEN board - Reference Device Tree Implementation"
175         depends on ARCH_R8A7779
176         select ARCH_REQUIRE_GPIOLIB
177         select REGULATOR_FIXED_VOLTAGE if REGULATOR
178         select USE_OF
179         ---help---
180            Use reference implementation of Marzen board support
181            which makes use of device tree at the expense
182            of not supporting a number of devices.
183
184            This is intended to aid developers
185
186 config MACH_LAGER
187         bool "Lager board"
188         depends on ARCH_R8A7790
189         select USE_OF
190
191 config MACH_KZM9D
192         bool "KZM9D board"
193         depends on ARCH_EMEV2
194         select REGULATOR_FIXED_VOLTAGE if REGULATOR
195         select USE_OF
196
197 config MACH_KZM9D_REFERENCE
198         bool "KZM9D board - Reference Device Tree Implementation"
199         depends on ARCH_EMEV2
200         select REGULATOR_FIXED_VOLTAGE if REGULATOR
201         select USE_OF
202         ---help---
203            Use reference implementation of KZM9D board support
204            which makes a greater use of device tree at the expense
205            of not supporting a number of devices.
206
207            This is intended to aid developers
208
209 config MACH_KZM9G
210         bool "KZM-A9-GT board"
211         depends on ARCH_SH73A0
212         select ARCH_HAS_CPUFREQ
213         select ARCH_HAS_OPP
214         select ARCH_REQUIRE_GPIOLIB
215         select REGULATOR_FIXED_VOLTAGE if REGULATOR
216         select SND_SOC_AK4642 if SND_SIMPLE_CARD
217         select USE_OF
218
219 config MACH_KZM9G_REFERENCE
220         bool "KZM-A9-GT board - Reference Device Tree Implementation"
221         depends on ARCH_SH73A0
222         select ARCH_REQUIRE_GPIOLIB
223         select REGULATOR_FIXED_VOLTAGE if REGULATOR
224         select SND_SOC_AK4642 if SND_SIMPLE_CARD
225         select USE_OF
226         ---help---
227            Use reference implementation of KZM-A9-GT board support
228            which makes as greater use of device tree at the expense
229            of not supporting a number of devices.
230
231            This is intended to aid developers
232
233 comment "SH-Mobile System Configuration"
234
235 config CPU_HAS_INTEVT
236         bool
237         default y
238
239 config SH_CLK_CPG
240         bool
241
242 source "drivers/sh/Kconfig"
243
244 endif
245
246 if ARCH_SHMOBILE || ARCH_SHMOBILE_MULTI
247
248 menu "Timer and clock configuration"
249
250 config SHMOBILE_TIMER_HZ
251         int "Kernel HZ (jiffies per second)"
252         range 32 1024
253         default "128"
254         help
255           Allows the configuration of the timer frequency. It is customary
256           to have the timer interrupt run at 1000 Hz or 100 Hz, but in the
257           case of low timer frequencies other values may be more suitable.
258           SH-Mobile systems using a 32768 Hz RCLK for clock events may want
259           to select a HZ value such as 128 that can evenly divide RCLK.
260           A HZ value that does not divide evenly may cause timer drift.
261
262 config SH_TIMER_CMT
263         bool "CMT timer driver"
264         default y
265         help
266           This enables build of the CMT timer driver.
267
268 config SH_TIMER_TMU
269         bool "TMU timer driver"
270         default y
271         help
272           This enables build of the TMU timer driver.
273
274 config EM_TIMER_STI
275         bool "STI timer driver"
276         default y
277         help
278           This enables build of the STI timer driver.
279
280 endmenu
281
282 endif