blob: 24e5c664683fe530ccf466b0132973576f67da8b [file] [log] [blame]
Kukjin Kimf7d77072011-06-01 14:18:22 -07001#
2# ARM CPU Frequency scaling drivers
3#
4
viresh kumar3b84d582014-03-14 12:10:54 +05305# big LITTLE core layer and glue drivers
Viresh Kumar8a67f0e2013-04-01 12:57:49 +00006config ARM_BIG_LITTLE_CPUFREQ
Viresh Kumar99af7712013-05-04 12:03:54 +05307 tristate "Generic ARM big LITTLE CPUfreq driver"
Sudeep Holla14730142015-05-13 13:35:52 +01008 depends on (ARM_CPU_TOPOLOGY || ARM64) && HAVE_CLK
Mark Brown109df082013-12-11 22:12:27 +00009 select PM_OPP
Viresh Kumar99af7712013-05-04 12:03:54 +053010 help
11 This enables the Generic CPUfreq driver for ARM big.LITTLE platforms.
Viresh Kumar8a67f0e2013-04-01 12:57:49 +000012
13config ARM_DT_BL_CPUFREQ
Viresh Kumar99af7712013-05-04 12:03:54 +053014 tristate "Generic probing via DT for ARM big LITTLE CPUfreq driver"
15 depends on ARM_BIG_LITTLE_CPUFREQ && OF
Viresh Kumar8a67f0e2013-04-01 12:57:49 +000016 help
Viresh Kumar99af7712013-05-04 12:03:54 +053017 This enables probing via DT for Generic CPUfreq driver for ARM
18 big.LITTLE platform. This gets frequency tables from DT.
Viresh Kumar8a67f0e2013-04-01 12:57:49 +000019
viresh kumar3b84d582014-03-14 12:10:54 +053020config ARM_VEXPRESS_SPC_CPUFREQ
21 tristate "Versatile Express SPC based CPUfreq driver"
22 depends on ARM_BIG_LITTLE_CPUFREQ && ARCH_VEXPRESS_SPC
23 help
24 This add the CPUfreq driver support for Versatile Express
25 big.LITTLE platforms using SPC for power management.
26
27
Viresh Kumara0ea0482013-04-04 12:54:09 +000028config ARM_EXYNOS_CPUFREQ
Arnd Bergmann8b2b4a42015-01-31 14:35:18 -040029 tristate "SAMSUNG EXYNOS CPUfreq Driver"
30 depends on CPU_EXYNOS4210 || SOC_EXYNOS4212 || SOC_EXYNOS4412 || SOC_EXYNOS5250
31 depends on THERMAL
32 help
33 This adds the CPUFreq driver for Samsung EXYNOS platforms.
34 Supported SoC versions are:
35 Exynos4210, Exynos4212, Exynos4412, and Exynos5250.
36
37 If in doubt, say N.
Viresh Kumara0ea0482013-04-04 12:54:09 +000038
Viresh Kumara0ea0482013-04-04 12:54:09 +000039config ARM_EXYNOS4X12_CPUFREQ
Bartlomiej Zolnierkiewicz45e12082013-08-09 14:04:55 +020040 bool "SAMSUNG EXYNOS4x12"
Tomasz Figa4c8d8192014-05-26 06:26:03 +090041 depends on SOC_EXYNOS4212 || SOC_EXYNOS4412
Arnd Bergmann8b2b4a42015-01-31 14:35:18 -040042 depends on ARM_EXYNOS_CPUFREQ
Bartlomiej Zolnierkiewicz45e12082013-08-09 14:04:55 +020043 default y
Viresh Kumara0ea0482013-04-04 12:54:09 +000044 help
45 This adds the CPUFreq driver for Samsung EXYNOS4X12
46 SoC (EXYNOS4212 or EXYNOS4412).
47
Bartlomiej Zolnierkiewicz45e12082013-08-09 14:04:55 +020048 If in doubt, say N.
49
Viresh Kumara0ea0482013-04-04 12:54:09 +000050config ARM_EXYNOS5250_CPUFREQ
Bartlomiej Zolnierkiewicz45e12082013-08-09 14:04:55 +020051 bool "SAMSUNG EXYNOS5250"
Tomasz Figa4c8d8192014-05-26 06:26:03 +090052 depends on SOC_EXYNOS5250
Arnd Bergmann8b2b4a42015-01-31 14:35:18 -040053 depends on ARM_EXYNOS_CPUFREQ
Bartlomiej Zolnierkiewicz45e12082013-08-09 14:04:55 +020054 default y
Viresh Kumara0ea0482013-04-04 12:54:09 +000055 help
56 This adds the CPUFreq driver for Samsung EXYNOS5250
57 SoC.
58
Bartlomiej Zolnierkiewicz45e12082013-08-09 14:04:55 +020059 If in doubt, say N.
60
Lukasz Majewski2fb47192013-12-20 15:24:51 +010061config ARM_EXYNOS_CPU_FREQ_BOOST_SW
62 bool "EXYNOS Frequency Overclocking - Software"
Xia Kaixu0a2e9122014-09-03 21:18:12 +080063 depends on ARM_EXYNOS_CPUFREQ && THERMAL
Lukasz Majewski2fb47192013-12-20 15:24:51 +010064 select CPU_FREQ_BOOST_SW
65 select EXYNOS_THERMAL
66 help
67 This driver supports software managed overclocking (BOOST).
68 It allows usage of special frequencies for Samsung Exynos
69 processors if thermal conditions are appropriate.
70
Stratos Karafotis735dc242014-04-22 22:40:10 +030071 It requires, for safe operation, thermal framework with properly
Lukasz Majewski2fb47192013-12-20 15:24:51 +010072 defined trip points.
73
74 If in doubt, say N.
75
Arnd Bergmann8b2b4a42015-01-31 14:35:18 -040076config ARM_EXYNOS5440_CPUFREQ
77 tristate "SAMSUNG EXYNOS5440"
78 depends on SOC_EXYNOS5440
79 depends on HAVE_CLK && OF
80 select PM_OPP
81 default y
82 help
83 This adds the CPUFreq driver for Samsung EXYNOS5440
84 SoC. The nature of exynos5440 clock controller is
85 different than previous exynos controllers so not using
86 the common exynos framework.
87
88 If in doubt, say N.
89
Viresh Kumara0ea0482013-04-04 12:54:09 +000090config ARM_HIGHBANK_CPUFREQ
91 tristate "Calxeda Highbank-based"
Viresh Kumarbbcf0712014-09-09 19:58:03 +053092 depends on ARCH_HIGHBANK && CPUFREQ_DT && REGULATOR
Viresh Kumara0ea0482013-04-04 12:54:09 +000093 default m
94 help
95 This adds the CPUFreq driver for Calxeda Highbank SoC
96 based boards.
97
98 If in doubt, say N.
99
Leo Yan5acb9722015-03-30 13:26:37 +0800100config ARM_HISI_ACPU_CPUFREQ
101 tristate "Hisilicon ACPU CPUfreq driver"
102 depends on ARCH_HISI && CPUFREQ_DT
103 select PM_OPP
104 help
105 This enables the hisilicon ACPU CPUfreq driver.
106
107 If in doubt, say N.
108
Viresh Kumara0ea0482013-04-04 12:54:09 +0000109config ARM_IMX6Q_CPUFREQ
Shawn Guo1d0eaae2013-12-20 10:12:16 +0800110 tristate "Freescale i.MX6 cpufreq support"
111 depends on ARCH_MXC
Viresh Kumara0ea0482013-04-04 12:54:09 +0000112 depends on REGULATOR_ANATOP
Nicolas Del Piano7e021682014-07-13 18:59:00 -0300113 select PM_OPP
Viresh Kumara0ea0482013-04-04 12:54:09 +0000114 help
Shawn Guo1d0eaae2013-12-20 10:12:16 +0800115 This adds cpufreq driver support for Freescale i.MX6 series SoCs.
Viresh Kumara0ea0482013-04-04 12:54:09 +0000116
117 If in doubt, say N.
118
Viresh Kumarb7e614c2013-04-04 12:54:14 +0000119config ARM_INTEGRATOR
120 tristate "CPUfreq driver for ARM Integrator CPUs"
121 depends on ARCH_INTEGRATOR
122 default y
123 help
124 This enables the CPUfreq driver for ARM Integrator CPUs.
125 If in doubt, say Y.
126
Viresh Kumara0ea0482013-04-04 12:54:09 +0000127config ARM_KIRKWOOD_CPUFREQ
Andrew Lunn6c8df112014-08-30 18:46:12 +0200128 def_bool MACH_KIRKWOOD
Viresh Kumara0ea0482013-04-04 12:54:09 +0000129 help
130 This adds the CPUFreq driver for Marvell Kirkwood
131 SoCs.
132
Russell Kingb09db452012-02-15 11:01:11 -0800133config ARM_OMAP2PLUS_CPUFREQ
134 bool "TI OMAP2+"
Kevin Hilman2d59dcf2012-04-13 13:32:30 -0700135 depends on ARCH_OMAP2PLUS
Russell Kingb09db452012-02-15 11:01:11 -0800136 default ARCH_OMAP2PLUS
Russell Kingb09db452012-02-15 11:01:11 -0800137
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000138config ARM_S3C_CPUFREQ
139 bool
140 help
141 Internal configuration node for common cpufreq on Samsung SoC
142
143config ARM_S3C24XX_CPUFREQ
144 bool "CPUfreq driver for Samsung S3C24XX series CPUs (EXPERIMENTAL)"
145 depends on ARCH_S3C24XX
146 select ARM_S3C_CPUFREQ
147 help
148 This enables the CPUfreq driver for the Samsung S3C24XX family
149 of CPUs.
150
151 For details, take a look at <file:Documentation/cpu-freq>.
152
153 If in doubt, say N.
154
155config ARM_S3C24XX_CPUFREQ_DEBUG
156 bool "Debug CPUfreq Samsung driver core"
157 depends on ARM_S3C24XX_CPUFREQ
158 help
159 Enable s3c_freq_dbg for the Samsung S3C CPUfreq core
160
161config ARM_S3C24XX_CPUFREQ_IODEBUG
162 bool "Debug CPUfreq Samsung driver IO timing"
163 depends on ARM_S3C24XX_CPUFREQ
164 help
165 Enable s3c_freq_iodbg for the Samsung S3C CPUfreq core
166
167config ARM_S3C24XX_CPUFREQ_DEBUGFS
168 bool "Export debugfs for CPUFreq"
169 depends on ARM_S3C24XX_CPUFREQ && DEBUG_FS
170 help
171 Export status information via debugfs.
172
173config ARM_S3C2410_CPUFREQ
174 bool
175 depends on ARM_S3C24XX_CPUFREQ && CPU_S3C2410
176 select S3C2410_CPUFREQ_UTILS
177 help
178 CPU Frequency scaling support for S3C2410
179
180config ARM_S3C2412_CPUFREQ
181 bool
182 depends on ARM_S3C24XX_CPUFREQ && CPU_S3C2412
183 default y
184 select S3C2412_IOTIMING
185 help
186 CPU Frequency scaling support for S3C2412 and S3C2413 SoC CPUs.
187
Heiko Stübner34ee55072012-02-16 11:42:32 +0100188config ARM_S3C2416_CPUFREQ
189 bool "S3C2416 CPU Frequency scaling support"
190 depends on CPU_S3C2416
191 help
192 This adds the CPUFreq driver for the Samsung S3C2416 and
193 S3C2450 SoC. The S3C2416 supports changing the rate of the
194 armdiv clock source and also entering a so called dynamic
195 voltage scaling mode in which it is possible to reduce the
Stratos Karafotis735dc242014-04-22 22:40:10 +0300196 core voltage of the CPU.
Heiko Stübner34ee55072012-02-16 11:42:32 +0100197
198 If in doubt, say N.
199
200config ARM_S3C2416_CPUFREQ_VCORESCALE
Kees Cook0f194b562012-10-02 11:16:53 -0700201 bool "Allow voltage scaling for S3C2416 arm core"
202 depends on ARM_S3C2416_CPUFREQ && REGULATOR
Heiko Stübner34ee55072012-02-16 11:42:32 +0100203 help
204 Enable CPU voltage scaling when entering the dvs mode.
205 It uses information gathered through existing hardware and
206 tests but not documented in any datasheet.
207
208 If in doubt, say N.
209
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000210config ARM_S3C2440_CPUFREQ
211 bool "S3C2440/S3C2442 CPU Frequency scaling support"
212 depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2440 || CPU_S3C2442)
213 select S3C2410_CPUFREQ_UTILS
214 default y
215 help
216 CPU Frequency scaling support for S3C2440 and S3C2442 SoC CPUs.
217
Kukjin Kim15964d32011-06-06 18:43:01 -0700218config ARM_S3C64XX_CPUFREQ
219 bool "Samsung S3C64XX"
220 depends on CPU_S3C6410
221 default y
222 help
223 This adds the CPUFreq driver for Samsung S3C6410 SoC.
224
225 If in doubt, say N.
226
Kukjin Kimf7d77072011-06-01 14:18:22 -0700227config ARM_S5PV210_CPUFREQ
228 bool "Samsung S5PV210 and S5PC110"
229 depends on CPU_S5PV210
230 default y
231 help
232 This adds the CPUFreq driver for Samsung S5PV210 and
233 S5PC110 SoCs.
234
235 If in doubt, say N.
236
Viresh Kumar59a2e612013-04-04 12:54:16 +0000237config ARM_SA1100_CPUFREQ
238 bool
239
240config ARM_SA1110_CPUFREQ
241 bool
242
Deepak Sikri42099322012-11-27 14:05:26 +0100243config ARM_SPEAR_CPUFREQ
244 bool "SPEAr CPUFreq support"
245 depends on PLAT_SPEAR
246 default y
247 help
248 This adds the CPUFreq driver support for SPEAr SOCs.
Viresh Kumardbb8d762013-06-12 12:05:48 +0530249
Tuomas Tynkkynen109e13e2015-05-13 17:58:47 +0300250config ARM_TEGRA20_CPUFREQ
251 bool "Tegra20 CPUFreq support"
Viresh Kumardbb8d762013-06-12 12:05:48 +0530252 depends on ARCH_TEGRA
Viresh Kumardbb8d762013-06-12 12:05:48 +0530253 default y
254 help
Tuomas Tynkkynen109e13e2015-05-13 17:58:47 +0300255 This adds the CPUFreq driver support for Tegra20 SOCs.
Petr Cvek608eab22014-11-24 04:59:26 +0100256
Tuomas Tynkkynen9eb15db2015-05-13 17:58:48 +0300257config ARM_TEGRA124_CPUFREQ
258 tristate "Tegra124 CPUFreq support"
259 depends on ARCH_TEGRA && CPUFREQ_DT
260 default y
261 help
262 This adds the CPUFreq driver support for Tegra124 SOCs.
263
Petr Cvek608eab22014-11-24 04:59:26 +0100264config ARM_PXA2xx_CPUFREQ
265 tristate "Intel PXA2xx CPUfreq driver"
266 depends on PXA27x || PXA25x
267 help
268 This add the CPUFreq driver support for Intel PXA2xx SOCs.
269
270 If in doubt, say N.