Skip to content

Commit 54fe938

Browse files
Michal WilczynskiConchuOD
authored andcommitted
riscv: Enable PM_GENERIC_DOMAINS for T-Head SoCs
T-Head SoCs feature separate power domains (power islands) for major components like the GPU, Audio, and NPU. To manage the power states of these components effectively, the kernel requires generic power domain support. This commit enables `CONFIG_PM_GENERIC_DOMAINS` for T-Head SoCs, allowing the power domain driver for these components to be compiled and integrated. This ensures proper power management and energy efficiency on T-Head platforms. By selecting `PM_GENERIC_DOMAINS`, we provide the necessary framework for the power domain drivers to function correctly on RISC-V architecture with T-Head SoCs. Signed-off-by: Michal Wilczynski <[email protected]> Reviewed-by: Drew Fustini <[email protected]> Acked-by: Drew Fustini <[email protected]> Signed-off-by: Conor Dooley <[email protected]>
1 parent 0af2f6b commit 54fe938

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/riscv/Kconfig.socs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ config ARCH_THEAD
5454
bool "T-HEAD RISC-V SoCs"
5555
depends on MMU && !XIP_KERNEL
5656
select ERRATA_THEAD
57+
select PM_GENERIC_DOMAINS if PM
5758
help
5859
This enables support for the RISC-V based T-HEAD SoCs.
5960

0 commit comments

Comments
 (0)