blob: 4f3dbc8cf7292773d9fcc442edfc8ef695a4a432 [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"
Rafael J. Wysocki57aa5ea2014-06-05 23:50:10 +02008 depends on ARM && BIG_LITTLE && ARM_CPU_TOPOLOGY && 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
39config ARM_EXYNOS4210_CPUFREQ
Bartlomiej Zolnierkiewicz45e12082013-08-09 14:04:55 +020040 bool "SAMSUNG EXYNOS4210"
Tomasz Figa4c8d8192014-05-26 06:26:03 +090041 depends on CPU_EXYNOS4210
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 EXYNOS4210
46 SoC (S5PV310 or S5PC210).
47
Bartlomiej Zolnierkiewicz45e12082013-08-09 14:04:55 +020048 If in doubt, say N.
49
Viresh Kumara0ea0482013-04-04 12:54:09 +000050config ARM_EXYNOS4X12_CPUFREQ
Bartlomiej Zolnierkiewicz45e12082013-08-09 14:04:55 +020051 bool "SAMSUNG EXYNOS4x12"
Tomasz Figa4c8d8192014-05-26 06:26:03 +090052 depends on SOC_EXYNOS4212 || SOC_EXYNOS4412
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 EXYNOS4X12
57 SoC (EXYNOS4212 or EXYNOS4412).
58
Bartlomiej Zolnierkiewicz45e12082013-08-09 14:04:55 +020059 If in doubt, say N.
60
Viresh Kumara0ea0482013-04-04 12:54:09 +000061config ARM_EXYNOS5250_CPUFREQ
Bartlomiej Zolnierkiewicz45e12082013-08-09 14:04:55 +020062 bool "SAMSUNG EXYNOS5250"
Tomasz Figa4c8d8192014-05-26 06:26:03 +090063 depends on SOC_EXYNOS5250
Arnd Bergmann8b2b4a42015-01-31 14:35:18 -040064 depends on ARM_EXYNOS_CPUFREQ
Bartlomiej Zolnierkiewicz45e12082013-08-09 14:04:55 +020065 default y
Viresh Kumara0ea0482013-04-04 12:54:09 +000066 help
67 This adds the CPUFreq driver for Samsung EXYNOS5250
68 SoC.
69
Bartlomiej Zolnierkiewicz45e12082013-08-09 14:04:55 +020070 If in doubt, say N.
71
Lukasz Majewski2fb47192013-12-20 15:24:51 +010072config ARM_EXYNOS_CPU_FREQ_BOOST_SW
73 bool "EXYNOS Frequency Overclocking - Software"
Xia Kaixu0a2e9122014-09-03 21:18:12 +080074 depends on ARM_EXYNOS_CPUFREQ && THERMAL
Lukasz Majewski2fb47192013-12-20 15:24:51 +010075 select CPU_FREQ_BOOST_SW
76 select EXYNOS_THERMAL
77 help
78 This driver supports software managed overclocking (BOOST).
79 It allows usage of special frequencies for Samsung Exynos
80 processors if thermal conditions are appropriate.
81
Stratos Karafotis735dc242014-04-22 22:40:10 +030082 It requires, for safe operation, thermal framework with properly
Lukasz Majewski2fb47192013-12-20 15:24:51 +010083 defined trip points.
84
85 If in doubt, say N.
86
Arnd Bergmann8b2b4a42015-01-31 14:35:18 -040087config ARM_EXYNOS5440_CPUFREQ
88 tristate "SAMSUNG EXYNOS5440"
89 depends on SOC_EXYNOS5440
90 depends on HAVE_CLK && OF
91 select PM_OPP
92 default y
93 help
94 This adds the CPUFreq driver for Samsung EXYNOS5440
95 SoC. The nature of exynos5440 clock controller is
96 different than previous exynos controllers so not using
97 the common exynos framework.
98
99 If in doubt, say N.
100
Viresh Kumara0ea0482013-04-04 12:54:09 +0000101config ARM_HIGHBANK_CPUFREQ
102 tristate "Calxeda Highbank-based"
Viresh Kumarbbcf0712014-09-09 19:58:03 +0530103 depends on ARCH_HIGHBANK && CPUFREQ_DT && REGULATOR
Viresh Kumara0ea0482013-04-04 12:54:09 +0000104 default m
105 help
106 This adds the CPUFreq driver for Calxeda Highbank SoC
107 based boards.
108
109 If in doubt, say N.
110
Leo Yan5acb9722015-03-30 13:26:37 +0800111config ARM_HISI_ACPU_CPUFREQ
112 tristate "Hisilicon ACPU CPUfreq driver"
113 depends on ARCH_HISI && CPUFREQ_DT
114 select PM_OPP
115 help
116 This enables the hisilicon ACPU CPUfreq driver.
117
118 If in doubt, say N.
119
Viresh Kumara0ea0482013-04-04 12:54:09 +0000120config ARM_IMX6Q_CPUFREQ
Shawn Guo1d0eaae2013-12-20 10:12:16 +0800121 tristate "Freescale i.MX6 cpufreq support"
122 depends on ARCH_MXC
Viresh Kumara0ea0482013-04-04 12:54:09 +0000123 depends on REGULATOR_ANATOP
Nicolas Del Piano7e021682014-07-13 18:59:00 -0300124 select PM_OPP
Viresh Kumara0ea0482013-04-04 12:54:09 +0000125 help
Shawn Guo1d0eaae2013-12-20 10:12:16 +0800126 This adds cpufreq driver support for Freescale i.MX6 series SoCs.
Viresh Kumara0ea0482013-04-04 12:54:09 +0000127
128 If in doubt, say N.
129
Viresh Kumarb7e614c2013-04-04 12:54:14 +0000130config ARM_INTEGRATOR
131 tristate "CPUfreq driver for ARM Integrator CPUs"
132 depends on ARCH_INTEGRATOR
133 default y
134 help
135 This enables the CPUfreq driver for ARM Integrator CPUs.
136 If in doubt, say Y.
137
Viresh Kumara0ea0482013-04-04 12:54:09 +0000138config ARM_KIRKWOOD_CPUFREQ
Andrew Lunn6c8df112014-08-30 18:46:12 +0200139 def_bool MACH_KIRKWOOD
Viresh Kumara0ea0482013-04-04 12:54:09 +0000140 help
141 This adds the CPUFreq driver for Marvell Kirkwood
142 SoCs.
143
Russell Kingb09db452012-02-15 11:01:11 -0800144config ARM_OMAP2PLUS_CPUFREQ
145 bool "TI OMAP2+"
Kevin Hilman2d59dcf2012-04-13 13:32:30 -0700146 depends on ARCH_OMAP2PLUS
Russell Kingb09db452012-02-15 11:01:11 -0800147 default ARCH_OMAP2PLUS
Russell Kingb09db452012-02-15 11:01:11 -0800148
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000149config ARM_S3C_CPUFREQ
150 bool
151 help
152 Internal configuration node for common cpufreq on Samsung SoC
153
154config ARM_S3C24XX_CPUFREQ
155 bool "CPUfreq driver for Samsung S3C24XX series CPUs (EXPERIMENTAL)"
156 depends on ARCH_S3C24XX
157 select ARM_S3C_CPUFREQ
158 help
159 This enables the CPUfreq driver for the Samsung S3C24XX family
160 of CPUs.
161
162 For details, take a look at <file:Documentation/cpu-freq>.
163
164 If in doubt, say N.
165
166config ARM_S3C24XX_CPUFREQ_DEBUG
167 bool "Debug CPUfreq Samsung driver core"
168 depends on ARM_S3C24XX_CPUFREQ
169 help
170 Enable s3c_freq_dbg for the Samsung S3C CPUfreq core
171
172config ARM_S3C24XX_CPUFREQ_IODEBUG
173 bool "Debug CPUfreq Samsung driver IO timing"
174 depends on ARM_S3C24XX_CPUFREQ
175 help
176 Enable s3c_freq_iodbg for the Samsung S3C CPUfreq core
177
178config ARM_S3C24XX_CPUFREQ_DEBUGFS
179 bool "Export debugfs for CPUFreq"
180 depends on ARM_S3C24XX_CPUFREQ && DEBUG_FS
181 help
182 Export status information via debugfs.
183
184config ARM_S3C2410_CPUFREQ
185 bool
186 depends on ARM_S3C24XX_CPUFREQ && CPU_S3C2410
187 select S3C2410_CPUFREQ_UTILS
188 help
189 CPU Frequency scaling support for S3C2410
190
191config ARM_S3C2412_CPUFREQ
192 bool
193 depends on ARM_S3C24XX_CPUFREQ && CPU_S3C2412
194 default y
195 select S3C2412_IOTIMING
196 help
197 CPU Frequency scaling support for S3C2412 and S3C2413 SoC CPUs.
198
Heiko Stübner34ee55072012-02-16 11:42:32 +0100199config ARM_S3C2416_CPUFREQ
200 bool "S3C2416 CPU Frequency scaling support"
201 depends on CPU_S3C2416
202 help
203 This adds the CPUFreq driver for the Samsung S3C2416 and
204 S3C2450 SoC. The S3C2416 supports changing the rate of the
205 armdiv clock source and also entering a so called dynamic
206 voltage scaling mode in which it is possible to reduce the
Stratos Karafotis735dc242014-04-22 22:40:10 +0300207 core voltage of the CPU.
Heiko Stübner34ee55072012-02-16 11:42:32 +0100208
209 If in doubt, say N.
210
211config ARM_S3C2416_CPUFREQ_VCORESCALE
Kees Cook0f194b562012-10-02 11:16:53 -0700212 bool "Allow voltage scaling for S3C2416 arm core"
213 depends on ARM_S3C2416_CPUFREQ && REGULATOR
Heiko Stübner34ee55072012-02-16 11:42:32 +0100214 help
215 Enable CPU voltage scaling when entering the dvs mode.
216 It uses information gathered through existing hardware and
217 tests but not documented in any datasheet.
218
219 If in doubt, say N.
220
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000221config ARM_S3C2440_CPUFREQ
222 bool "S3C2440/S3C2442 CPU Frequency scaling support"
223 depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2440 || CPU_S3C2442)
224 select S3C2410_CPUFREQ_UTILS
225 default y
226 help
227 CPU Frequency scaling support for S3C2440 and S3C2442 SoC CPUs.
228
Kukjin Kim15964d32011-06-06 18:43:01 -0700229config ARM_S3C64XX_CPUFREQ
230 bool "Samsung S3C64XX"
231 depends on CPU_S3C6410
232 default y
233 help
234 This adds the CPUFreq driver for Samsung S3C6410 SoC.
235
236 If in doubt, say N.
237
Kukjin Kimf7d77072011-06-01 14:18:22 -0700238config ARM_S5PV210_CPUFREQ
239 bool "Samsung S5PV210 and S5PC110"
240 depends on CPU_S5PV210
241 default y
242 help
243 This adds the CPUFreq driver for Samsung S5PV210 and
244 S5PC110 SoCs.
245
246 If in doubt, say N.
247
Viresh Kumar59a2e612013-04-04 12:54:16 +0000248config ARM_SA1100_CPUFREQ
249 bool
250
251config ARM_SA1110_CPUFREQ
252 bool
253
Deepak Sikri42099322012-11-27 14:05:26 +0100254config ARM_SPEAR_CPUFREQ
255 bool "SPEAr CPUFreq support"
256 depends on PLAT_SPEAR
257 default y
258 help
259 This adds the CPUFreq driver support for SPEAr SOCs.
Viresh Kumardbb8d762013-06-12 12:05:48 +0530260
261config ARM_TEGRA_CPUFREQ
262 bool "TEGRA CPUFreq support"
263 depends on ARCH_TEGRA
Viresh Kumardbb8d762013-06-12 12:05:48 +0530264 default y
265 help
266 This adds the CPUFreq driver support for TEGRA SOCs.
Petr Cvek608eab22014-11-24 04:59:26 +0100267
268config ARM_PXA2xx_CPUFREQ
269 tristate "Intel PXA2xx CPUfreq driver"
270 depends on PXA27x || PXA25x
271 help
272 This add the CPUFreq driver support for Intel PXA2xx SOCs.
273
274 If in doubt, say N.