[PATCH 0/4] pmdomains: Fixes and add support for HFRP Direct

From: AngeloGioacchino Del Regno

Date: Wed Jul 01 2026 - 08:20:32 EST


This series adds support for the DirectCTL HFRPSYS power domains found
on the MT8196 SoC (the ones without HW Voter support) and also adds a
fix to respect the power domain relationships during error cleanup,
which avoids HW lockups in case probe deferrals in the specific case
of "almost fully probed" power domains (where most of them probed and
got set up but a probe deferral happened almost at the end), behavior
seen on the MT8189 SoC during bringup (but honestly I have no idea how
are the current ones working fine without this fix...!).

This was tested on MT8173, MT8186, MT8188, MT8189, MT8192, MT8195 and
also on MT8196, over months of development, both manually and over CI,
with no regressions detected.

AngeloGioacchino Del Regno (4):
dt-bindings: power: mediatek: Add support for MT8196 direct HFRP
pmdomain: mediatek: Respect PD relationships during error cleanup
pmdomain: mediatek: Add support for Direct CTL simple power sequence
pmdomain: mediatek: Add support for MT8196 HFRP DirectCTL domains

.../power/mediatek,power-controller.yaml | 1 +
drivers/pmdomain/mediatek/mt8196-pm-domains.h | 27 ++++
drivers/pmdomain/mediatek/mtk-pm-domains.c | 134 ++++++++++++++----
drivers/pmdomain/mediatek/mtk-pm-domains.h | 1 +
.../dt-bindings/power/mediatek,mt8196-power.h | 4 +
5 files changed, 141 insertions(+), 26 deletions(-)

--
2.54.0