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