riscv: Enable PM_GENERIC_DOMAINS for T-Head SoCs
authorMichal Wilczynski <m.wilczynski@samsung.com>
Tue, 11 Mar 2025 17:19:00 +0000 (18:19 +0100)
committerConor Dooley <conor.dooley@microchip.com>
Mon, 7 Apr 2025 15:51:48 +0000 (16:51 +0100)
commit54fe9380a50b66ff0086e2fd7301e05726d7d98f
tree6ee5e8c5e2627667cc471ca9a1f5e0b9442a93a7
parent0af2f6be1b4281385b618cb86ad946eded089ac8
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 <m.wilczynski@samsung.com>
Reviewed-by: Drew Fustini <drew@pdp7.com>
Acked-by: Drew Fustini <drew@pdp7.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
arch/riscv/Kconfig.socs