xref: /openbmc/linux/drivers/cpuidle/Kconfig.riscv (revision 173940b3)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# RISC-V CPU Idle drivers
4#
5
6config RISCV_SBI_CPUIDLE
7	bool "RISC-V SBI CPU idle Driver"
8	depends on RISCV_SBI
9	select DT_IDLE_STATES
10	select CPU_IDLE_MULTIPLE_DRIVERS
11	select DT_IDLE_GENPD if PM_GENERIC_DOMAINS_OF
12	help
13	  Select this option to enable RISC-V SBI firmware based CPU idle
14	  driver for RISC-V systems. This drivers also supports hierarchical
15	  DT based layout of the idle state.
16