Kconfig.arm 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # ARM CPU Frequency scaling drivers
  4. #
  5. config ACPI_CPPC_CPUFREQ
  6. tristate "CPUFreq driver based on the ACPI CPPC spec"
  7. depends on ACPI_PROCESSOR
  8. select ACPI_CPPC_LIB
  9. help
  10. This adds a CPUFreq driver which uses CPPC methods
  11. as described in the ACPIv5.1 spec. CPPC stands for
  12. Collaborative Processor Performance Controls. It
  13. is based on an abstract continuous scale of CPU
  14. performance values which allows the remote power
  15. processor to flexibly optimize for power and
  16. performance. CPPC relies on power management firmware
  17. support for its operation.
  18. If in doubt, say N.
  19. config ACPI_CPPC_CPUFREQ_FIE
  20. bool "Frequency Invariance support for CPPC cpufreq driver"
  21. depends on ACPI_CPPC_CPUFREQ && GENERIC_ARCH_TOPOLOGY
  22. default y
  23. help
  24. This extends frequency invariance support in the CPPC cpufreq driver,
  25. by using CPPC delivered and reference performance counters.
  26. If in doubt, say N.
  27. config ARM_ALLWINNER_SUN50I_CPUFREQ_NVMEM
  28. tristate "Allwinner nvmem based SUN50I CPUFreq driver"
  29. depends on ARCH_SUNXI
  30. depends on NVMEM_SUNXI_SID
  31. select PM_OPP
  32. help
  33. This adds the nvmem based CPUFreq driver for Allwinner
  34. h6 SoC.
  35. To compile this driver as a module, choose M here: the
  36. module will be called sun50i-cpufreq-nvmem.
  37. config ARM_ARMADA_37XX_CPUFREQ
  38. tristate "Armada 37xx CPUFreq support"
  39. depends on ARCH_MVEBU && CPUFREQ_DT
  40. help
  41. This adds the CPUFreq driver support for Marvell Armada 37xx SoCs.
  42. The Armada 37xx PMU supports 4 frequency and VDD levels.
  43. config ARM_ARMADA_8K_CPUFREQ
  44. tristate "Armada 8K CPUFreq driver"
  45. depends on ARCH_MVEBU && CPUFREQ_DT
  46. select ARMADA_AP_CPU_CLK
  47. help
  48. This enables the CPUFreq driver support for Marvell
  49. Armada8k SOCs.
  50. Armada8K device has the AP806 which supports scaling
  51. to any full integer divider.
  52. If in doubt, say N.
  53. config ARM_SCPI_CPUFREQ
  54. tristate "SCPI based CPUfreq driver"
  55. depends on ARM_SCPI_PROTOCOL && COMMON_CLK_SCPI
  56. help
  57. This adds the CPUfreq driver support for ARM platforms using SCPI
  58. protocol for CPU power management.
  59. This driver uses SCPI Message Protocol driver to interact with the
  60. firmware providing the CPU DVFS functionality.
  61. config ARM_VEXPRESS_SPC_CPUFREQ
  62. tristate "Versatile Express SPC based CPUfreq driver"
  63. depends on ARM_CPU_TOPOLOGY && HAVE_CLK
  64. depends on ARCH_VEXPRESS_SPC
  65. select PM_OPP
  66. help
  67. This add the CPUfreq driver support for Versatile Express
  68. big.LITTLE platforms using SPC for power management.
  69. config ARM_BRCMSTB_AVS_CPUFREQ
  70. tristate "Broadcom STB AVS CPUfreq driver"
  71. depends on ARCH_BRCMSTB || COMPILE_TEST
  72. default y
  73. help
  74. Some Broadcom STB SoCs use a co-processor running proprietary firmware
  75. ("AVS") to handle voltage and frequency scaling. This driver provides
  76. a standard CPUfreq interface to to the firmware.
  77. Say Y, if you have a Broadcom SoC with AVS support for DFS or DVFS.
  78. config ARM_HIGHBANK_CPUFREQ
  79. tristate "Calxeda Highbank-based"
  80. depends on ARCH_HIGHBANK && CPUFREQ_DT && REGULATOR
  81. default m
  82. help
  83. This adds the CPUFreq driver for Calxeda Highbank SoC
  84. based boards.
  85. If in doubt, say N.
  86. config ARM_IMX6Q_CPUFREQ
  87. tristate "Freescale i.MX6 cpufreq support"
  88. depends on ARCH_MXC
  89. depends on REGULATOR_ANATOP
  90. depends on NVMEM_IMX_OCOTP || COMPILE_TEST
  91. select PM_OPP
  92. help
  93. This adds cpufreq driver support for Freescale i.MX6 series SoCs.
  94. If in doubt, say N.
  95. config ARM_IMX_CPUFREQ_DT
  96. tristate "Freescale i.MX8M cpufreq support"
  97. depends on ARCH_MXC && CPUFREQ_DT
  98. help
  99. This adds cpufreq driver support for Freescale i.MX8M series SoCs,
  100. based on cpufreq-dt.
  101. If in doubt, say N.
  102. config ARM_KIRKWOOD_CPUFREQ
  103. def_bool MACH_KIRKWOOD
  104. help
  105. This adds the CPUFreq driver for Marvell Kirkwood
  106. SoCs.
  107. config ARM_MEDIATEK_CPUFREQ
  108. tristate "CPU Frequency scaling support for MediaTek SoCs"
  109. depends on ARCH_MEDIATEK && REGULATOR
  110. select PM_OPP
  111. help
  112. This adds the CPUFreq driver support for MediaTek SoCs.
  113. config ARM_MEDIATEK_CPUFREQ_HW
  114. tristate "MediaTek CPUFreq HW driver"
  115. depends on ARCH_MEDIATEK || COMPILE_TEST
  116. default m
  117. help
  118. Support for the CPUFreq HW driver.
  119. Some MediaTek chipsets have a HW engine to offload the steps
  120. necessary for changing the frequency of the CPUs. Firmware loaded
  121. in this engine exposes a programming interface to the OS.
  122. The driver implements the cpufreq interface for this HW engine.
  123. Say Y if you want to support CPUFreq HW.
  124. config ARM_OMAP2PLUS_CPUFREQ
  125. bool "TI OMAP2+"
  126. depends on ARCH_OMAP2PLUS
  127. default ARCH_OMAP2PLUS
  128. config ARM_QCOM_CPUFREQ_NVMEM
  129. tristate "Qualcomm nvmem based CPUFreq"
  130. depends on ARCH_QCOM
  131. depends on NVMEM_QCOM_QFPROM
  132. depends on QCOM_SMEM
  133. select PM_OPP
  134. help
  135. This adds the CPUFreq driver for Qualcomm Kryo SoC based boards.
  136. If in doubt, say N.
  137. config ARM_QCOM_CPUFREQ_HW
  138. tristate "QCOM CPUFreq HW driver"
  139. depends on ARCH_QCOM || COMPILE_TEST
  140. help
  141. Support for the CPUFreq HW driver.
  142. Some QCOM chipsets have a HW engine to offload the steps
  143. necessary for changing the frequency of the CPUs. Firmware loaded
  144. in this engine exposes a programming interface to the OS.
  145. The driver implements the cpufreq interface for this HW engine.
  146. Say Y if you want to support CPUFreq HW.
  147. config ARM_QCOM_CPUFREQ_HW_DEBUG
  148. tristate "QCOM CPUFreq HW debug"
  149. depends on ARM_QCOM_CPUFREQ_HW
  150. help
  151. Support for the CPUFreq HW debug.
  152. CPUFreq HW debug provide the support to print the CPUFreq HW debug
  153. registers.
  154. Say Y if you want to support CPUFreq HW Debug.
  155. config ARM_RASPBERRYPI_CPUFREQ
  156. tristate "Raspberry Pi cpufreq support"
  157. depends on CLK_RASPBERRYPI || COMPILE_TEST
  158. help
  159. This adds the CPUFreq driver for Raspberry Pi
  160. If in doubt, say N.
  161. config ARM_S3C_CPUFREQ
  162. bool
  163. help
  164. Internal configuration node for common cpufreq on Samsung SoC
  165. config ARM_S3C24XX_CPUFREQ
  166. bool "CPUfreq driver for Samsung S3C24XX series CPUs (EXPERIMENTAL)"
  167. depends on ARCH_S3C24XX
  168. select ARM_S3C_CPUFREQ
  169. help
  170. This enables the CPUfreq driver for the Samsung S3C24XX family
  171. of CPUs.
  172. For details, take a look at <file:Documentation/cpu-freq>.
  173. If in doubt, say N.
  174. config ARM_S3C24XX_CPUFREQ_DEBUG
  175. bool "Debug CPUfreq Samsung driver core"
  176. depends on ARM_S3C24XX_CPUFREQ
  177. help
  178. Enable s3c_freq_dbg for the Samsung S3C CPUfreq core
  179. config ARM_S3C24XX_CPUFREQ_IODEBUG
  180. bool "Debug CPUfreq Samsung driver IO timing"
  181. depends on ARM_S3C24XX_CPUFREQ
  182. help
  183. Enable s3c_freq_iodbg for the Samsung S3C CPUfreq core
  184. config ARM_S3C24XX_CPUFREQ_DEBUGFS
  185. bool "Export debugfs for CPUFreq"
  186. depends on ARM_S3C24XX_CPUFREQ && DEBUG_FS
  187. help
  188. Export status information via debugfs.
  189. config ARM_S3C2410_CPUFREQ
  190. bool
  191. depends on ARM_S3C24XX_CPUFREQ && CPU_S3C2410
  192. help
  193. CPU Frequency scaling support for S3C2410
  194. config ARM_S3C2412_CPUFREQ
  195. bool
  196. depends on ARM_S3C24XX_CPUFREQ && CPU_S3C2412
  197. default y
  198. select S3C2412_IOTIMING
  199. help
  200. CPU Frequency scaling support for S3C2412 and S3C2413 SoC CPUs.
  201. config ARM_S3C2416_CPUFREQ
  202. bool "S3C2416 CPU Frequency scaling support"
  203. depends on CPU_S3C2416
  204. help
  205. This adds the CPUFreq driver for the Samsung S3C2416 and
  206. S3C2450 SoC. The S3C2416 supports changing the rate of the
  207. armdiv clock source and also entering a so called dynamic
  208. voltage scaling mode in which it is possible to reduce the
  209. core voltage of the CPU.
  210. If in doubt, say N.
  211. config ARM_S3C2416_CPUFREQ_VCORESCALE
  212. bool "Allow voltage scaling for S3C2416 arm core"
  213. depends on ARM_S3C2416_CPUFREQ && REGULATOR
  214. 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. If in doubt, say N.
  219. config ARM_S3C2440_CPUFREQ
  220. bool "S3C2440/S3C2442 CPU Frequency scaling support"
  221. depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2440 || CPU_S3C2442)
  222. default y
  223. help
  224. CPU Frequency scaling support for S3C2440 and S3C2442 SoC CPUs.
  225. config ARM_S3C64XX_CPUFREQ
  226. bool "Samsung S3C64XX"
  227. depends on CPU_S3C6410
  228. default y
  229. help
  230. This adds the CPUFreq driver for Samsung S3C6410 SoC.
  231. If in doubt, say N.
  232. config ARM_S5PV210_CPUFREQ
  233. bool "Samsung S5PV210 and S5PC110"
  234. depends on CPU_S5PV210
  235. default y
  236. help
  237. This adds the CPUFreq driver for Samsung S5PV210 and
  238. S5PC110 SoCs.
  239. If in doubt, say N.
  240. config ARM_SA1100_CPUFREQ
  241. bool
  242. config ARM_SA1110_CPUFREQ
  243. bool
  244. config ARM_SCMI_CPUFREQ
  245. tristate "SCMI based CPUfreq driver"
  246. depends on ARM_SCMI_PROTOCOL || COMPILE_TEST
  247. select PM_OPP
  248. help
  249. This adds the CPUfreq driver support for ARM platforms using SCMI
  250. protocol for CPU power management.
  251. This driver uses SCMI Message Protocol driver to interact with the
  252. firmware providing the CPU DVFS functionality.
  253. config ARM_SPEAR_CPUFREQ
  254. bool "SPEAr CPUFreq support"
  255. depends on PLAT_SPEAR
  256. default y
  257. help
  258. This adds the CPUFreq driver support for SPEAr SOCs.
  259. config ARM_STI_CPUFREQ
  260. tristate "STi CPUFreq support"
  261. depends on CPUFREQ_DT && SOC_STIH407
  262. help
  263. This driver uses the generic OPP framework to match the running
  264. platform with a predefined set of suitable values. If not provided
  265. we will fall-back so safe-values contained in Device Tree. Enable
  266. this config option if you wish to add CPUFreq support for STi based
  267. SoCs.
  268. config ARM_TEGRA20_CPUFREQ
  269. tristate "Tegra20/30 CPUFreq support"
  270. depends on ARCH_TEGRA && CPUFREQ_DT
  271. default y
  272. help
  273. This adds the CPUFreq driver support for Tegra20/30 SOCs.
  274. config ARM_TEGRA124_CPUFREQ
  275. bool "Tegra124 CPUFreq support"
  276. depends on ARCH_TEGRA && CPUFREQ_DT
  277. default y
  278. help
  279. This adds the CPUFreq driver support for Tegra124 SOCs.
  280. config ARM_TEGRA186_CPUFREQ
  281. tristate "Tegra186 CPUFreq support"
  282. depends on ARCH_TEGRA && TEGRA_BPMP
  283. help
  284. This adds the CPUFreq driver support for Tegra186 SOCs.
  285. config ARM_TEGRA194_CPUFREQ
  286. tristate "Tegra194 CPUFreq support"
  287. depends on ARCH_TEGRA_194_SOC && TEGRA_BPMP
  288. default y
  289. help
  290. This adds CPU frequency driver support for Tegra194 SOCs.
  291. config ARM_TI_CPUFREQ
  292. bool "Texas Instruments CPUFreq support"
  293. depends on ARCH_OMAP2PLUS
  294. default ARCH_OMAP2PLUS
  295. help
  296. This driver enables valid OPPs on the running platform based on
  297. values contained within the SoC in use. Enable this in order to
  298. use the cpufreq-dt driver on all Texas Instruments platforms that
  299. provide dt based operating-points-v2 tables with opp-supported-hw
  300. data provided. Required for cpufreq support on AM335x, AM437x,
  301. DRA7x, and AM57x platforms.
  302. config ARM_PXA2xx_CPUFREQ
  303. tristate "Intel PXA2xx CPUfreq driver"
  304. depends on PXA27x || PXA25x
  305. help
  306. This add the CPUFreq driver support for Intel PXA2xx SOCs.
  307. If in doubt, say N.