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