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