blob: 1b06fc4640e23c2840cda6011d7c061eedd64a49 [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
111config ARM_IMX6Q_CPUFREQ
Shawn Guo1d0eaae2013-12-20 10:12:16 +0800112 tristate "Freescale i.MX6 cpufreq support"
113 depends on ARCH_MXC
Viresh Kumara0ea0482013-04-04 12:54:09 +0000114 depends on REGULATOR_ANATOP
Nicolas Del Piano7e021682014-07-13 18:59:00 -0300115 select PM_OPP
Viresh Kumara0ea0482013-04-04 12:54:09 +0000116 help
Shawn Guo1d0eaae2013-12-20 10:12:16 +0800117 This adds cpufreq driver support for Freescale i.MX6 series SoCs.
Viresh Kumara0ea0482013-04-04 12:54:09 +0000118
119 If in doubt, say N.
120
Viresh Kumarb7e614c2013-04-04 12:54:14 +0000121config ARM_INTEGRATOR
122 tristate "CPUfreq driver for ARM Integrator CPUs"
123 depends on ARCH_INTEGRATOR
124 default y
125 help
126 This enables the CPUfreq driver for ARM Integrator CPUs.
127 If in doubt, say Y.
128
Viresh Kumara0ea0482013-04-04 12:54:09 +0000129config ARM_KIRKWOOD_CPUFREQ
Andrew Lunn6c8df112014-08-30 18:46:12 +0200130 def_bool MACH_KIRKWOOD
Viresh Kumara0ea0482013-04-04 12:54:09 +0000131 help
132 This adds the CPUFreq driver for Marvell Kirkwood
133 SoCs.
134
Russell Kingb09db452012-02-15 11:01:11 -0800135config ARM_OMAP2PLUS_CPUFREQ
136 bool "TI OMAP2+"
Kevin Hilman2d59dcf2012-04-13 13:32:30 -0700137 depends on ARCH_OMAP2PLUS
Russell Kingb09db452012-02-15 11:01:11 -0800138 default ARCH_OMAP2PLUS
Russell Kingb09db452012-02-15 11:01:11 -0800139
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000140config ARM_S3C_CPUFREQ
141 bool
142 help
143 Internal configuration node for common cpufreq on Samsung SoC
144
145config ARM_S3C24XX_CPUFREQ
146 bool "CPUfreq driver for Samsung S3C24XX series CPUs (EXPERIMENTAL)"
147 depends on ARCH_S3C24XX
148 select ARM_S3C_CPUFREQ
149 help
150 This enables the CPUfreq driver for the Samsung S3C24XX family
151 of CPUs.
152
153 For details, take a look at <file:Documentation/cpu-freq>.
154
155 If in doubt, say N.
156
157config ARM_S3C24XX_CPUFREQ_DEBUG
158 bool "Debug CPUfreq Samsung driver core"
159 depends on ARM_S3C24XX_CPUFREQ
160 help
161 Enable s3c_freq_dbg for the Samsung S3C CPUfreq core
162
163config ARM_S3C24XX_CPUFREQ_IODEBUG
164 bool "Debug CPUfreq Samsung driver IO timing"
165 depends on ARM_S3C24XX_CPUFREQ
166 help
167 Enable s3c_freq_iodbg for the Samsung S3C CPUfreq core
168
169config ARM_S3C24XX_CPUFREQ_DEBUGFS
170 bool "Export debugfs for CPUFreq"
171 depends on ARM_S3C24XX_CPUFREQ && DEBUG_FS
172 help
173 Export status information via debugfs.
174
175config ARM_S3C2410_CPUFREQ
176 bool
177 depends on ARM_S3C24XX_CPUFREQ && CPU_S3C2410
178 select S3C2410_CPUFREQ_UTILS
179 help
180 CPU Frequency scaling support for S3C2410
181
182config ARM_S3C2412_CPUFREQ
183 bool
184 depends on ARM_S3C24XX_CPUFREQ && CPU_S3C2412
185 default y
186 select S3C2412_IOTIMING
187 help
188 CPU Frequency scaling support for S3C2412 and S3C2413 SoC CPUs.
189
Heiko Stübner34ee55072012-02-16 11:42:32 +0100190config ARM_S3C2416_CPUFREQ
191 bool "S3C2416 CPU Frequency scaling support"
192 depends on CPU_S3C2416
193 help
194 This adds the CPUFreq driver for the Samsung S3C2416 and
195 S3C2450 SoC. The S3C2416 supports changing the rate of the
196 armdiv clock source and also entering a so called dynamic
197 voltage scaling mode in which it is possible to reduce the
Stratos Karafotis735dc242014-04-22 22:40:10 +0300198 core voltage of the CPU.
Heiko Stübner34ee55072012-02-16 11:42:32 +0100199
200 If in doubt, say N.
201
202config ARM_S3C2416_CPUFREQ_VCORESCALE
Kees Cook0f194b52012-10-02 11:16:53 -0700203 bool "Allow voltage scaling for S3C2416 arm core"
204 depends on ARM_S3C2416_CPUFREQ && REGULATOR
Heiko Stübner34ee55072012-02-16 11:42:32 +0100205 help
206 Enable CPU voltage scaling when entering the dvs mode.
207 It uses information gathered through existing hardware and
208 tests but not documented in any datasheet.
209
210 If in doubt, say N.
211
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000212config ARM_S3C2440_CPUFREQ
213 bool "S3C2440/S3C2442 CPU Frequency scaling support"
214 depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2440 || CPU_S3C2442)
215 select S3C2410_CPUFREQ_UTILS
216 default y
217 help
218 CPU Frequency scaling support for S3C2440 and S3C2442 SoC CPUs.
219
Kukjin Kim15964d32011-06-06 18:43:01 -0700220config ARM_S3C64XX_CPUFREQ
221 bool "Samsung S3C64XX"
222 depends on CPU_S3C6410
223 default y
224 help
225 This adds the CPUFreq driver for Samsung S3C6410 SoC.
226
227 If in doubt, say N.
228
Kukjin Kimf7d77072011-06-01 14:18:22 -0700229config ARM_S5PV210_CPUFREQ
230 bool "Samsung S5PV210 and S5PC110"
231 depends on CPU_S5PV210
232 default y
233 help
234 This adds the CPUFreq driver for Samsung S5PV210 and
235 S5PC110 SoCs.
236
237 If in doubt, say N.
238
Viresh Kumar59a2e612013-04-04 12:54:16 +0000239config ARM_SA1100_CPUFREQ
240 bool
241
242config ARM_SA1110_CPUFREQ
243 bool
244
Deepak Sikri42099322012-11-27 14:05:26 +0100245config ARM_SPEAR_CPUFREQ
246 bool "SPEAr CPUFreq support"
247 depends on PLAT_SPEAR
248 default y
249 help
250 This adds the CPUFreq driver support for SPEAr SOCs.
Viresh Kumardbb8d762013-06-12 12:05:48 +0530251
252config ARM_TEGRA_CPUFREQ
253 bool "TEGRA CPUFreq support"
254 depends on ARCH_TEGRA
Viresh Kumardbb8d762013-06-12 12:05:48 +0530255 default y
256 help
257 This adds the CPUFreq driver support for TEGRA SOCs.
Petr Cvek608eab22014-11-24 04:59:26 +0100258
259config ARM_PXA2xx_CPUFREQ
260 tristate "Intel PXA2xx CPUfreq driver"
261 depends on PXA27x || PXA25x
262 help
263 This add the CPUFreq driver support for Intel PXA2xx SOCs.
264
265 If in doubt, say N.