[PATCH v3 04/10] pmdomain: mediatek: Refactor bus protection regmaps retrieval
Sjoerd Simons
sjoerd at collabora.com
Mon Oct 13 06:41:49 PDT 2025
Hey,
On Tue, 2025-08-05 at 09:47 +0200, AngeloGioacchino Del Regno wrote:
> In preparation to add support for new generation SoCs like MT8196,
> MT6991 and other variants, which require to set bus protection on
> different busses than the ones found on legacy chips, and to also
> simplify and reduce memory footprint of this driver, refactor the
> mechanism to retrieve and use the bus protection regmaps.
>
> This is done by removing the three pointers to struct regmap from
> struct scpsys_domain (allocated for each power domain) and moving
> them to the main struct scpsys (allocated per driver instance) as
> an array of pointers to regmap named **bus_prot.
Trying to boot v6.18.0-rc1 on a Genio 700 EVK using the arm64 defconfig,
ends up hanging at boot (seemingly when probing MTU3 and/or mmc, but that
might be a red herring).
Either reverting this patch *or* having CONFIG_MTK_MMSYS builtin rather
then a module seems to solve that.
--
Sjoerd Simons <sjoerd at collabora.com>
More information about the linux-arm-kernel
mailing list