blob: 83a75dc84761a3c4e9a4e385c66d19ab17706b31 [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
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"
Tomasz Figa4c8d8192014-05-26 06:26:03 +090033 depends on CPU_EXYNOS4210
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"
Tomasz Figa4c8d8192014-05-26 06:26:03 +090044 depends on SOC_EXYNOS4212 || SOC_EXYNOS4412
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"
Tomasz Figa4c8d8192014-05-26 06:26:03 +090055 depends on SOC_EXYNOS5250
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"
Xia Kaixu0a2e9122014-09-03 21:18:12 +080080 depends on ARM_EXYNOS_CPUFREQ && THERMAL
Lukasz Majewski2fb47192013-12-20 15:24:51 +010081 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
Stratos Karafotis735dc242014-04-22 22:40:10 +030088 It requires, for safe operation, thermal framework with properly
Lukasz Majewski2fb47192013-12-20 15:24:51 +010089 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"
Viresh Kumarbbcf0712014-09-09 19:58:03 +053095 depends on ARCH_HIGHBANK && CPUFREQ_DT && 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
Nicolas Del Piano7e021682014-07-13 18:59:00 -0300107 select PM_OPP
Viresh Kumara0ea0482013-04-04 12:54:09 +0000108 help
Shawn Guo1d0eaae2013-12-20 10:12:16 +0800109 This adds cpufreq driver support for Freescale i.MX6 series SoCs.
Viresh Kumara0ea0482013-04-04 12:54:09 +0000110
111 If in doubt, say N.
112
Viresh Kumarb7e614c2013-04-04 12:54:14 +0000113config ARM_INTEGRATOR
114 tristate "CPUfreq driver for ARM Integrator CPUs"
115 depends on ARCH_INTEGRATOR
116 default y
117 help
118 This enables the CPUfreq driver for ARM Integrator CPUs.
119 If in doubt, say Y.
120
Viresh Kumara0ea0482013-04-04 12:54:09 +0000121config ARM_KIRKWOOD_CPUFREQ
Andrew Lunn6c8df112014-08-30 18:46:12 +0200122 def_bool MACH_KIRKWOOD
Viresh Kumara0ea0482013-04-04 12:54:09 +0000123 help
124 This adds the CPUFreq driver for Marvell Kirkwood
125 SoCs.
126
Russell Kingb09db452012-02-15 11:01:11 -0800127config ARM_OMAP2PLUS_CPUFREQ
128 bool "TI OMAP2+"
Kevin Hilman2d59dcf2012-04-13 13:32:30 -0700129 depends on ARCH_OMAP2PLUS
Russell Kingb09db452012-02-15 11:01:11 -0800130 default ARCH_OMAP2PLUS
Russell Kingb09db452012-02-15 11:01:11 -0800131
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000132config ARM_S3C_CPUFREQ
133 bool
134 help
135 Internal configuration node for common cpufreq on Samsung SoC
136
137config ARM_S3C24XX_CPUFREQ
138 bool "CPUfreq driver for Samsung S3C24XX series CPUs (EXPERIMENTAL)"
139 depends on ARCH_S3C24XX
140 select ARM_S3C_CPUFREQ
141 help
142 This enables the CPUfreq driver for the Samsung S3C24XX family
143 of CPUs.
144
145 For details, take a look at <file:Documentation/cpu-freq>.
146
147 If in doubt, say N.
148
149config ARM_S3C24XX_CPUFREQ_DEBUG
150 bool "Debug CPUfreq Samsung driver core"
151 depends on ARM_S3C24XX_CPUFREQ
152 help
153 Enable s3c_freq_dbg for the Samsung S3C CPUfreq core
154
155config ARM_S3C24XX_CPUFREQ_IODEBUG
156 bool "Debug CPUfreq Samsung driver IO timing"
157 depends on ARM_S3C24XX_CPUFREQ
158 help
159 Enable s3c_freq_iodbg for the Samsung S3C CPUfreq core
160
161config ARM_S3C24XX_CPUFREQ_DEBUGFS
162 bool "Export debugfs for CPUFreq"
163 depends on ARM_S3C24XX_CPUFREQ && DEBUG_FS
164 help
165 Export status information via debugfs.
166
167config ARM_S3C2410_CPUFREQ
168 bool
169 depends on ARM_S3C24XX_CPUFREQ && CPU_S3C2410
170 select S3C2410_CPUFREQ_UTILS
171 help
172 CPU Frequency scaling support for S3C2410
173
174config ARM_S3C2412_CPUFREQ
175 bool
176 depends on ARM_S3C24XX_CPUFREQ && CPU_S3C2412
177 default y
178 select S3C2412_IOTIMING
179 help
180 CPU Frequency scaling support for S3C2412 and S3C2413 SoC CPUs.
181
Heiko Stübner34ee55072012-02-16 11:42:32 +0100182config ARM_S3C2416_CPUFREQ
183 bool "S3C2416 CPU Frequency scaling support"
184 depends on CPU_S3C2416
185 help
186 This adds the CPUFreq driver for the Samsung S3C2416 and
187 S3C2450 SoC. The S3C2416 supports changing the rate of the
188 armdiv clock source and also entering a so called dynamic
189 voltage scaling mode in which it is possible to reduce the
Stratos Karafotis735dc242014-04-22 22:40:10 +0300190 core voltage of the CPU.
Heiko Stübner34ee55072012-02-16 11:42:32 +0100191
192 If in doubt, say N.
193
194config ARM_S3C2416_CPUFREQ_VCORESCALE
Kees Cook0f194b52012-10-02 11:16:53 -0700195 bool "Allow voltage scaling for S3C2416 arm core"
196 depends on ARM_S3C2416_CPUFREQ && REGULATOR
Heiko Stübner34ee55072012-02-16 11:42:32 +0100197 help
198 Enable CPU voltage scaling when entering the dvs mode.
199 It uses information gathered through existing hardware and
200 tests but not documented in any datasheet.
201
202 If in doubt, say N.
203
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000204config ARM_S3C2440_CPUFREQ
205 bool "S3C2440/S3C2442 CPU Frequency scaling support"
206 depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2440 || CPU_S3C2442)
207 select S3C2410_CPUFREQ_UTILS
208 default y
209 help
210 CPU Frequency scaling support for S3C2440 and S3C2442 SoC CPUs.
211
Kukjin Kim15964d32011-06-06 18:43:01 -0700212config ARM_S3C64XX_CPUFREQ
213 bool "Samsung S3C64XX"
214 depends on CPU_S3C6410
215 default y
216 help
217 This adds the CPUFreq driver for Samsung S3C6410 SoC.
218
219 If in doubt, say N.
220
Kukjin Kimf7d77072011-06-01 14:18:22 -0700221config ARM_S5PV210_CPUFREQ
222 bool "Samsung S5PV210 and S5PC110"
223 depends on CPU_S5PV210
224 default y
225 help
226 This adds the CPUFreq driver for Samsung S5PV210 and
227 S5PC110 SoCs.
228
229 If in doubt, say N.
230
Viresh Kumar59a2e612013-04-04 12:54:16 +0000231config ARM_SA1100_CPUFREQ
232 bool
233
234config ARM_SA1110_CPUFREQ
235 bool
236
Deepak Sikri42099322012-11-27 14:05:26 +0100237config ARM_SPEAR_CPUFREQ
238 bool "SPEAr CPUFreq support"
239 depends on PLAT_SPEAR
240 default y
241 help
242 This adds the CPUFreq driver support for SPEAr SOCs.
Viresh Kumardbb8d762013-06-12 12:05:48 +0530243
244config ARM_TEGRA_CPUFREQ
245 bool "TEGRA CPUFreq support"
246 depends on ARCH_TEGRA
Viresh Kumardbb8d762013-06-12 12:05:48 +0530247 default y
248 help
249 This adds the CPUFreq driver support for TEGRA SOCs.