blob: 580503513f0f10687d46e666e19f253d7fbbfb51 [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"
Viresh Kumar998be8e2014-01-03 15:51:39 +05308 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
Bartlomiej Zolnierkiewicz45e12082013-08-09 14:04:55 +020029 bool
Viresh Kumara0ea0482013-04-04 12:54:09 +000030
31config ARM_EXYNOS4210_CPUFREQ
Bartlomiej Zolnierkiewicz45e12082013-08-09 14:04:55 +020032 bool "SAMSUNG EXYNOS4210"
Sachin Kamat1fedc2f2014-04-02 16:33:47 +053033 depends on CPU_EXYNOS4210 && !ARCH_MULTIPLATFORM
Bartlomiej Zolnierkiewicz45e12082013-08-09 14:04:55 +020034 default y
35 select ARM_EXYNOS_CPUFREQ
Viresh Kumara0ea0482013-04-04 12:54:09 +000036 help
37 This adds the CPUFreq driver for Samsung EXYNOS4210
38 SoC (S5PV310 or S5PC210).
39
Bartlomiej Zolnierkiewicz45e12082013-08-09 14:04:55 +020040 If in doubt, say N.
41
Viresh Kumara0ea0482013-04-04 12:54:09 +000042config ARM_EXYNOS4X12_CPUFREQ
Bartlomiej Zolnierkiewicz45e12082013-08-09 14:04:55 +020043 bool "SAMSUNG EXYNOS4x12"
Sachin Kamat1fedc2f2014-04-02 16:33:47 +053044 depends on (SOC_EXYNOS4212 || SOC_EXYNOS4412) && !ARCH_MULTIPLATFORM
Bartlomiej Zolnierkiewicz45e12082013-08-09 14:04:55 +020045 default y
46 select ARM_EXYNOS_CPUFREQ
Viresh Kumara0ea0482013-04-04 12:54:09 +000047 help
48 This adds the CPUFreq driver for Samsung EXYNOS4X12
49 SoC (EXYNOS4212 or EXYNOS4412).
50
Bartlomiej Zolnierkiewicz45e12082013-08-09 14:04:55 +020051 If in doubt, say N.
52
Viresh Kumara0ea0482013-04-04 12:54:09 +000053config ARM_EXYNOS5250_CPUFREQ
Bartlomiej Zolnierkiewicz45e12082013-08-09 14:04:55 +020054 bool "SAMSUNG EXYNOS5250"
Sachin Kamat1fedc2f2014-04-02 16:33:47 +053055 depends on SOC_EXYNOS5250 && !ARCH_MULTIPLATFORM
Bartlomiej Zolnierkiewicz45e12082013-08-09 14:04:55 +020056 default y
57 select ARM_EXYNOS_CPUFREQ
Viresh Kumara0ea0482013-04-04 12:54:09 +000058 help
59 This adds the CPUFreq driver for Samsung EXYNOS5250
60 SoC.
61
Bartlomiej Zolnierkiewicz45e12082013-08-09 14:04:55 +020062 If in doubt, say N.
63
Amit Daniel Kachhap49d7b5b2013-04-08 09:57:34 +000064config ARM_EXYNOS5440_CPUFREQ
Bartlomiej Zolnierkiewicz45e12082013-08-09 14:04:55 +020065 bool "SAMSUNG EXYNOS5440"
66 depends on SOC_EXYNOS5440
Mark Brown109df082013-12-11 22:12:27 +000067 depends on HAVE_CLK && OF
68 select PM_OPP
Bartlomiej Zolnierkiewicz45e12082013-08-09 14:04:55 +020069 default y
Amit Daniel Kachhap49d7b5b2013-04-08 09:57:34 +000070 help
71 This adds the CPUFreq driver for Samsung EXYNOS5440
72 SoC. The nature of exynos5440 clock controller is
73 different than previous exynos controllers so not using
74 the common exynos framework.
75
Bartlomiej Zolnierkiewicz45e12082013-08-09 14:04:55 +020076 If in doubt, say N.
77
Lukasz Majewski2fb47192013-12-20 15:24:51 +010078config ARM_EXYNOS_CPU_FREQ_BOOST_SW
79 bool "EXYNOS Frequency Overclocking - Software"
80 depends on ARM_EXYNOS_CPUFREQ
81 select CPU_FREQ_BOOST_SW
82 select EXYNOS_THERMAL
83 help
84 This driver supports software managed overclocking (BOOST).
85 It allows usage of special frequencies for Samsung Exynos
86 processors if thermal conditions are appropriate.
87
88 It reguires, for safe operation, thermal framework with properly
89 defined trip points.
90
91 If in doubt, say N.
92
Viresh Kumara0ea0482013-04-04 12:54:09 +000093config ARM_HIGHBANK_CPUFREQ
94 tristate "Calxeda Highbank-based"
Kefeng Wangd76ae2e2014-04-09 10:34:33 +080095 depends on ARCH_HIGHBANK && GENERIC_CPUFREQ_CPU0 && REGULATOR
Viresh Kumara0ea0482013-04-04 12:54:09 +000096 default m
97 help
98 This adds the CPUFreq driver for Calxeda Highbank SoC
99 based boards.
100
101 If in doubt, say N.
102
103config ARM_IMX6Q_CPUFREQ
Shawn Guo1d0eaae2013-12-20 10:12:16 +0800104 tristate "Freescale i.MX6 cpufreq support"
105 depends on ARCH_MXC
Viresh Kumara0ea0482013-04-04 12:54:09 +0000106 depends on REGULATOR_ANATOP
107 help
Shawn Guo1d0eaae2013-12-20 10:12:16 +0800108 This adds cpufreq driver support for Freescale i.MX6 series SoCs.
Viresh Kumara0ea0482013-04-04 12:54:09 +0000109
110 If in doubt, say N.
111
Viresh Kumarb7e614c2013-04-04 12:54:14 +0000112config ARM_INTEGRATOR
113 tristate "CPUfreq driver for ARM Integrator CPUs"
114 depends on ARCH_INTEGRATOR
115 default y
116 help
117 This enables the CPUfreq driver for ARM Integrator CPUs.
118 If in doubt, say Y.
119
Viresh Kumara0ea0482013-04-04 12:54:09 +0000120config ARM_KIRKWOOD_CPUFREQ
Andrew Lunnff1f0012014-02-22 20:15:00 +0100121 def_bool MACH_KIRKWOOD
Viresh Kumara0ea0482013-04-04 12:54:09 +0000122 help
123 This adds the CPUFreq driver for Marvell Kirkwood
124 SoCs.
125
Russell Kingb09db452012-02-15 11:01:11 -0800126config ARM_OMAP2PLUS_CPUFREQ
127 bool "TI OMAP2+"
Kevin Hilman2d59dcf2012-04-13 13:32:30 -0700128 depends on ARCH_OMAP2PLUS
Russell Kingb09db452012-02-15 11:01:11 -0800129 default ARCH_OMAP2PLUS
Russell Kingb09db452012-02-15 11:01:11 -0800130
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000131config ARM_S3C_CPUFREQ
132 bool
133 help
134 Internal configuration node for common cpufreq on Samsung SoC
135
136config ARM_S3C24XX_CPUFREQ
137 bool "CPUfreq driver for Samsung S3C24XX series CPUs (EXPERIMENTAL)"
138 depends on ARCH_S3C24XX
139 select ARM_S3C_CPUFREQ
140 help
141 This enables the CPUfreq driver for the Samsung S3C24XX family
142 of CPUs.
143
144 For details, take a look at <file:Documentation/cpu-freq>.
145
146 If in doubt, say N.
147
148config ARM_S3C24XX_CPUFREQ_DEBUG
149 bool "Debug CPUfreq Samsung driver core"
150 depends on ARM_S3C24XX_CPUFREQ
151 help
152 Enable s3c_freq_dbg for the Samsung S3C CPUfreq core
153
154config ARM_S3C24XX_CPUFREQ_IODEBUG
155 bool "Debug CPUfreq Samsung driver IO timing"
156 depends on ARM_S3C24XX_CPUFREQ
157 help
158 Enable s3c_freq_iodbg for the Samsung S3C CPUfreq core
159
160config ARM_S3C24XX_CPUFREQ_DEBUGFS
161 bool "Export debugfs for CPUFreq"
162 depends on ARM_S3C24XX_CPUFREQ && DEBUG_FS
163 help
164 Export status information via debugfs.
165
166config ARM_S3C2410_CPUFREQ
167 bool
168 depends on ARM_S3C24XX_CPUFREQ && CPU_S3C2410
169 select S3C2410_CPUFREQ_UTILS
170 help
171 CPU Frequency scaling support for S3C2410
172
173config ARM_S3C2412_CPUFREQ
174 bool
175 depends on ARM_S3C24XX_CPUFREQ && CPU_S3C2412
176 default y
177 select S3C2412_IOTIMING
178 help
179 CPU Frequency scaling support for S3C2412 and S3C2413 SoC CPUs.
180
Heiko Stübner34ee55072012-02-16 11:42:32 +0100181config ARM_S3C2416_CPUFREQ
182 bool "S3C2416 CPU Frequency scaling support"
183 depends on CPU_S3C2416
184 help
185 This adds the CPUFreq driver for the Samsung S3C2416 and
186 S3C2450 SoC. The S3C2416 supports changing the rate of the
187 armdiv clock source and also entering a so called dynamic
188 voltage scaling mode in which it is possible to reduce the
189 core voltage of the cpu.
190
191 If in doubt, say N.
192
193config ARM_S3C2416_CPUFREQ_VCORESCALE
Kees Cook0f194b52012-10-02 11:16:53 -0700194 bool "Allow voltage scaling for S3C2416 arm core"
195 depends on ARM_S3C2416_CPUFREQ && REGULATOR
Heiko Stübner34ee55072012-02-16 11:42:32 +0100196 help
197 Enable CPU voltage scaling when entering the dvs mode.
198 It uses information gathered through existing hardware and
199 tests but not documented in any datasheet.
200
201 If in doubt, say N.
202
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000203config ARM_S3C2440_CPUFREQ
204 bool "S3C2440/S3C2442 CPU Frequency scaling support"
205 depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2440 || CPU_S3C2442)
206 select S3C2410_CPUFREQ_UTILS
207 default y
208 help
209 CPU Frequency scaling support for S3C2440 and S3C2442 SoC CPUs.
210
Kukjin Kim15964d32011-06-06 18:43:01 -0700211config ARM_S3C64XX_CPUFREQ
212 bool "Samsung S3C64XX"
213 depends on CPU_S3C6410
214 default y
215 help
216 This adds the CPUFreq driver for Samsung S3C6410 SoC.
217
218 If in doubt, say N.
219
Kukjin Kimf7d77072011-06-01 14:18:22 -0700220config ARM_S5PV210_CPUFREQ
221 bool "Samsung S5PV210 and S5PC110"
222 depends on CPU_S5PV210
223 default y
224 help
225 This adds the CPUFreq driver for Samsung S5PV210 and
226 S5PC110 SoCs.
227
228 If in doubt, say N.
229
Viresh Kumar59a2e612013-04-04 12:54:16 +0000230config ARM_SA1100_CPUFREQ
231 bool
232
233config ARM_SA1110_CPUFREQ
234 bool
235
Deepak Sikri42099322012-11-27 14:05:26 +0100236config ARM_SPEAR_CPUFREQ
237 bool "SPEAr CPUFreq support"
238 depends on PLAT_SPEAR
239 default y
240 help
241 This adds the CPUFreq driver support for SPEAr SOCs.
Viresh Kumardbb8d762013-06-12 12:05:48 +0530242
243config ARM_TEGRA_CPUFREQ
244 bool "TEGRA CPUFreq support"
245 depends on ARCH_TEGRA
Viresh Kumardbb8d762013-06-12 12:05:48 +0530246 default y
247 help
248 This adds the CPUFreq driver support for TEGRA SOCs.