mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-30 13:03:01 +00:00

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>
34 lines
1013 B
Plaintext
34 lines
1013 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
config SUN20I_PPU
|
|
tristate "Allwinner D1 PPU power domain driver"
|
|
depends on ARCH_SUNXI || COMPILE_TEST
|
|
depends on PM
|
|
default ARCH_SUNXI
|
|
select PM_GENERIC_DOMAINS
|
|
help
|
|
Say y to enable the PPU power domain driver. This is required
|
|
to enable power to certain peripherals, such as the display
|
|
engine.
|
|
|
|
config SUN50I_H6_PRCM_PPU
|
|
tristate "Allwinner H6 PRCM power domain driver"
|
|
depends on ARCH_SUNXI || COMPILE_TEST
|
|
depends on PM
|
|
select PM_GENERIC_DOMAINS
|
|
help
|
|
Say y to enable the Allwinner H6/H616 PRCM power domain driver.
|
|
This is required to enable the Mali GPU in the H616 SoC, it is
|
|
optional for the H6.
|
|
|
|
config SUN55I_PCK600
|
|
tristate "Allwinner A523 PCK-600 power domain driver"
|
|
depends on ARCH_SUNXI || COMPILE_TEST
|
|
depends on PM
|
|
default ARCH_SUNXI
|
|
select PM_GENERIC_DOMAINS
|
|
help
|
|
Say y to enable the PCK-600 power domain driver. This is required
|
|
to enable power to certain peripherals, such as the display and
|
|
video engines.
|