]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/mach-shmobile/Kconfig
Merge tag 'qcom-soc-for-3.20-2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[karo-tx-linux.git] / arch / arm / mach-shmobile / Kconfig
1 config ARCH_SHMOBILE
2         bool
3         select ZONE_DMA if ARM_LPAE
4
5 config PM_RCAR
6         bool
7
8 config PM_RMOBILE
9         bool
10         select PM_GENERIC_DOMAINS
11
12 config ARCH_RCAR_GEN1
13         bool
14         select PM_RCAR if PM || SMP
15         select RENESAS_INTC_IRQPIN
16         select SYS_SUPPORTS_SH_TMU
17
18 config ARCH_RCAR_GEN2
19         bool
20         select PM_RCAR if PM || SMP
21         select RENESAS_IRQC
22         select SYS_SUPPORTS_SH_CMT
23         select PCI_DOMAINS if PCI
24
25 config ARCH_RMOBILE
26         bool
27         select PM_RMOBILE if PM
28         select SYS_SUPPORTS_SH_CMT
29         select SYS_SUPPORTS_SH_TMU
30
31 menuconfig ARCH_SHMOBILE_MULTI
32         bool "Renesas ARM SoCs" if ARCH_MULTI_V7
33         depends on MMU
34         select ARCH_SHMOBILE
35         select HAVE_ARM_SCU if SMP
36         select HAVE_ARM_TWD if SMP
37         select ARM_GIC
38         select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
39         select NO_IOPORT_MAP
40         select PINCTRL
41         select ARCH_REQUIRE_GPIOLIB
42
43 if ARCH_SHMOBILE_MULTI
44
45 #comment "Renesas ARM SoCs System Type"
46
47 config ARCH_EMEV2
48         bool "Emma Mobile EV2"
49         select SYS_SUPPORTS_EM_STI
50
51 config ARCH_R7S72100
52         bool "RZ/A1H (R7S72100)"
53         select SYS_SUPPORTS_SH_MTU2
54
55 config ARCH_R8A73A4
56         bool "R-Mobile APE6 (R8A73A40)"
57         select ARCH_RMOBILE
58         select RENESAS_IRQC
59
60 config ARCH_R8A7740
61         bool "R-Mobile A1 (R8A77400)"
62         select ARCH_RMOBILE
63         select RENESAS_INTC_IRQPIN
64
65 config ARCH_R8A7779
66         bool "R-Car H1 (R8A77790)"
67         select ARCH_RCAR_GEN1
68
69 config ARCH_R8A7790
70         bool "R-Car H2 (R8A77900)"
71         select ARCH_RCAR_GEN2
72
73 config ARCH_R8A7791
74         bool "R-Car M2-W (R8A77910)"
75         select ARCH_RCAR_GEN2
76
77 config ARCH_R8A7794
78         bool "R-Car E2 (R8A77940)"
79         select ARCH_RCAR_GEN2
80
81 comment "Renesas ARM SoCs Board Type"
82
83 config MACH_LAGER
84         bool "Lager board"
85         depends on ARCH_R8A7790
86         select MICREL_PHY if SH_ETH
87
88 config MACH_MARZEN
89         bool "MARZEN board"
90         depends on ARCH_R8A7779
91         select REGULATOR_FIXED_VOLTAGE if REGULATOR
92
93 comment "Renesas ARM SoCs System Configuration"
94 endif
95
96 if ARCH_SHMOBILE_LEGACY
97
98 comment "Renesas ARM SoCs System Type"
99
100 config ARCH_SH7372
101         bool "SH-Mobile AP4 (SH7372)"
102         select ARCH_RMOBILE
103         select ARCH_WANT_OPTIONAL_GPIOLIB
104         select ARM_CPU_SUSPEND if PM || CPU_IDLE
105         select SH_INTC
106
107 config ARCH_SH73A0
108         bool "SH-Mobile AG5 (R8A73A00)"
109         select ARCH_RMOBILE
110         select ARCH_WANT_OPTIONAL_GPIOLIB
111         select ARM_GIC
112         select I2C
113         select SH_INTC
114         select RENESAS_INTC_IRQPIN
115
116 config ARCH_R8A73A4
117         bool "R-Mobile APE6 (R8A73A40)"
118         select ARCH_RMOBILE
119         select ARCH_WANT_OPTIONAL_GPIOLIB
120         select ARM_GIC
121         select RENESAS_IRQC
122
123 config ARCH_R8A7740
124         bool "R-Mobile A1 (R8A77400)"
125         select ARCH_RMOBILE
126         select ARCH_WANT_OPTIONAL_GPIOLIB
127         select ARM_GIC
128         select RENESAS_INTC_IRQPIN
129
130 config ARCH_R8A7778
131         bool "R-Car M1A (R8A77781)"
132         select ARCH_RCAR_GEN1
133         select ARCH_WANT_OPTIONAL_GPIOLIB
134         select ARM_GIC
135
136 config ARCH_R8A7779
137         bool "R-Car H1 (R8A77790)"
138         select ARCH_RCAR_GEN1
139         select ARCH_WANT_OPTIONAL_GPIOLIB
140         select ARM_GIC
141
142 config ARCH_R8A7790
143         bool "R-Car H2 (R8A77900)"
144         select ARCH_RCAR_GEN2
145         select ARCH_WANT_OPTIONAL_GPIOLIB
146         select ARM_GIC
147         select MIGHT_HAVE_PCI
148         select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
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_BOCKW
189         bool "BOCK-W platform"
190         depends on ARCH_R8A7778
191         select ARCH_REQUIRE_GPIOLIB
192         select REGULATOR_FIXED_VOLTAGE if REGULATOR
193         select SND_SOC_AK4554 if SND_SIMPLE_CARD
194         select SND_SOC_AK4642 if SND_SIMPLE_CARD
195         select USE_OF
196
197 config MACH_BOCKW_REFERENCE
198         bool "BOCK-W  - Reference Device Tree Implementation"
199         depends on ARCH_R8A7778
200         select ARCH_REQUIRE_GPIOLIB
201         select REGULATOR_FIXED_VOLTAGE if REGULATOR
202         select USE_OF
203         ---help---
204            Use reference implementation of BockW board support
205            which makes 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_MARZEN
211         bool "MARZEN board"
212         depends on ARCH_R8A7779
213         select ARCH_REQUIRE_GPIOLIB
214         select REGULATOR_FIXED_VOLTAGE if REGULATOR
215         select USE_OF
216
217 config MACH_LAGER
218         bool "Lager board"
219         depends on ARCH_R8A7790
220         select USE_OF
221         select MICREL_PHY if SH_ETH
222         select SND_SOC_AK4642 if SND_SIMPLE_CARD
223
224 config MACH_KZM9G
225         bool "KZM-A9-GT board"
226         depends on ARCH_SH73A0
227         select ARCH_REQUIRE_GPIOLIB
228         select REGULATOR_FIXED_VOLTAGE if REGULATOR
229         select SND_SOC_AK4642 if SND_SIMPLE_CARD
230         select USE_OF
231
232 config MACH_KZM9G_REFERENCE
233         bool "KZM-A9-GT board - Reference Device Tree Implementation"
234         depends on ARCH_SH73A0
235         select ARCH_REQUIRE_GPIOLIB
236         select REGULATOR_FIXED_VOLTAGE if REGULATOR
237         select SND_SOC_AK4642 if SND_SIMPLE_CARD
238         select USE_OF
239         ---help---
240            Use reference implementation of KZM-A9-GT board support
241            which makes as greater use of device tree at the expense
242            of not supporting a number of devices.
243
244            This is intended to aid developers
245
246 comment "Renesas ARM SoCs System Configuration"
247
248 config CPU_HAS_INTEVT
249         bool
250         default y
251
252 config SH_CLK_CPG
253         bool
254
255 source "drivers/sh/Kconfig"
256
257 endif
258
259 if ARCH_SHMOBILE
260
261 menu "Timer and clock configuration"
262
263 config SHMOBILE_TIMER_HZ
264         int "Kernel HZ (jiffies per second)"
265         range 32 1024
266         default "128"
267         help
268           Allows the configuration of the timer frequency. It is customary
269           to have the timer interrupt run at 1000 Hz or 100 Hz, but in the
270           case of low timer frequencies other values may be more suitable.
271           Renesas ARM SoC systems using a 32768 Hz RCLK for clock events may
272           want to select a HZ value such as 128 that can evenly divide RCLK.
273           A HZ value that does not divide evenly may cause timer drift.
274
275 endmenu
276
277 endif