Kconfig.arm 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # ARM CPU Idle drivers
  4. #
  5. config ARM_CPUIDLE
  6. bool "Generic ARM CPU idle Driver"
  7. depends on ARM
  8. select DT_IDLE_STATES
  9. select CPU_IDLE_MULTIPLE_DRIVERS
  10. help
  11. Select this to enable generic cpuidle driver for ARM.
  12. It provides a generic idle driver whose idle states are configured
  13. at run-time through DT nodes. The CPUidle suspend backend is
  14. initialized by calling the CPU operations init idle hook
  15. provided by architecture code.
  16. config ARM_PSCI_CPUIDLE
  17. bool "PSCI CPU idle Driver"
  18. depends on ARM_PSCI_FW
  19. select DT_IDLE_STATES
  20. select CPU_IDLE_MULTIPLE_DRIVERS
  21. help
  22. Select this to enable PSCI firmware based CPUidle driver for ARM.
  23. It provides an idle driver that is capable of detecting and
  24. managing idle states through the PSCI firmware interface.
  25. The driver has limitations when used with PREEMPT_RT:
  26. - If the idle states are described with the non-hierarchical layout,
  27. all idle states are still available.
  28. - If the idle states are described with the hierarchical layout,
  29. only the idle states defined per CPU are available, but not the ones
  30. being shared among a group of CPUs (aka cluster idle states).
  31. config ARM_PSCI_CPUIDLE_DOMAIN
  32. bool "PSCI CPU idle Domain"
  33. depends on ARM_PSCI_CPUIDLE
  34. depends on PM_GENERIC_DOMAINS_OF
  35. select DT_IDLE_GENPD
  36. default y
  37. help
  38. Select this to enable the PSCI based CPUidle driver to use PM domains,
  39. which is needed to support the hierarchical DT based layout of the
  40. idle states.
  41. config ARM_BIG_LITTLE_CPUIDLE
  42. bool "Support for ARM big.LITTLE processors"
  43. depends on ARCH_VEXPRESS_TC2_PM || ARCH_EXYNOS || COMPILE_TEST
  44. depends on MCPM && !ARM64
  45. select ARM_CPU_SUSPEND
  46. select CPU_IDLE_MULTIPLE_DRIVERS
  47. select DT_IDLE_STATES
  48. help
  49. Select this option to enable CPU idle driver for big.LITTLE based
  50. ARM systems. Driver manages CPUs coordination through MCPM and
  51. define different C-states for little and big cores through the
  52. multiple CPU idle drivers infrastructure.
  53. config ARM_CLPS711X_CPUIDLE
  54. bool "CPU Idle Driver for CLPS711X processors"
  55. depends on ARCH_CLPS711X && !ARM64 || COMPILE_TEST
  56. help
  57. Select this to enable cpuidle on Cirrus Logic CLPS711X SOCs.
  58. config ARM_HIGHBANK_CPUIDLE
  59. bool "CPU Idle Driver for Calxeda processors"
  60. depends on ARM_PSCI && !ARM64
  61. select ARM_CPU_SUSPEND
  62. help
  63. Select this to enable cpuidle on Calxeda processors.
  64. config ARM_KIRKWOOD_CPUIDLE
  65. bool "CPU Idle Driver for Marvell Kirkwood SoCs"
  66. depends on (MACH_KIRKWOOD || COMPILE_TEST) && !ARM64
  67. help
  68. This adds the CPU Idle driver for Marvell Kirkwood SoCs.
  69. config ARM_ZYNQ_CPUIDLE
  70. bool "CPU Idle Driver for Xilinx Zynq processors"
  71. depends on (ARCH_ZYNQ || COMPILE_TEST) && !ARM64
  72. help
  73. Select this to enable cpuidle on Xilinx Zynq processors.
  74. config ARM_U8500_CPUIDLE
  75. bool "Cpu Idle Driver for the ST-E u8500 processors"
  76. depends on ARCH_U8500 && !ARM64
  77. help
  78. Select this to enable cpuidle for ST-E u8500 processors.
  79. config ARM_AT91_CPUIDLE
  80. bool "Cpu Idle Driver for the AT91 processors"
  81. default y
  82. depends on (ARCH_AT91 || COMPILE_TEST) && !ARM64
  83. help
  84. Select this to enable cpuidle for AT91 processors.
  85. config ARM_EXYNOS_CPUIDLE
  86. bool "Cpu Idle Driver for the Exynos processors"
  87. depends on (ARCH_EXYNOS || COMPILE_TEST) && !ARM64
  88. select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
  89. help
  90. Select this to enable cpuidle for Exynos processors.
  91. config ARM_MVEBU_V7_CPUIDLE
  92. bool "CPU Idle Driver for mvebu v7 family processors"
  93. depends on (ARCH_MVEBU || COMPILE_TEST) && !ARM64
  94. help
  95. Select this to enable cpuidle on Armada 370, 38x and XP processors.
  96. config ARM_TEGRA_CPUIDLE
  97. bool "CPU Idle Driver for NVIDIA Tegra SoCs"
  98. depends on (ARCH_TEGRA || COMPILE_TEST) && !ARM64 && MMU
  99. depends on ARCH_SUSPEND_POSSIBLE
  100. select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
  101. select ARM_CPU_SUSPEND
  102. help
  103. Select this to enable cpuidle for NVIDIA Tegra20/30/114/124 SoCs.
  104. config ARM_QCOM_SPM_CPUIDLE
  105. bool "CPU Idle Driver for Qualcomm Subsystem Power Manager (SPM)"
  106. depends on (ARCH_QCOM || COMPILE_TEST) && !ARM64 && MMU
  107. depends on ARCH_SUSPEND_POSSIBLE
  108. select ARM_CPU_SUSPEND
  109. select CPU_IDLE_MULTIPLE_DRIVERS
  110. select DT_IDLE_STATES
  111. select QCOM_SCM
  112. select QCOM_SPM
  113. help
  114. Select this to enable cpuidle for Qualcomm processors.
  115. The Subsystem Power Manager (SPM) controls low power modes for the
  116. CPU and L2 cores. It interface with various system drivers to put
  117. the cores in low power modes.