Kconfig.arm 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # ARM CPU Frequency scaling drivers
  4. #
  5. config ARM_ALLWINNER_SUN50I_CPUFREQ_NVMEM
  6. tristate "Allwinner nvmem based SUN50I CPUFreq driver"
  7. depends on ARCH_SUNXI || COMPILE_TEST
  8. depends on NVMEM_SUNXI_SID
  9. select PM_OPP
  10. help
  11. This adds the nvmem based CPUFreq driver for Allwinner
  12. h6 SoC.
  13. To compile this driver as a module, choose M here: the
  14. module will be called sun50i-cpufreq-nvmem.
  15. config ARM_AIROHA_SOC_CPUFREQ
  16. tristate "Airoha EN7581 SoC CPUFreq support"
  17. depends on ARCH_AIROHA || COMPILE_TEST
  18. depends on OF
  19. select PM_OPP
  20. default ARCH_AIROHA
  21. help
  22. This adds the CPUFreq driver for Airoha EN7581 SoCs.
  23. config ARM_APPLE_SOC_CPUFREQ
  24. tristate "Apple Silicon SoC CPUFreq support"
  25. depends on ARCH_APPLE || (COMPILE_TEST && 64BIT)
  26. select PM_OPP
  27. help
  28. This adds the CPUFreq driver for Apple Silicon machines
  29. (e.g. Apple M1).
  30. config ARM_ARMADA_37XX_CPUFREQ
  31. tristate "Armada 37xx CPUFreq support"
  32. depends on ARCH_MVEBU || COMPILE_TEST
  33. depends on CPUFREQ_DT
  34. help
  35. This adds the CPUFreq driver support for Marvell Armada 37xx SoCs.
  36. The Armada 37xx PMU supports 4 frequency and VDD levels.
  37. config ARM_ARMADA_8K_CPUFREQ
  38. tristate "Armada 8K CPUFreq driver"
  39. depends on ARCH_MVEBU || COMPILE_TEST
  40. depends on CPUFREQ_DT
  41. select ARMADA_AP_CPU_CLK if COMMON_CLK
  42. help
  43. This enables the CPUFreq driver support for Marvell
  44. Armada8k SOCs.
  45. Armada8K device has the AP806 which supports scaling
  46. to any full integer divider.
  47. If in doubt, say N.
  48. config ARM_SCPI_CPUFREQ
  49. tristate "SCPI based CPUfreq driver"
  50. depends on ARM_SCPI_PROTOCOL && COMMON_CLK_SCPI
  51. help
  52. This adds the CPUfreq driver support for ARM platforms using SCPI
  53. protocol for CPU power management.
  54. This driver uses SCPI Message Protocol driver to interact with the
  55. firmware providing the CPU DVFS functionality.
  56. config ARM_VEXPRESS_SPC_CPUFREQ
  57. tristate "Versatile Express SPC based CPUfreq driver"
  58. depends on ARM_CPU_TOPOLOGY && HAVE_CLK
  59. depends on ARCH_VEXPRESS_SPC || COMPILE_TEST
  60. select PM_OPP
  61. help
  62. This add the CPUfreq driver support for Versatile Express
  63. big.LITTLE platforms using SPC for power management.
  64. config ARM_BRCMSTB_AVS_CPUFREQ
  65. tristate "Broadcom STB AVS CPUfreq driver"
  66. depends on (ARCH_BRCMSTB && !ARM_SCMI_CPUFREQ) || COMPILE_TEST
  67. default y if ARCH_BRCMSTB && !ARM_SCMI_CPUFREQ
  68. help
  69. Some Broadcom STB SoCs use a co-processor running proprietary firmware
  70. ("AVS") to handle voltage and frequency scaling. This driver provides
  71. a standard CPUfreq interface to the firmware.
  72. Say Y, if you have a Broadcom SoC with AVS support for DFS or DVFS.
  73. config ARM_HIGHBANK_CPUFREQ
  74. tristate "Calxeda Highbank-based"
  75. depends on ARCH_HIGHBANK || COMPILE_TEST
  76. depends on CPUFREQ_DT && REGULATOR && PL320_MBOX
  77. default m if ARCH_HIGHBANK
  78. help
  79. This adds the CPUFreq driver for Calxeda Highbank SoC
  80. based boards.
  81. If in doubt, say N.
  82. config ARM_IMX6Q_CPUFREQ
  83. tristate "Freescale i.MX6 cpufreq support"
  84. depends on ARCH_MXC
  85. depends on REGULATOR_ANATOP
  86. depends on NVMEM_IMX_OCOTP || COMPILE_TEST
  87. select PM_OPP
  88. help
  89. This adds cpufreq driver support for Freescale i.MX6 series SoCs.
  90. If in doubt, say N.
  91. config ARM_IMX_CPUFREQ_DT
  92. tristate "Freescale i.MX8M cpufreq support"
  93. depends on CPUFREQ_DT
  94. depends on ARCH_MXC || COMPILE_TEST
  95. help
  96. This adds cpufreq driver support for Freescale i.MX7/i.MX8M
  97. series SoCs, based on cpufreq-dt.
  98. If in doubt, say N.
  99. config ARM_KIRKWOOD_CPUFREQ
  100. def_bool MACH_KIRKWOOD
  101. help
  102. This adds the CPUFreq driver for Marvell Kirkwood
  103. SoCs.
  104. config ARM_MEDIATEK_CPUFREQ
  105. tristate "CPU Frequency scaling support for MediaTek SoCs"
  106. depends on ARCH_MEDIATEK || COMPILE_TEST
  107. depends on REGULATOR
  108. select PM_OPP
  109. help
  110. This adds the CPUFreq driver support for MediaTek SoCs.
  111. config ARM_MEDIATEK_CPUFREQ_HW
  112. tristate "MediaTek CPUFreq HW driver"
  113. depends on ARCH_MEDIATEK || COMPILE_TEST
  114. default m if ARCH_MEDIATEK
  115. help
  116. Support for the CPUFreq HW driver.
  117. Some MediaTek chipsets have a HW engine to offload the steps
  118. necessary for changing the frequency of the CPUs. Firmware loaded
  119. in this engine exposes a programming interface to the OS.
  120. The driver implements the cpufreq interface for this HW engine.
  121. Say Y if you want to support CPUFreq HW.
  122. config ARM_QCOM_CPUFREQ_NVMEM
  123. tristate "Qualcomm nvmem based CPUFreq"
  124. depends on ARCH_QCOM || COMPILE_TEST
  125. depends on NVMEM_QCOM_QFPROM
  126. depends on QCOM_SMEM
  127. select PM_OPP
  128. help
  129. This adds the CPUFreq driver for Qualcomm Kryo SoC based boards.
  130. If in doubt, say N.
  131. config ARM_QCOM_CPUFREQ_HW
  132. tristate "QCOM CPUFreq HW driver"
  133. depends on ARCH_QCOM || COMPILE_TEST
  134. depends on COMMON_CLK
  135. help
  136. Support for the CPUFreq HW driver.
  137. Some QCOM chipsets have a HW engine to offload the steps
  138. necessary for changing the frequency of the CPUs. Firmware loaded
  139. in this engine exposes a programming interface to the OS.
  140. The driver implements the cpufreq interface for this HW engine.
  141. Say Y if you want to support CPUFreq HW.
  142. config ARM_RASPBERRYPI_CPUFREQ
  143. tristate "Raspberry Pi cpufreq support"
  144. depends on CLK_RASPBERRYPI || COMPILE_TEST
  145. help
  146. This adds the CPUFreq driver for Raspberry Pi
  147. If in doubt, say N.
  148. config ARM_S3C64XX_CPUFREQ
  149. bool "Samsung S3C64XX"
  150. depends on CPU_S3C6410 || COMPILE_TEST
  151. default CPU_S3C6410
  152. help
  153. This adds the CPUFreq driver for Samsung S3C6410 SoC.
  154. If in doubt, say N.
  155. config ARM_S5PV210_CPUFREQ
  156. bool "Samsung S5PV210 and S5PC110"
  157. depends on CPU_S5PV210 || COMPILE_TEST
  158. default CPU_S5PV210
  159. help
  160. This adds the CPUFreq driver for Samsung S5PV210 and
  161. S5PC110 SoCs.
  162. If in doubt, say N.
  163. config ARM_SA1110_CPUFREQ
  164. bool
  165. config ARM_SCMI_CPUFREQ
  166. tristate "SCMI based CPUfreq driver"
  167. depends on ARM_SCMI_PROTOCOL || COMPILE_TEST
  168. select PM_OPP
  169. help
  170. This adds the CPUfreq driver support for ARM platforms using SCMI
  171. protocol for CPU power management.
  172. This driver uses SCMI Message Protocol driver to interact with the
  173. firmware providing the CPU DVFS functionality.
  174. config ARM_SPEAR_CPUFREQ
  175. bool "SPEAr CPUFreq support"
  176. depends on PLAT_SPEAR || COMPILE_TEST
  177. default PLAT_SPEAR
  178. help
  179. This adds the CPUFreq driver support for SPEAr SOCs.
  180. config ARM_STI_CPUFREQ
  181. tristate "STi CPUFreq support"
  182. depends on CPUFREQ_DT
  183. depends on SOC_STIH407 || COMPILE_TEST
  184. help
  185. This driver uses the generic OPP framework to match the running
  186. platform with a predefined set of suitable values. If not provided
  187. we will fall-back so safe-values contained in Device Tree. Enable
  188. this config option if you wish to add CPUFreq support for STi based
  189. SoCs.
  190. config ARM_TEGRA20_CPUFREQ
  191. tristate "Tegra20/30 CPUFreq support"
  192. depends on ARCH_TEGRA || COMPILE_TEST
  193. depends on CPUFREQ_DT
  194. default ARCH_TEGRA
  195. help
  196. This adds the CPUFreq driver support for Tegra20/30 SOCs.
  197. config ARM_TEGRA124_CPUFREQ
  198. tristate "Tegra124 CPUFreq support"
  199. depends on ARCH_TEGRA || COMPILE_TEST
  200. depends on CPUFREQ_DT
  201. default ARCH_TEGRA
  202. help
  203. This adds the CPUFreq driver support for Tegra124 SOCs.
  204. config ARM_TEGRA186_CPUFREQ
  205. tristate "Tegra186 CPUFreq support"
  206. depends on ARCH_TEGRA || COMPILE_TEST
  207. depends on TEGRA_BPMP
  208. help
  209. This adds the CPUFreq driver support for Tegra186 SOCs.
  210. config ARM_TEGRA194_CPUFREQ
  211. tristate "Tegra194 CPUFreq support"
  212. depends on ARCH_TEGRA_194_SOC || ARCH_TEGRA_234_SOC || (64BIT && COMPILE_TEST)
  213. depends on TEGRA_BPMP
  214. default ARCH_TEGRA_194_SOC || ARCH_TEGRA_234_SOC
  215. help
  216. This adds CPU frequency driver support for Tegra194 SOCs.
  217. config ARM_TI_CPUFREQ
  218. bool "Texas Instruments CPUFreq support"
  219. depends on ARCH_OMAP2PLUS || ARCH_K3 || COMPILE_TEST
  220. default ARCH_OMAP2PLUS || ARCH_K3
  221. help
  222. This driver enables valid OPPs on the running platform based on
  223. values contained within the SoC in use. Enable this in order to
  224. use the cpufreq-dt driver on all Texas Instruments platforms that
  225. provide dt based operating-points-v2 tables with opp-supported-hw
  226. data provided. Required for cpufreq support on AM335x, AM437x,
  227. DRA7x, and AM57x platforms.
  228. config ARM_PXA2xx_CPUFREQ
  229. tristate "Intel PXA2xx CPUfreq driver"
  230. depends on PXA27x || PXA25x || COMPILE_TEST
  231. help
  232. This add the CPUFreq driver support for Intel PXA2xx SOCs.
  233. If in doubt, say N.