ARM: shmobile: r8a73a4: implement CPU clock scaling for CPUFreq
[linux-2.6.git] / arch / arm / mach-shmobile / Kconfig
blob734b3eec56fc7ab973bd39d214567dd3c64df048
1 if ARCH_SHMOBILE
3 comment "SH-Mobile System Type"
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
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
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         select ARCH_HAS_CPUFREQ
30         select ARCH_HAS_OPP
32 config ARCH_R8A7740
33         bool "R-Mobile A1 (R8A77400)"
34         select ARCH_WANT_OPTIONAL_GPIOLIB
35         select ARM_GIC
36         select CPU_V7
37         select SH_CLK_CPG
38         select RENESAS_INTC_IRQPIN
40 config ARCH_R8A7778
41         bool "R-Car M1A (R8A77781)"
42         select ARCH_WANT_OPTIONAL_GPIOLIB
43         select CPU_V7
44         select SH_CLK_CPG
45         select ARM_GIC
46         select USB_ARCH_HAS_EHCI
47         select USB_ARCH_HAS_OHCI
49 config ARCH_R8A7779
50         bool "R-Car H1 (R8A77790)"
51         select ARCH_WANT_OPTIONAL_GPIOLIB
52         select ARM_GIC
53         select CPU_V7
54         select SH_CLK_CPG
55         select USB_ARCH_HAS_EHCI
56         select USB_ARCH_HAS_OHCI
57         select RENESAS_INTC_IRQPIN
59 config ARCH_R8A7790
60         bool "R-Car H2 (R8A77900)"
61         select ARCH_WANT_OPTIONAL_GPIOLIB
62         select ARM_GIC
63         select CPU_V7
64         select HAVE_ARM_ARCH_TIMER
65         select SH_CLK_CPG
66         select RENESAS_IRQC
68 config ARCH_EMEV2
69         bool "Emma Mobile EV2"
70         select ARCH_WANT_OPTIONAL_GPIOLIB
71         select ARM_GIC
72         select CPU_V7
74 comment "SH-Mobile Board Type"
76 config MACH_AG5EVM
77         bool "AG5EVM board"
78         depends on ARCH_SH73A0
79         select ARCH_REQUIRE_GPIOLIB
80         select REGULATOR_FIXED_VOLTAGE if REGULATOR
81         select SH_LCD_MIPI_DSI
83 config MACH_APE6EVM
84         bool "APE6EVM board"
85         depends on ARCH_R8A73A4
86         select USE_OF
88 config MACH_MACKEREL
89         bool "mackerel board"
90         depends on ARCH_SH7372
91         select ARCH_REQUIRE_GPIOLIB
92         select REGULATOR_FIXED_VOLTAGE if REGULATOR
93         select SND_SOC_AK4642 if SND_SIMPLE_CARD
94         select USE_OF
96 config MACH_KOTA2
97         bool "KOTA2 board"
98         depends on ARCH_SH73A0
99         select ARCH_REQUIRE_GPIOLIB
100         select REGULATOR_FIXED_VOLTAGE if REGULATOR
102 config MACH_ARMADILLO800EVA
103         bool "Armadillo-800 EVA board"
104         depends on ARCH_R8A7740
105         select ARCH_REQUIRE_GPIOLIB
106         select REGULATOR_FIXED_VOLTAGE if REGULATOR
107         select SND_SOC_WM8978 if SND_SIMPLE_CARD
108         select USE_OF
110 config MACH_ARMADILLO800EVA_REFERENCE
111         bool "Armadillo-800 EVA board - Reference Device Tree Implementation"
112         depends on ARCH_R8A7740
113         select ARCH_REQUIRE_GPIOLIB
114         select REGULATOR_FIXED_VOLTAGE if REGULATOR
115         select SND_SOC_WM8978 if SND_SIMPLE_CARD
116         select USE_OF
117         ---help---
118            Use reference implementation of Aramdillo800 EVA board support
119            which makes a greater use of device tree at the expense
120            of not supporting a number of devices.
122            This is intended to aid developers
124 config MACH_BOCKW
125         bool "BOCK-W platform"
126         depends on ARCH_R8A7778
127         select ARCH_REQUIRE_GPIOLIB
128         select RENESAS_INTC_IRQPIN
129         select USE_OF
131 config MACH_MARZEN
132         bool "MARZEN board"
133         depends on ARCH_R8A7779
134         select ARCH_REQUIRE_GPIOLIB
135         select REGULATOR_FIXED_VOLTAGE if REGULATOR
137 config MACH_MARZEN_REFERENCE
138         bool "MARZEN board - Reference Device Tree Implementation"
139         depends on ARCH_R8A7779
140         select ARCH_REQUIRE_GPIOLIB
141         select REGULATOR_FIXED_VOLTAGE if REGULATOR
142         select USE_OF
143         ---help---
144            Use reference implementation of Marzen board support
145            which makes use of device tree at the expense
146            of not supporting a number of devices.
148            This is intended to aid developers
150 config MACH_LAGER
151         bool "Lager board"
152         depends on ARCH_R8A7790
153         select USE_OF
155 config MACH_KZM9D
156         bool "KZM9D board"
157         depends on ARCH_EMEV2
158         select REGULATOR_FIXED_VOLTAGE if REGULATOR
159         select USE_OF
161 config MACH_KZM9D_REFERENCE
162         bool "KZM9D board - Reference Device Tree Implementation"
163         depends on ARCH_EMEV2
164         select REGULATOR_FIXED_VOLTAGE if REGULATOR
165         select USE_OF
166         ---help---
167            Use reference implementation of KZM9D board support
168            which makes a greater use of device tree at the expense
169            of not supporting a number of devices.
171            This is intended to aid developers
173 config MACH_KZM9G
174         bool "KZM-A9-GT board"
175         depends on ARCH_SH73A0
176         select ARCH_HAS_CPUFREQ
177         select ARCH_HAS_OPP
178         select ARCH_REQUIRE_GPIOLIB
179         select REGULATOR_FIXED_VOLTAGE if REGULATOR
180         select SND_SOC_AK4642 if SND_SIMPLE_CARD
181         select USE_OF
183 config MACH_KZM9G_REFERENCE
184         bool "KZM-A9-GT board - Reference Device Tree Implementation"
185         depends on ARCH_SH73A0
186         select ARCH_REQUIRE_GPIOLIB
187         select REGULATOR_FIXED_VOLTAGE if REGULATOR
188         select SND_SOC_AK4642 if SND_SIMPLE_CARD
189         select USE_OF
190         ---help---
191            Use reference implementation of KZM-A9-GT board support
192            which makes as greater use of device tree at the expense
193            of not supporting a number of devices.
195            This is intended to aid developers
197 comment "SH-Mobile System Configuration"
199 config CPU_HAS_INTEVT
200         bool
201         default y
203 menu "Timer and clock configuration"
205 config SHMOBILE_TIMER_HZ
206         int "Kernel HZ (jiffies per second)"
207         range 32 1024
208         default "128"
209         help
210           Allows the configuration of the timer frequency. It is customary
211           to have the timer interrupt run at 1000 Hz or 100 Hz, but in the
212           case of low timer frequencies other values may be more suitable.
213           SH-Mobile systems using a 32768 Hz RCLK for clock events may want
214           to select a HZ value such as 128 that can evenly divide RCLK.
215           A HZ value that does not divide evenly may cause timer drift.
217 config SH_TIMER_CMT
218         bool "CMT timer driver"
219         default y
220         help
221           This enables build of the CMT timer driver.
223 config SH_TIMER_TMU
224         bool "TMU timer driver"
225         default y
226         help
227           This enables build of the TMU timer driver.
229 config EM_TIMER_STI
230         bool "STI timer driver"
231         default y
232         help
233           This enables build of the STI timer driver.
235 endmenu
237 config SH_CLK_CPG
238         bool
240 source "drivers/sh/Kconfig"
242 endif