]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
pmdomain: sunxi: add H6 PRCM PPU driver
authorAndre Przywara <andre.przywara@arm.com>
Wed, 16 Apr 2025 22:48:37 +0000 (23:48 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 24 Apr 2025 15:47:16 +0000 (17:47 +0200)
commitca677196a91f6869169ef31252c00ceec6ac0754
tree46e37e9a66cc08d8ce502ad339366734bfa6e0fa
parent34f6235428a3793b59f6de93126d835c402134ea
pmdomain: sunxi: add H6 PRCM PPU driver

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>
drivers/pmdomain/sunxi/Kconfig
drivers/pmdomain/sunxi/Makefile
drivers/pmdomain/sunxi/sun50i-h6-prcm-ppu.c [new file with mode: 0644]