Merge tag 'clk-for-linus-3.18' of git://git.linaro.org/people/mike.turquette/linux
[linux-2.6-block.git] / arch / arm / mach-shmobile / Kconfig
CommitLineData
bf98c1ea
LP
1config ARCH_SHMOBILE
2 bool
3
1a950ca5
MD
4config PM_RCAR
5 bool
6
abebbc4a
MD
7config PM_RMOBILE
8 bool
9
57cc67d1
MD
10config ARCH_RCAR_GEN1
11 bool
1a950ca5 12 select PM_RCAR if PM || SMP
57cc67d1
MD
13 select RENESAS_INTC_IRQPIN
14 select SYS_SUPPORTS_SH_TMU
15
0d918433
MD
16config ARCH_RCAR_GEN2
17 bool
1a950ca5 18 select PM_RCAR if PM || SMP
0d918433
MD
19 select RENESAS_IRQC
20 select SYS_SUPPORTS_SH_CMT
21
5784b195
MD
22config ARCH_RMOBILE
23 bool
46bff9db 24 select PM_RMOBILE if PM && !ARCH_SHMOBILE_MULTI
5784b195
MD
25 select SYS_SUPPORTS_SH_CMT
26 select SYS_SUPPORTS_SH_TMU
27
21278aea 28menuconfig ARCH_SHMOBILE_MULTI
0d9fd616 29 bool "Renesas ARM SoCs" if ARCH_MULTI_V7
efacfce5 30 depends on MMU
bf98c1ea 31 select ARCH_SHMOBILE
efacfce5 32 select HAVE_ARM_SCU if SMP
8b7dfa7d 33 select HAVE_ARM_TWD if SMP
efacfce5 34 select ARM_GIC
4a51856b 35 select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
ce816fa8 36 select NO_IOPORT_MAP
efacfce5
MD
37 select PINCTRL
38 select ARCH_REQUIRE_GPIOLIB
6596e97e 39 select ARCH_HAS_OPP
efacfce5
MD
40
41if ARCH_SHMOBILE_MULTI
42
21278aea 43#comment "Renesas ARM SoCs System Type"
efacfce5 44
cbc60e7c
MD
45config ARCH_EMEV2
46 bool "Emma Mobile EV2"
aeb8fb79 47 select SYS_SUPPORTS_EM_STI
cbc60e7c 48
7d91c469
MD
49config ARCH_R7S72100
50 bool "RZ/A1H (R7S72100)"
aeb8fb79 51 select SYS_SUPPORTS_SH_MTU2
7d91c469 52
c41215b7
MD
53config ARCH_R8A7740
54 bool "R-Mobile A1 (R8A77400)"
55 select ARCH_RMOBILE
56 select RENESAS_INTC_IRQPIN
57
5016c81b
SH
58config ARCH_R8A7779
59 bool "R-Car H1 (R8A77790)"
57cc67d1 60 select ARCH_RCAR_GEN1
5016c81b 61
0ef3cde4
LP
62config ARCH_R8A7790
63 bool "R-Car H2 (R8A77900)"
0d918433 64 select ARCH_RCAR_GEN2
0ef3cde4 65
6d75bc64 66config ARCH_R8A7791
13298fbb 67 bool "R-Car M2-W (R8A77910)"
0d918433 68 select ARCH_RCAR_GEN2
6d75bc64 69
5923abb2
UH
70config ARCH_R8A7794
71 bool "R-Car E2 (R8A77940)"
72 select ARCH_RCAR_GEN2
cbc60e7c 73
0d9fd616 74comment "Renesas ARM SoCs Board Type"
7d91c469 75
6d75bc64
MD
76config MACH_KOELSCH
77 bool "Koelsch board"
78 depends on ARCH_R8A7791
aefe88ba 79 select MICREL_PHY if SH_ETH
fd071b66 80
0ef3cde4
LP
81config MACH_LAGER
82 bool "Lager board"
83 depends on ARCH_R8A7790
a2a4759b 84 select MICREL_PHY if SH_ETH
0ef3cde4 85
5016c81b
SH
86config MACH_MARZEN
87 bool "MARZEN board"
88 depends on ARCH_R8A7779
89 select REGULATOR_FIXED_VOLTAGE if REGULATOR
90
0d9fd616 91comment "Renesas ARM SoCs System Configuration"
efacfce5
MD
92endif
93
bf98c1ea 94if ARCH_SHMOBILE_LEGACY
c793c1b0 95
0d9fd616 96comment "Renesas ARM SoCs System Type"
c793c1b0 97
2b7eda63
MD
98config ARCH_SH7372
99 bool "SH-Mobile AP4 (SH7372)"
5784b195 100 select ARCH_RMOBILE
6d72ad35 101 select ARCH_WANT_OPTIONAL_GPIOLIB
a1ee61b8 102 select ARM_CPU_SUSPEND if PM || CPU_IDLE
049d2804 103 select SH_INTC
2b7eda63 104
6d9598e2
MD
105config ARCH_SH73A0
106 bool "SH-Mobile AG5 (R8A73A00)"
5784b195 107 select ARCH_RMOBILE
1cdf3702 108 select ARCH_WANT_OPTIONAL_GPIOLIB
6d9598e2 109 select ARM_GIC
99f8bd85 110 select I2C
049d2804 111 select SH_INTC
341eb546 112 select RENESAS_INTC_IRQPIN
6d9598e2 113
eccf0607
MD
114config ARCH_R8A73A4
115 bool "R-Mobile APE6 (R8A73A40)"
5784b195 116 select ARCH_RMOBILE
d313d068 117 select ARCH_WANT_OPTIONAL_GPIOLIB
eccf0607 118 select ARM_GIC
984ca295 119 select RENESAS_IRQC
6d9598e2 120
6c01ba44
KM
121config ARCH_R8A7740
122 bool "R-Mobile A1 (R8A77400)"
5784b195 123 select ARCH_RMOBILE
b1b3f49c 124 select ARCH_WANT_OPTIONAL_GPIOLIB
0b7d7820 125 select ARM_GIC
0b7d7820 126 select RENESAS_INTC_IRQPIN
6c01ba44 127
ccb7cc74 128config ARCH_R8A7778
45fa9295 129 bool "R-Car M1A (R8A77781)"
57cc67d1 130 select ARCH_RCAR_GEN1
369b00bb 131 select ARCH_WANT_OPTIONAL_GPIOLIB
ccb7cc74 132 select ARM_GIC
6c01ba44 133
f411fade
MD
134config ARCH_R8A7779
135 bool "R-Car H1 (R8A77790)"
57cc67d1 136 select ARCH_RCAR_GEN1
b1b3f49c
RK
137 select ARCH_WANT_OPTIONAL_GPIOLIB
138 select ARM_GIC
f411fade 139
0468b2d6
MD
140config ARCH_R8A7790
141 bool "R-Car H2 (R8A77900)"
0d918433 142 select ARCH_RCAR_GEN2
69e351d0 143 select ARCH_WANT_OPTIONAL_GPIOLIB
0468b2d6 144 select ARM_GIC
7e429989 145 select MIGHT_HAVE_PCI
4a51856b 146 select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
f411fade 147
0d0771ab 148config ARCH_R8A7791
13298fbb 149 bool "R-Car M2-W (R8A77910)"
0d918433 150 select ARCH_RCAR_GEN2
cc3a17d7 151 select ARCH_WANT_OPTIONAL_GPIOLIB
0d0771ab 152 select ARM_GIC
7e429989 153 select MIGHT_HAVE_PCI
4a51856b 154 select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
0d0771ab 155
0d9fd616 156comment "Renesas ARM SoCs Board Type"
c793c1b0 157
78ded168
MD
158config MACH_APE6EVM
159 bool "APE6EVM board"
160 depends on ARCH_R8A73A4
9edaca86 161 select SMSC_PHY if SMSC911X
78ded168
MD
162 select USE_OF
163
69f36661
GL
164config MACH_APE6EVM_REFERENCE
165 bool "APE6EVM board - Reference Device Tree Implementation"
166 depends on ARCH_R8A73A4
9edaca86 167 select SMSC_PHY if SMSC911X
69f36661
GL
168 select USE_OF
169 ---help---
170 Use reference implementation of APE6EVM board support
171 which makes a greater use of device tree at the expense
172 of not supporting a number of devices.
173
174 This is intended to aid developers
175
920adc75
KM
176config MACH_MACKEREL
177 bool "mackerel board"
178 depends on ARCH_SH7372
3256c789 179 select ARCH_REQUIRE_GPIOLIB
34767f8d 180 select REGULATOR_FIXED_VOLTAGE if REGULATOR
c5c2a294 181 select SMSC_PHY if SMSC911X
b1b3f49c 182 select SND_SOC_AK4642 if SND_SIMPLE_CARD
0ce53cdc 183 select USE_OF
6d9598e2 184
4d22e564
KM
185config MACH_ARMADILLO800EVA
186 bool "Armadillo-800 EVA board"
187 depends on ARCH_R8A7740
188 select ARCH_REQUIRE_GPIOLIB
34767f8d 189 select REGULATOR_FIXED_VOLTAGE if REGULATOR
6a517b11 190 select SMSC_PHY if SH_ETH
5389bf71 191 select SND_SOC_WM8978 if SND_SIMPLE_CARD
b1b3f49c 192 select USE_OF
4d22e564 193
53e42c29
KM
194config MACH_BOCKW
195 bool "BOCK-W platform"
196 depends on ARCH_R8A7778
197 select ARCH_REQUIRE_GPIOLIB
c9996e51 198 select REGULATOR_FIXED_VOLTAGE if REGULATOR
688e6a6d
KM
199 select SND_SOC_AK4554 if SND_SIMPLE_CARD
200 select SND_SOC_AK4642 if SND_SIMPLE_CARD
2b2fd275 201 select USE_OF
53e42c29 202
cfa66a81
KM
203config MACH_BOCKW_REFERENCE
204 bool "BOCK-W - Reference Device Tree Implementation"
205 depends on ARCH_R8A7778
206 select ARCH_REQUIRE_GPIOLIB
cfa66a81
KM
207 select REGULATOR_FIXED_VOLTAGE if REGULATOR
208 select USE_OF
209 ---help---
210 Use reference implementation of BockW board support
211 which makes use of device tree at the expense
212 of not supporting a number of devices.
213
214 This is intended to aid developers
215
f411fade
MD
216config MACH_MARZEN
217 bool "MARZEN board"
218 depends on ARCH_R8A7779
19c43fc5 219 select ARCH_REQUIRE_GPIOLIB
34767f8d 220 select REGULATOR_FIXED_VOLTAGE if REGULATOR
7ebbb4ae 221 select USE_OF
f411fade 222
3cc828fd
MD
223config MACH_LAGER
224 bool "Lager board"
225 depends on ARCH_R8A7790
226 select USE_OF
a2a4759b 227 select MICREL_PHY if SH_ETH
d58922ce 228 select SND_SOC_AK4642 if SND_SIMPLE_CARD
3cc828fd 229
1f52c659
HN
230config MACH_KOELSCH
231 bool "Koelsch board"
232 depends on ARCH_R8A7791
233 select USE_OF
89671360 234 select MICREL_PHY if SH_ETH
1f52c659 235
9b93e244
KM
236config MACH_KZM9G
237 bool "KZM-A9-GT board"
238 depends on ARCH_SH73A0
239 select ARCH_REQUIRE_GPIOLIB
34767f8d 240 select REGULATOR_FIXED_VOLTAGE if REGULATOR
b1b3f49c
RK
241 select SND_SOC_AK4642 if SND_SIMPLE_CARD
242 select USE_OF
9b93e244 243
b8b82b29
SH
244config MACH_KZM9G_REFERENCE
245 bool "KZM-A9-GT board - Reference Device Tree Implementation"
f33d1c34
GL
246 depends on ARCH_SH73A0
247 select ARCH_REQUIRE_GPIOLIB
248 select REGULATOR_FIXED_VOLTAGE if REGULATOR
249 select SND_SOC_AK4642 if SND_SIMPLE_CARD
250 select USE_OF
b8b82b29
SH
251 ---help---
252 Use reference implementation of KZM-A9-GT board support
253 which makes as greater use of device tree at the expense
254 of not supporting a number of devices.
255
256 This is intended to aid developers
257
0d9fd616 258comment "Renesas ARM SoCs System Configuration"
c793c1b0 259
7f1e7637
RH
260config CPU_HAS_INTEVT
261 bool
262 default y
263
fd071b66
MD
264config SH_CLK_CPG
265 bool
266
267source "drivers/sh/Kconfig"
268
269endif
270
bf98c1ea 271if ARCH_SHMOBILE
fd071b66 272
c793c1b0
MD
273menu "Timer and clock configuration"
274
5da3e714
MD
275config SHMOBILE_TIMER_HZ
276 int "Kernel HZ (jiffies per second)"
277 range 32 1024
278 default "128"
279 help
280 Allows the configuration of the timer frequency. It is customary
281 to have the timer interrupt run at 1000 Hz or 100 Hz, but in the
282 case of low timer frequencies other values may be more suitable.
0d9fd616
LP
283 Renesas ARM SoC systems using a 32768 Hz RCLK for clock events may
284 want to select a HZ value such as 128 that can evenly divide RCLK.
5da3e714
MD
285 A HZ value that does not divide evenly may cause timer drift.
286
c793c1b0
MD
287endmenu
288
289endif