drivers/cpuidle/Kconfig.riscv

Source file repositories/reference/linux-study-clean/drivers/cpuidle/Kconfig.riscv

File Facts

System
Linux kernel
Corpus path
drivers/cpuidle/Kconfig.riscv
Extension
.riscv
Size
438 bytes
Lines
16
Domain
Driver Families
Bucket
drivers/cpuidle
Inferred role
Driver Families: drivers/cpuidle
Status
atlas-only

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: GPL-2.0-only
#
# RISC-V CPU Idle drivers
#

config RISCV_SBI_CPUIDLE
	bool "RISC-V SBI CPU idle Driver"
	depends on RISCV_SBI
	select DT_IDLE_STATES
	select CPU_IDLE_MULTIPLE_DRIVERS
	select DT_IDLE_GENPD if PM_GENERIC_DOMAINS_OF
	help
	  Select this option to enable RISC-V SBI firmware based CPU idle
	  driver for RISC-V systems. This drivers also supports hierarchical
	  DT based layout of the idle state.

Annotation

Implementation Notes