Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-shmobile / Kconfig
1 if ARCH_SHMOBILE
2
3 comment "SH-Mobile System Type"
4
5 config ARCH_SH7372
6         bool "SH-Mobile AP4 (SH7372)"
7         select ARCH_WANT_OPTIONAL_GPIOLIB
8         select ARM_CPU_SUSPEND if PM || CPU_IDLE
9         select CPU_V7
10         select SH_CLK_CPG
11
12 config ARCH_SH73A0
13         bool "SH-Mobile AG5 (R8A73A00)"
14         select ARCH_WANT_OPTIONAL_GPIOLIB
15         select ARM_GIC
16         select CPU_V7
17         select I2C
18         select SH_CLK_CPG
19         select RENESAS_INTC_IRQPIN
20
21 config ARCH_R8A73A4
22         bool "R-Mobile APE6 (R8A73A40)"
23         select ARCH_WANT_OPTIONAL_GPIOLIB
24         select ARM_GIC
25         select CPU_V7
26         select HAVE_ARM_ARCH_TIMER
27         select SH_CLK_CPG
28         select RENESAS_IRQC
29
30 config ARCH_R8A7740
31         bool "R-Mobile A1 (R8A77400)"
32         select ARCH_WANT_OPTIONAL_GPIOLIB
33         select ARM_GIC
34         select CPU_V7
35         select SH_CLK_CPG
36         select RENESAS_INTC_IRQPIN
37
38 config ARCH_R8A7778
39         bool "R-Car M1A (R8A77781)"
40         select ARCH_WANT_OPTIONAL_GPIOLIB
41         select CPU_V7
42         select SH_CLK_CPG
43         select ARM_GIC
44         select USB_ARCH_HAS_EHCI
45         select USB_ARCH_HAS_OHCI
46
47 config ARCH_R8A7779
48         bool "R-Car H1 (R8A77790)"
49         select ARCH_WANT_OPTIONAL_GPIOLIB
50         select ARM_GIC
51         select CPU_V7
52         select SH_CLK_CPG
53         select USB_ARCH_HAS_EHCI
54         select USB_ARCH_HAS_OHCI
55         select RENESAS_INTC_IRQPIN
56
57 config ARCH_R8A7790
58         bool "R-Car H2 (R8A77900)"
59         select ARCH_WANT_OPTIONAL_GPIOLIB
60         select ARM_GIC
61         select CPU_V7
62         select HAVE_ARM_ARCH_TIMER
63         select SH_CLK_CPG
64         select RENESAS_IRQC
65
66 config ARCH_EMEV2
67         bool "Emma Mobile EV2"
68         select ARCH_WANT_OPTIONAL_GPIOLIB
69         select ARM_GIC
70         select CPU_V7
71
72 comment "SH-Mobile Board Type"
73
74 config MACH_AG5EVM
75         bool "AG5EVM board"
76         depends on ARCH_SH73A0
77         select ARCH_REQUIRE_GPIOLIB
78         select REGULATOR_FIXED_VOLTAGE if REGULATOR
79         select SH_LCD_MIPI_DSI
80
81 config MACH_APE6EVM
82         bool "APE6EVM board"
83         depends on ARCH_R8A73A4
84         select USE_OF
85
86 config MACH_MACKEREL
87         bool "mackerel board"
88         depends on ARCH_SH7372
89         select ARCH_REQUIRE_GPIOLIB
90         select REGULATOR_FIXED_VOLTAGE if REGULATOR
91         select SND_SOC_AK4642 if SND_SIMPLE_CARD
92         select USE_OF
93
94 config MACH_KOTA2
95         bool "KOTA2 board"
96         depends on ARCH_SH73A0
97         select ARCH_REQUIRE_GPIOLIB
98         select REGULATOR_FIXED_VOLTAGE if REGULATOR
99
100 config MACH_ARMADILLO800EVA
101         bool "Armadillo-800 EVA board"
102         depends on ARCH_R8A7740
103         select ARCH_REQUIRE_GPIOLIB
104         select REGULATOR_FIXED_VOLTAGE if REGULATOR
105         select SND_SOC_WM8978 if SND_SIMPLE_CARD
106         select USE_OF
107
108 config MACH_ARMADILLO800EVA_REFERENCE
109         bool "Armadillo-800 EVA board - Reference Device Tree Implementation"
110         depends on ARCH_R8A7740
111         select ARCH_REQUIRE_GPIOLIB
112         select REGULATOR_FIXED_VOLTAGE if REGULATOR
113         select SND_SOC_WM8978 if SND_SIMPLE_CARD
114         select USE_OF
115         ---help---
116            Use reference implementation of Aramdillo800 EVA board support
117            which makes a greater use of device tree at the expense
118            of not supporting a number of devices.
119
120            This is intended to aid developers
121
122 config MACH_BOCKW
123         bool "BOCK-W platform"
124         depends on ARCH_R8A7778
125         select ARCH_REQUIRE_GPIOLIB
126         select RENESAS_INTC_IRQPIN
127         select USE_OF
128
129 config MACH_MARZEN
130         bool "MARZEN board"
131         depends on ARCH_R8A7779
132         select ARCH_REQUIRE_GPIOLIB
133         select REGULATOR_FIXED_VOLTAGE if REGULATOR
134
135 config MACH_MARZEN_REFERENCE
136         bool "MARZEN board - Reference Device Tree Implementation"
137         depends on ARCH_R8A7779
138         select ARCH_REQUIRE_GPIOLIB
139         select REGULATOR_FIXED_VOLTAGE if REGULATOR
140         select USE_OF
141         ---help---
142            Use reference implementation of Marzen board support
143            which makes use of device tree at the expense
144            of not supporting a number of devices.
145
146            This is intended to aid developers
147
148 config MACH_LAGER
149         bool "Lager board"
150         depends on ARCH_R8A7790
151         select USE_OF
152
153 config MACH_KZM9D
154         bool "KZM9D board"
155         depends on ARCH_EMEV2
156         select REGULATOR_FIXED_VOLTAGE if REGULATOR
157         select USE_OF
158
159 config MACH_KZM9G
160         bool "KZM-A9-GT board"
161         depends on ARCH_SH73A0
162         select ARCH_HAS_CPUFREQ
163         select ARCH_HAS_OPP
164         select ARCH_REQUIRE_GPIOLIB
165         select REGULATOR_FIXED_VOLTAGE if REGULATOR
166         select SND_SOC_AK4642 if SND_SIMPLE_CARD
167         select USE_OF
168
169 config MACH_KZM9G_REFERENCE
170         bool "KZM-A9-GT board - Reference Device Tree Implementation"
171         depends on ARCH_SH73A0
172         select ARCH_REQUIRE_GPIOLIB
173         select REGULATOR_FIXED_VOLTAGE if REGULATOR
174         select SND_SOC_AK4642 if SND_SIMPLE_CARD
175         select USE_OF
176         ---help---
177            Use reference implementation of KZM-A9-GT board support
178            which makes as greater use of device tree at the expense
179            of not supporting a number of devices.
180
181            This is intended to aid developers
182
183 comment "SH-Mobile System Configuration"
184
185 config CPU_HAS_INTEVT
186         bool
187         default y
188
189 menu "Timer and clock configuration"
190
191 config SHMOBILE_TIMER_HZ
192         int "Kernel HZ (jiffies per second)"
193         range 32 1024
194         default "128"
195         help
196           Allows the configuration of the timer frequency. It is customary
197           to have the timer interrupt run at 1000 Hz or 100 Hz, but in the
198           case of low timer frequencies other values may be more suitable.
199           SH-Mobile systems using a 32768 Hz RCLK for clock events may want
200           to select a HZ value such as 128 that can evenly divide RCLK.
201           A HZ value that does not divide evenly may cause timer drift.
202
203 config SH_TIMER_CMT
204         bool "CMT timer driver"
205         default y
206         help
207           This enables build of the CMT timer driver.
208
209 config SH_TIMER_TMU
210         bool "TMU timer driver"
211         default y
212         help
213           This enables build of the TMU timer driver.
214
215 config EM_TIMER_STI
216         bool "STI timer driver"
217         default y
218         help
219           This enables build of the STI timer driver.
220
221 endmenu
222
223 config SH_CLK_CPG
224         bool
225
226 source "drivers/sh/Kconfig"
227
228 endif