Kconfig.arm 7.8 KB

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