pmdomain: sunxi: sun20i-ppu: change to tristate and enable for ARCH_SUNXI

There is no reason why the sun20i-ppu cannot be built as a module. So
change it to tristate.

Also enable it by default for ARCH_SUNXI since this driver is required
for some peripherals to work, and update the help text to reflect this
requirement.

This aligns it with the new PCK-600 driver.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Link: https://lore.kernel.org/r/20250712074021.805953-5-wens@kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
Chen-Yu Tsai 2025-07-12 15:40:20 +08:00 committed by Ulf Hansson
parent 76e4310115
commit 73254f4916
1 changed files with 5 additions and 3 deletions

View File

@ -1,13 +1,15 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
config SUN20I_PPU config SUN20I_PPU
bool "Allwinner D1 PPU power domain driver" tristate "Allwinner D1 PPU power domain driver"
depends on ARCH_SUNXI || COMPILE_TEST depends on ARCH_SUNXI || COMPILE_TEST
depends on PM depends on PM
default ARCH_SUNXI
select PM_GENERIC_DOMAINS select PM_GENERIC_DOMAINS
help help
Say y to enable the PPU power domain driver. This saves power Say y to enable the PPU power domain driver. This is required
when certain peripherals, such as the video engine, are idle. to enable power to certain peripherals, such as the display
engine.
config SUN50I_H6_PRCM_PPU config SUN50I_H6_PRCM_PPU
tristate "Allwinner H6 PRCM power domain driver" tristate "Allwinner H6 PRCM power domain driver"