Skip to content

Commit 73254f4

Browse files
wensUlf Hansson
authored andcommitted
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>
1 parent 76e4310 commit 73254f4

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

drivers/pmdomain/sunxi/Kconfig

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22

33
config SUN20I_PPU
4-
bool "Allwinner D1 PPU power domain driver"
4+
tristate "Allwinner D1 PPU power domain driver"
55
depends on ARCH_SUNXI || COMPILE_TEST
66
depends on PM
7+
default ARCH_SUNXI
78
select PM_GENERIC_DOMAINS
89
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.
1113

1214
config SUN50I_H6_PRCM_PPU
1315
tristate "Allwinner H6 PRCM power domain driver"

0 commit comments

Comments
 (0)