mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 11:33:36 -04:00
The Allwinner Power Reset Clock Management (RPCM) block contains a few bits that control some power domains. The most prominent one is the one for the Mali GPU. On the Allwinner H6 this domain is enabled at reset, so we didn't care about it so far, but the H616 defaults to it being disabled. Add a power domain driver for those bits. Some BSP code snippets and some spare documentation describe three bits, slightly different between the H6 and H616, so add three power domains for each SoC, connected to their compatible string. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Link: https://lore.kernel.org/r/20250416224839.9840-3-andre.przywara@arm.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
21 lines
642 B
Plaintext
21 lines
642 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
config SUN20I_PPU
|
|
bool "Allwinner D1 PPU power domain driver"
|
|
depends on ARCH_SUNXI || COMPILE_TEST
|
|
depends on PM
|
|
select PM_GENERIC_DOMAINS
|
|
help
|
|
Say y to enable the PPU power domain driver. This saves power
|
|
when certain peripherals, such as the video engine, are idle.
|
|
|
|
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.
|