]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/mach-shmobile/Kconfig
ARM: shmobile: R-Car Gen2: Add da9063/da9210 regulator quirk
[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         select I2C
73
74 config ARCH_R8A7791
75         bool "R-Car M2-W (R8A77910)"
76         select ARCH_RCAR_GEN2
77         select I2C
78
79 config ARCH_R8A7794
80         bool "R-Car E2 (R8A77940)"
81         select ARCH_RCAR_GEN2
82
83 comment "Renesas ARM SoCs Board Type"
84
85 config MACH_MARZEN
86         bool "MARZEN board"
87         depends on ARCH_R8A7779
88         select REGULATOR_FIXED_VOLTAGE if REGULATOR
89
90 comment "Renesas ARM SoCs System Configuration"
91 endif
92
93 if ARCH_SHMOBILE_LEGACY
94
95 comment "Renesas ARM SoCs System Type"
96
97 config ARCH_SH7372
98         bool "SH-Mobile AP4 (SH7372)"
99         select ARCH_RMOBILE
100         select ARCH_WANT_OPTIONAL_GPIOLIB
101         select ARM_CPU_SUSPEND if PM || CPU_IDLE
102         select SH_INTC
103
104 config ARCH_SH73A0
105         bool "SH-Mobile AG5 (R8A73A00)"
106         select ARCH_RMOBILE
107         select ARCH_WANT_OPTIONAL_GPIOLIB
108         select ARM_GIC
109         select I2C
110         select SH_INTC
111         select RENESAS_INTC_IRQPIN
112
113 config ARCH_R8A73A4
114         bool "R-Mobile APE6 (R8A73A40)"
115         select ARCH_RMOBILE
116         select ARCH_WANT_OPTIONAL_GPIOLIB
117         select ARM_GIC
118         select RENESAS_IRQC
119
120 config ARCH_R8A7740
121         bool "R-Mobile A1 (R8A77400)"
122         select ARCH_RMOBILE
123         select ARCH_WANT_OPTIONAL_GPIOLIB
124         select ARM_GIC
125         select RENESAS_INTC_IRQPIN
126
127 config ARCH_R8A7778
128         bool "R-Car M1A (R8A77781)"
129         select ARCH_RCAR_GEN1
130         select ARCH_WANT_OPTIONAL_GPIOLIB
131         select ARM_GIC
132
133 config ARCH_R8A7779
134         bool "R-Car H1 (R8A77790)"
135         select ARCH_RCAR_GEN1
136         select ARCH_WANT_OPTIONAL_GPIOLIB
137         select ARM_GIC
138
139 comment "Renesas ARM SoCs Board Type"
140
141 config MACH_APE6EVM
142         bool "APE6EVM board"
143         depends on ARCH_R8A73A4
144         select SMSC_PHY if SMSC911X
145         select USE_OF
146
147 config MACH_APE6EVM_REFERENCE
148         bool "APE6EVM board - Reference Device Tree Implementation"
149         depends on ARCH_R8A73A4
150         select SMSC_PHY if SMSC911X
151         select USE_OF
152         ---help---
153            Use reference implementation of APE6EVM board support
154            which makes a greater use of device tree at the expense
155            of not supporting a number of devices.
156
157            This is intended to aid developers
158
159 config MACH_MACKEREL
160         bool "mackerel board"
161         depends on ARCH_SH7372
162         select ARCH_REQUIRE_GPIOLIB
163         select REGULATOR_FIXED_VOLTAGE if REGULATOR
164         select SMSC_PHY if SMSC911X
165         select SND_SOC_AK4642 if SND_SIMPLE_CARD
166         select USE_OF
167
168 config MACH_ARMADILLO800EVA
169         bool "Armadillo-800 EVA board"
170         depends on ARCH_R8A7740
171         select ARCH_REQUIRE_GPIOLIB
172         select REGULATOR_FIXED_VOLTAGE if REGULATOR
173         select SMSC_PHY if SH_ETH
174         select SND_SOC_WM8978 if SND_SIMPLE_CARD
175         select USE_OF
176
177 config MACH_BOCKW
178         bool "BOCK-W platform"
179         depends on ARCH_R8A7778
180         select ARCH_REQUIRE_GPIOLIB
181         select REGULATOR_FIXED_VOLTAGE if REGULATOR
182         select SND_SOC_AK4554 if SND_SIMPLE_CARD
183         select SND_SOC_AK4642 if SND_SIMPLE_CARD
184         select USE_OF
185
186 config MACH_BOCKW_REFERENCE
187         bool "BOCK-W  - Reference Device Tree Implementation"
188         depends on ARCH_R8A7778
189         select ARCH_REQUIRE_GPIOLIB
190         select REGULATOR_FIXED_VOLTAGE if REGULATOR
191         select USE_OF
192         ---help---
193            Use reference implementation of BockW board support
194            which makes use of device tree at the expense
195            of not supporting a number of devices.
196
197            This is intended to aid developers
198
199 config MACH_MARZEN
200         bool "MARZEN board"
201         depends on ARCH_R8A7779
202         select ARCH_REQUIRE_GPIOLIB
203         select REGULATOR_FIXED_VOLTAGE if REGULATOR
204         select USE_OF
205
206 config MACH_KZM9G
207         bool "KZM-A9-GT board"
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
214 config MACH_KZM9G_REFERENCE
215         bool "KZM-A9-GT board - Reference Device Tree Implementation"
216         depends on ARCH_SH73A0
217         select ARCH_REQUIRE_GPIOLIB
218         select REGULATOR_FIXED_VOLTAGE if REGULATOR
219         select SND_SOC_AK4642 if SND_SIMPLE_CARD
220         select USE_OF
221         ---help---
222            Use reference implementation of KZM-A9-GT board support
223            which makes as greater use of device tree at the expense
224            of not supporting a number of devices.
225
226            This is intended to aid developers
227
228 comment "Renesas ARM SoCs System Configuration"
229
230 config CPU_HAS_INTEVT
231         bool
232         default y
233
234 config SH_CLK_CPG
235         bool
236
237 source "drivers/sh/Kconfig"
238
239 endif
240
241 if ARCH_SHMOBILE
242
243 menu "Timer and clock configuration"
244
245 config SHMOBILE_TIMER_HZ
246         int "Kernel HZ (jiffies per second)"
247         range 32 1024
248         default "128"
249         help
250           Allows the configuration of the timer frequency. It is customary
251           to have the timer interrupt run at 1000 Hz or 100 Hz, but in the
252           case of low timer frequencies other values may be more suitable.
253           Renesas ARM SoC systems using a 32768 Hz RCLK for clock events may
254           want to select a HZ value such as 128 that can evenly divide RCLK.
255           A HZ value that does not divide evenly may cause timer drift.
256
257 endmenu
258
259 endif