Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Chen-Yu Tsai and committed by
Ulf Hansson
73254f49 76e43101

+5 -3
+5 -3
drivers/pmdomain/sunxi/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 2 3 3 config SUN20I_PPU 4 - bool "Allwinner D1 PPU power domain driver" 4 + tristate "Allwinner D1 PPU power domain driver" 5 5 depends on ARCH_SUNXI || COMPILE_TEST 6 6 depends on PM 7 + default ARCH_SUNXI 7 8 select PM_GENERIC_DOMAINS 8 9 help 9 - Say y to enable the PPU power domain driver. This saves power 10 - when certain peripherals, such as the video engine, are idle. 10 + Say y to enable the PPU power domain driver. This is required 11 + to enable power to certain peripherals, such as the display 12 + engine. 11 13 12 14 config SUN50I_H6_PRCM_PPU 13 15 tristate "Allwinner H6 PRCM power domain driver"