ACPI: RISC-V: Add CPPC driver
authorSunil V L <sunilvl@ventanamicro.com>
Thu, 8 Feb 2024 03:44:12 +0000 (09:14 +0530)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 20 Mar 2024 01:30:54 +0000 (18:30 -0700)
commit30f3ffbee86b576705aabdd9093165a49cd66011
treebe9a17ec30e9dcc4315b86d55985085c6443f9ec
parent359df7c5be4ba5c57f641010be7237ad9f09ea53
ACPI: RISC-V: Add CPPC driver

Add cpufreq driver based on ACPI CPPC for RISC-V. The driver uses either
SBI CPPC interfaces or the CSRs to access the CPPC registers as defined
by the RISC-V FFH spec.

Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Reviewed-by: Pierre Gondois <pierre.gondois@arm.com>
Acked-by: Rafael J. Wysocki <rafael@kernel.org>
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/20240208034414.22579-2-sunilvl@ventanamicro.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
drivers/acpi/riscv/Makefile
drivers/acpi/riscv/cppc.c [new file with mode: 0644]