Kconfig.arm 9.5 KB

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