aboutsummaryrefslogtreecommitdiff
path: root/drivers/cpuidle/Makefile
diff options
context:
space:
mode:
authorGravatar Anup Patel <anup.patel@wdc.com> 2022-02-10 11:19:45 +0530
committerGravatar Palmer Dabbelt <palmer@rivosinc.com> 2022-03-10 09:29:51 -0800
commit6abf32f1d9c5009dcccded2c1e7ca899a4ab587b (patch)
tree98d2fa09e7351cba6dcd307277180e29568ddef7 /drivers/cpuidle/Makefile
parentcpuidle: Factor-out power domain related code from PSCI domain driver (diff)
downloadlinux-6abf32f1d9c5009dcccded2c1e7ca899a4ab587b.tar.gz
linux-6abf32f1d9c5009dcccded2c1e7ca899a4ab587b.tar.bz2
linux-6abf32f1d9c5009dcccded2c1e7ca899a4ab587b.zip
cpuidle: Add RISC-V SBI CPU idle driver
The RISC-V SBI HSM extension provides HSM suspend call which can be used by Linux RISC-V to enter platform specific low-power state. This patch adds a CPU idle driver based on RISC-V SBI calls which will populate idle states from device tree and use SBI calls to entry these idle states. Signed-off-by: Anup Patel <anup.patel@wdc.com> Signed-off-by: Anup Patel <apatel@ventanamicro.com> Acked-by: Atish Patra <atishp@rivosinc.com> Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'drivers/cpuidle/Makefile')
-rw-r--r--drivers/cpuidle/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/cpuidle/Makefile b/drivers/cpuidle/Makefile
index 11a26cef279f..d103342b7cfc 100644
--- a/drivers/cpuidle/Makefile
+++ b/drivers/cpuidle/Makefile
@@ -35,3 +35,7 @@ obj-$(CONFIG_MIPS_CPS_CPUIDLE) += cpuidle-cps.o
# POWERPC drivers
obj-$(CONFIG_PSERIES_CPUIDLE) += cpuidle-pseries.o
obj-$(CONFIG_POWERNV_CPUIDLE) += cpuidle-powernv.o
+
+###############################################################################
+# RISC-V drivers
+obj-$(CONFIG_RISCV_SBI_CPUIDLE) += cpuidle-riscv-sbi.o