cpuidle: Factor-out power domain related code from PSCI domain driver
authorAnup Patel <anup.patel@wdc.com>
Thu, 10 Feb 2022 05:49:44 +0000 (11:19 +0530)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 10 Mar 2022 17:29:44 +0000 (09:29 -0800)
commit9d976d6721dfb525b81ce981e1363c70c0975aab
tree2607ced4361d162f1c624c6b44e039ca9a8cd89f
parentb8200905e48891b4a3134b47f35c730347135eed
cpuidle: Factor-out power domain related code from PSCI domain driver

The generic power domain related code in PSCI domain driver is largely
independent of PSCI and can be shared with RISC-V SBI domain driver
hence we factor-out this code into dt_idle_genpd.c and dt_idle_genpd.h.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
MAINTAINERS
drivers/cpuidle/Kconfig
drivers/cpuidle/Kconfig.arm
drivers/cpuidle/Makefile
drivers/cpuidle/cpuidle-psci-domain.c
drivers/cpuidle/cpuidle-psci.h
drivers/cpuidle/dt_idle_genpd.c [new file with mode: 0644]
drivers/cpuidle/dt_idle_genpd.h [new file with mode: 0644]