Correct .gbs.conf settings
[platform/adaptation/renesas_rcar/renesas_kernel.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 config 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         select ARCH_HAS_CPUFREQ
42         select ARCH_HAS_OPP
43
44 if ARCH_SHMOBILE_MULTI
45
46 comment "Renesas ARM SoCs System Type"
47
48 config ARCH_EMEV2
49         bool "Emma Mobile EV2"
50         select SYS_SUPPORTS_EM_STI
51
52 config ARCH_R7S72100
53         bool "RZ/A1H (R7S72100)"
54         select SYS_SUPPORTS_SH_MTU2
55
56 config ARCH_R8A7740
57         bool "R-Mobile A1 (R8A77400)"
58         select ARCH_RMOBILE
59         select RENESAS_INTC_IRQPIN
60
61 config ARCH_R8A7779
62         bool "R-Car H1 (R8A77790)"
63         select ARCH_RCAR_GEN1
64
65 config ARCH_R8A7790
66         bool "R-Car H2 (R8A77900)"
67         select ARCH_RCAR_GEN2
68
69 config ARCH_R8A7791
70         bool "R-Car M2-W (R8A77910)"
71         select ARCH_RCAR_GEN2
72
73 config ARCH_R8A7794
74         bool "R-Car E2 (R8A77940)"
75         select ARCH_RCAR_GEN2
76
77 comment "Renesas ARM SoCs Board Type"
78
79 config MACH_LAGER
80         bool "Lager board"
81         depends on ARCH_R8A7790
82         select MICREL_PHY if SH_ETH
83
84 config MACH_MARZEN
85         bool "MARZEN board"
86         depends on ARCH_R8A7779
87         select REGULATOR_FIXED_VOLTAGE if REGULATOR
88
89 comment "Renesas ARM SoCs System Configuration"
90 endif
91
92 if ARCH_SHMOBILE_LEGACY
93
94 comment "Renesas ARM SoCs System Type"
95
96 config ARCH_SH7372
97         bool "SH-Mobile AP4 (SH7372)"
98         select ARCH_RMOBILE
99         select ARCH_WANT_OPTIONAL_GPIOLIB
100         select ARM_CPU_SUSPEND if PM || CPU_IDLE
101         select SH_INTC
102
103 config ARCH_SH73A0
104         bool "SH-Mobile AG5 (R8A73A00)"
105         select ARCH_RMOBILE
106         select ARCH_WANT_OPTIONAL_GPIOLIB
107         select ARM_GIC
108         select I2C
109         select SH_INTC
110         select RENESAS_INTC_IRQPIN
111
112 config ARCH_R8A73A4
113         bool "R-Mobile APE6 (R8A73A40)"
114         select ARCH_RMOBILE
115         select ARCH_WANT_OPTIONAL_GPIOLIB
116         select ARM_GIC
117         select RENESAS_IRQC
118         select ARCH_HAS_CPUFREQ
119         select ARCH_HAS_OPP
120
121 config ARCH_R8A7740
122         bool "R-Mobile A1 (R8A77400)"
123         select ARCH_RMOBILE
124         select ARCH_WANT_OPTIONAL_GPIOLIB
125         select ARM_GIC
126         select RENESAS_INTC_IRQPIN
127
128 config ARCH_R8A7778
129         bool "R-Car M1A (R8A77781)"
130         select ARCH_RCAR_GEN1
131         select ARCH_WANT_OPTIONAL_GPIOLIB
132         select ARM_GIC
133
134 config ARCH_R8A7779
135         bool "R-Car H1 (R8A77790)"
136         select ARCH_RCAR_GEN1
137         select ARCH_WANT_OPTIONAL_GPIOLIB
138         select ARM_GIC
139
140 config ARCH_R8A7790
141         bool "R-Car H2 (R8A77900)"
142         select ARCH_RCAR_GEN2
143         select ARCH_WANT_OPTIONAL_GPIOLIB
144         select ARM_GIC
145         select MIGHT_HAVE_PCI
146         select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
147
148 comment "Renesas ARM SoCs Board Type"
149
150 config MACH_APE6EVM
151         bool "APE6EVM board"
152         depends on ARCH_R8A73A4
153         select SMSC_PHY if SMSC911X
154         select USE_OF
155
156 config MACH_APE6EVM_REFERENCE
157         bool "APE6EVM board - Reference Device Tree Implementation"
158         depends on ARCH_R8A73A4
159         select SMSC_PHY if SMSC911X
160         select USE_OF
161         ---help---
162            Use reference implementation of APE6EVM board support
163            which makes a greater use of device tree at the expense
164            of not supporting a number of devices.
165
166            This is intended to aid developers
167
168 config MACH_MACKEREL
169         bool "mackerel board"
170         depends on ARCH_SH7372
171         select ARCH_REQUIRE_GPIOLIB
172         select REGULATOR_FIXED_VOLTAGE if REGULATOR
173         select SMSC_PHY if SMSC911X
174         select SND_SOC_AK4642 if SND_SIMPLE_CARD
175         select USE_OF
176
177 config MACH_ARMADILLO800EVA
178         bool "Armadillo-800 EVA board"
179         depends on ARCH_R8A7740
180         select ARCH_REQUIRE_GPIOLIB
181         select REGULATOR_FIXED_VOLTAGE if REGULATOR
182         select SMSC_PHY if SH_ETH
183         select SND_SOC_WM8978 if SND_SIMPLE_CARD
184         select USE_OF
185
186 config MACH_BOCKW
187         bool "BOCK-W platform"
188         depends on ARCH_R8A7778
189         select ARCH_REQUIRE_GPIOLIB
190         select REGULATOR_FIXED_VOLTAGE if REGULATOR
191         select SND_SOC_AK4554 if SND_SIMPLE_CARD
192         select SND_SOC_AK4642 if SND_SIMPLE_CARD
193         select USE_OF
194
195 config MACH_BOCKW_REFERENCE
196         bool "BOCK-W  - Reference Device Tree Implementation"
197         depends on ARCH_R8A7778
198         select ARCH_REQUIRE_GPIOLIB
199         select REGULATOR_FIXED_VOLTAGE if REGULATOR
200         select USE_OF
201         ---help---
202            Use reference implementation of BockW board support
203            which makes use of device tree at the expense
204            of not supporting a number of devices.
205
206            This is intended to aid developers
207
208 config MACH_MARZEN
209         bool "MARZEN board"
210         depends on ARCH_R8A7779
211         select ARCH_REQUIRE_GPIOLIB
212         select REGULATOR_FIXED_VOLTAGE if REGULATOR
213         select USE_OF
214
215 config MACH_LAGER
216         bool "Lager board"
217         depends on ARCH_R8A7790
218         select USE_OF
219         select MICREL_PHY if SH_ETH
220         select SND_SOC_AK4642 if SND_SIMPLE_CARD
221
222 config MACH_KZM9G
223         bool "KZM-A9-GT board"
224         depends on ARCH_SH73A0
225         select ARCH_HAS_CPUFREQ
226         select ARCH_HAS_OPP
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