Kconfig.arm 8.31 KB
Newer Older
1 2 3 4
#
# ARM CPU Frequency scaling drivers
#

5
# big LITTLE core layer and glue drivers
6
config ARM_BIG_LITTLE_CPUFREQ
7
	tristate "Generic ARM big LITTLE CPUfreq driver"
8
	depends on (ARM_CPU_TOPOLOGY || ARM64) && HAVE_CLK
9 10
	# if CPU_THERMAL is on and THERMAL=m, ARM_BIT_LITTLE_CPUFREQ cannot be =y
	depends on !CPU_THERMAL || THERMAL
11
	select PM_OPP
12 13
	help
	  This enables the Generic CPUfreq driver for ARM big.LITTLE platforms.
14

15 16 17 18 19 20 21 22 23 24 25
config ARM_BRCMSTB_AVS_CPUFREQ
	tristate "Broadcom STB AVS CPUfreq driver"
	depends on ARCH_BRCMSTB || COMPILE_TEST
	default y
	help
	  Some Broadcom STB SoCs use a co-processor running proprietary firmware
	  ("AVS") to handle voltage and frequency scaling. This driver provides
	  a standard CPUfreq interface to to the firmware.

	  Say Y, if you have a Broadcom SoC with AVS support for DFS or DVFS.

26 27 28 29 30 31 32 33 34 35
config ARM_BRCMSTB_AVS_CPUFREQ_DEBUG
	bool "Broadcom STB AVS CPUfreq driver sysfs debug capability"
	depends on ARM_BRCMSTB_AVS_CPUFREQ
	help
	  Enabling this option turns on debug support via sysfs under
	  /sys/kernel/debug/brcmstb-avs-cpufreq. It is possible to read all and
	  write some AVS mailbox registers through sysfs entries.

	  If in doubt, say N.

36
config ARM_DT_BL_CPUFREQ
37 38
	tristate "Generic probing via DT for ARM big LITTLE CPUfreq driver"
	depends on ARM_BIG_LITTLE_CPUFREQ && OF
39
	help
40 41
	  This enables probing via DT for Generic CPUfreq driver for ARM
	  big.LITTLE platform. This gets frequency tables from DT.
42

43 44 45 46 47 48 49
config ARM_VEXPRESS_SPC_CPUFREQ
        tristate "Versatile Express SPC based CPUfreq driver"
	depends on ARM_BIG_LITTLE_CPUFREQ && ARCH_VEXPRESS_SPC
        help
          This add the CPUfreq driver support for Versatile Express
	  big.LITTLE platforms using SPC for power management.

50 51 52 53 54 55 56 57 58 59 60 61 62 63
config ARM_EXYNOS5440_CPUFREQ
	tristate "SAMSUNG EXYNOS5440"
	depends on SOC_EXYNOS5440
	depends on HAVE_CLK && OF
	select PM_OPP
	default y
	help
	  This adds the CPUFreq driver for Samsung EXYNOS5440
	  SoC. The nature of exynos5440 clock controller is
	  different than previous exynos controllers so not using
	  the common exynos framework.

	  If in doubt, say N.

64 65
config ARM_HIGHBANK_CPUFREQ
	tristate "Calxeda Highbank-based"
66
	depends on ARCH_HIGHBANK && CPUFREQ_DT && REGULATOR
67 68 69 70 71 72 73 74
	default m
	help
	  This adds the CPUFreq driver for Calxeda Highbank SoC
	  based boards.

	  If in doubt, say N.

config ARM_IMX6Q_CPUFREQ
75 76
	tristate "Freescale i.MX6 cpufreq support"
	depends on ARCH_MXC
77
	depends on REGULATOR_ANATOP
78
	select PM_OPP
79
	help
80
	  This adds cpufreq driver support for Freescale i.MX6 series SoCs.
81 82 83 84

	  If in doubt, say N.

config ARM_KIRKWOOD_CPUFREQ
85
	def_bool MACH_KIRKWOOD
86 87 88 89
	help
	  This adds the CPUFreq driver for Marvell Kirkwood
	  SoCs.

90 91
config ARM_MEDIATEK_CPUFREQ
	tristate "CPU Frequency scaling support for MediaTek SoCs"
92
	depends on ARCH_MEDIATEK && REGULATOR
93
	depends on !CPU_THERMAL || THERMAL
94 95
	select PM_OPP
	help
96
	  This adds the CPUFreq driver support for MediaTek SoCs.
97

98 99
config ARM_OMAP2PLUS_CPUFREQ
	bool "TI OMAP2+"
100
	depends on ARCH_OMAP2PLUS
101 102
	default ARCH_OMAP2PLUS

103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152
config ARM_S3C_CPUFREQ
	bool
	help
	  Internal configuration node for common cpufreq on Samsung SoC

config ARM_S3C24XX_CPUFREQ
	bool "CPUfreq driver for Samsung S3C24XX series CPUs (EXPERIMENTAL)"
	depends on ARCH_S3C24XX
	select ARM_S3C_CPUFREQ
	help
	  This enables the CPUfreq driver for the Samsung S3C24XX family
	  of CPUs.

	  For details, take a look at <file:Documentation/cpu-freq>.

	  If in doubt, say N.

config ARM_S3C24XX_CPUFREQ_DEBUG
	bool "Debug CPUfreq Samsung driver core"
	depends on ARM_S3C24XX_CPUFREQ
	help
	  Enable s3c_freq_dbg for the Samsung S3C CPUfreq core

config ARM_S3C24XX_CPUFREQ_IODEBUG
	bool "Debug CPUfreq Samsung driver IO timing"
	depends on ARM_S3C24XX_CPUFREQ
	help
	  Enable s3c_freq_iodbg for the Samsung S3C CPUfreq core

config ARM_S3C24XX_CPUFREQ_DEBUGFS
	bool "Export debugfs for CPUFreq"
	depends on ARM_S3C24XX_CPUFREQ && DEBUG_FS
	help
	  Export status information via debugfs.

config ARM_S3C2410_CPUFREQ
	bool
	depends on ARM_S3C24XX_CPUFREQ && CPU_S3C2410
	select S3C2410_CPUFREQ_UTILS
	help
	  CPU Frequency scaling support for S3C2410

config ARM_S3C2412_CPUFREQ
	bool
	depends on ARM_S3C24XX_CPUFREQ && CPU_S3C2412
	default y
	select S3C2412_IOTIMING
	help
	  CPU Frequency scaling support for S3C2412 and S3C2413 SoC CPUs.

153 154 155 156 157 158 159 160
config ARM_S3C2416_CPUFREQ
	bool "S3C2416 CPU Frequency scaling support"
	depends on CPU_S3C2416
	help
	  This adds the CPUFreq driver for the Samsung S3C2416 and
	  S3C2450 SoC. The S3C2416 supports changing the rate of the
	  armdiv clock source and also entering a so called dynamic
	  voltage scaling mode in which it is possible to reduce the
161
	  core voltage of the CPU.
162 163 164 165

	  If in doubt, say N.

config ARM_S3C2416_CPUFREQ_VCORESCALE
166 167
	bool "Allow voltage scaling for S3C2416 arm core"
	depends on ARM_S3C2416_CPUFREQ && REGULATOR
168 169 170 171 172 173 174
	help
	  Enable CPU voltage scaling when entering the dvs mode.
	  It uses information gathered through existing hardware and
	  tests but not documented in any datasheet.

	  If in doubt, say N.

175 176 177 178 179 180 181 182
config ARM_S3C2440_CPUFREQ
	bool "S3C2440/S3C2442 CPU Frequency scaling support"
	depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2440 || CPU_S3C2442)
	select S3C2410_CPUFREQ_UTILS
	default y
	help
	  CPU Frequency scaling support for S3C2440 and S3C2442 SoC CPUs.

183 184 185 186 187 188 189 190 191
config ARM_S3C64XX_CPUFREQ
	bool "Samsung S3C64XX"
	depends on CPU_S3C6410
	default y
	help
	  This adds the CPUFreq driver for Samsung S3C6410 SoC.

	  If in doubt, say N.

192 193 194 195 196 197 198 199 200 201
config ARM_S5PV210_CPUFREQ
	bool "Samsung S5PV210 and S5PC110"
	depends on CPU_S5PV210
	default y
	help
	  This adds the CPUFreq driver for Samsung S5PV210 and
	  S5PC110 SoCs.

	  If in doubt, say N.

202 203 204 205 206 207
config ARM_SA1100_CPUFREQ
	bool

config ARM_SA1110_CPUFREQ
	bool

208 209
config ARM_SCPI_CPUFREQ
        tristate "SCPI based CPUfreq driver"
210
	depends on ARM_BIG_LITTLE_CPUFREQ && ARM_SCPI_PROTOCOL && COMMON_CLK_SCPI
211 212 213 214 215 216 217
        help
	  This adds the CPUfreq driver support for ARM big.LITTLE platforms
	  using SCPI protocol for CPU power management.

	  This driver uses SCPI Message Protocol driver to interact with the
	  firmware providing the CPU DVFS functionality.

218 219 220 221 222 223
config ARM_SPEAR_CPUFREQ
	bool "SPEAr CPUFreq support"
	depends on PLAT_SPEAR
	default y
	help
	  This adds the CPUFreq driver support for SPEAr SOCs.
224

225 226 227 228 229 230 231 232 233 234
config ARM_STI_CPUFREQ
	tristate "STi CPUFreq support"
	depends on SOC_STIH407
	help
	  This driver uses the generic OPP framework to match the running
	  platform with a predefined set of suitable values.  If not provided
	  we will fall-back so safe-values contained in Device Tree.  Enable
	  this config option if you wish to add CPUFreq support for STi based
	  SoCs.

235 236 237 238 239
config ARM_TANGO_CPUFREQ
	bool
	depends on CPUFREQ_DT && ARCH_TANGO
	default y

240 241
config ARM_TEGRA20_CPUFREQ
	bool "Tegra20 CPUFreq support"
242 243 244
	depends on ARCH_TEGRA
	default y
	help
245
	  This adds the CPUFreq driver support for Tegra20 SOCs.
246

247 248
config ARM_TEGRA124_CPUFREQ
	tristate "Tegra124 CPUFreq support"
249
	depends on ARCH_TEGRA && CPUFREQ_DT && REGULATOR
250 251 252 253
	default y
	help
	  This adds the CPUFreq driver support for Tegra124 SOCs.

254 255 256 257 258 259
config ARM_TEGRA186_CPUFREQ
	tristate "Tegra186 CPUFreq support"
	depends on ARCH_TEGRA && TEGRA_BPMP
	help
	  This adds the CPUFreq driver support for Tegra186 SOCs.

260 261 262 263 264 265 266 267 268 269 270
config ARM_TI_CPUFREQ
	bool "Texas Instruments CPUFreq support"
	depends on ARCH_OMAP2PLUS
	help
	  This driver enables valid OPPs on the running platform based on
	  values contained within the SoC in use. Enable this in order to
	  use the cpufreq-dt driver on all Texas Instruments platforms that
	  provide dt based operating-points-v2 tables with opp-supported-hw
	  data provided. Required for cpufreq support on AM335x, AM437x,
	  DRA7x, and AM57x platforms.

271 272 273 274 275 276 277
config ARM_PXA2xx_CPUFREQ
	tristate "Intel PXA2xx CPUfreq driver"
	depends on PXA27x || PXA25x
	help
	  This add the CPUFreq driver support for Intel PXA2xx SOCs.

	  If in doubt, say N.
278 279 280

config ACPI_CPPC_CPUFREQ
	tristate "CPUFreq driver based on the ACPI CPPC spec"
281
	depends on ACPI_PROCESSOR
282 283 284 285 286 287 288 289 290 291 292 293 294
	select ACPI_CPPC_LIB
	default n
	help
	  This adds a CPUFreq driver which uses CPPC methods
	  as described in the ACPIv5.1 spec. CPPC stands for
	  Collaborative Processor Performance Controls. It
	  is based on an abstract continuous scale of CPU
	  performance values which allows the remote power
	  processor to flexibly optimize for power and
	  performance. CPPC relies on power management firmware
	  support for its operation.

	  If in doubt, say N.