]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/mach-shmobile/Kconfig
Merge tag 'boards-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm...
[karo-tx-linux.git] / 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 REGULATOR_FIXED_VOLTAGE if REGULATOR
166         select USE_OF
167
168 config MACH_MARZEN
169         bool "MARZEN board"
170         depends on ARCH_R8A7779
171         select ARCH_REQUIRE_GPIOLIB
172         select REGULATOR_FIXED_VOLTAGE if REGULATOR
173
174 config MACH_MARZEN_REFERENCE
175         bool "MARZEN board - Reference Device Tree Implementation"
176         depends on ARCH_R8A7779
177         select ARCH_REQUIRE_GPIOLIB
178         select REGULATOR_FIXED_VOLTAGE if REGULATOR
179         select USE_OF
180         ---help---
181            Use reference implementation of Marzen board support
182            which makes use of device tree at the expense
183            of not supporting a number of devices.
184
185            This is intended to aid developers
186
187 config MACH_LAGER
188         bool "Lager board"
189         depends on ARCH_R8A7790
190         select USE_OF
191
192 config MACH_KZM9D
193         bool "KZM9D board"
194         depends on ARCH_EMEV2
195         select REGULATOR_FIXED_VOLTAGE if REGULATOR
196         select USE_OF
197
198 config MACH_KZM9D_REFERENCE
199         bool "KZM9D board - Reference Device Tree Implementation"
200         depends on ARCH_EMEV2
201         select REGULATOR_FIXED_VOLTAGE if REGULATOR
202         select USE_OF
203         ---help---
204            Use reference implementation of KZM9D board support
205            which makes a greater use of device tree at the expense
206            of not supporting a number of devices.
207
208            This is intended to aid developers
209
210 config MACH_KZM9G
211         bool "KZM-A9-GT board"
212         depends on ARCH_SH73A0
213         select ARCH_HAS_CPUFREQ
214         select ARCH_HAS_OPP
215         select ARCH_REQUIRE_GPIOLIB
216         select REGULATOR_FIXED_VOLTAGE if REGULATOR
217         select SND_SOC_AK4642 if SND_SIMPLE_CARD
218         select USE_OF
219
220 config MACH_KZM9G_REFERENCE
221         bool "KZM-A9-GT board - Reference Device Tree Implementation"
222         depends on ARCH_SH73A0
223         select ARCH_REQUIRE_GPIOLIB
224         select REGULATOR_FIXED_VOLTAGE if REGULATOR
225         select SND_SOC_AK4642 if SND_SIMPLE_CARD
226         select USE_OF
227         ---help---
228            Use reference implementation of KZM-A9-GT board support
229            which makes as greater use of device tree at the expense
230            of not supporting a number of devices.
231
232            This is intended to aid developers
233
234 comment "SH-Mobile System Configuration"
235
236 config CPU_HAS_INTEVT
237         bool
238         default y
239
240 config SH_CLK_CPG
241         bool
242
243 source "drivers/sh/Kconfig"
244
245 endif
246
247 if ARCH_SHMOBILE || ARCH_SHMOBILE_MULTI
248
249 menu "Timer and clock configuration"
250
251 config SHMOBILE_TIMER_HZ
252         int "Kernel HZ (jiffies per second)"
253         range 32 1024
254         default "128"
255         help
256           Allows the configuration of the timer frequency. It is customary
257           to have the timer interrupt run at 1000 Hz or 100 Hz, but in the
258           case of low timer frequencies other values may be more suitable.
259           SH-Mobile systems using a 32768 Hz RCLK for clock events may want
260           to select a HZ value such as 128 that can evenly divide RCLK.
261           A HZ value that does not divide evenly may cause timer drift.
262
263 config SH_TIMER_CMT
264         bool "CMT timer driver"
265         default y
266         help
267           This enables build of the CMT timer driver.
268
269 config SH_TIMER_TMU
270         bool "TMU timer driver"
271         default y
272         help
273           This enables build of the TMU timer driver.
274
275 config EM_TIMER_STI
276         bool "STI timer driver"
277         default y
278         help
279           This enables build of the STI timer driver.
280
281 endmenu
282
283 endif