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

Ulf Hansson ulf.hansson at oss.qualcomm.com
Mon Jul 13 04:06:20 PDT 2026


On Thu, Jul 9, 2026 at 10:46 AM AngeloGioacchino Del Regno
<angelogioacchino.delregno at collabora.com> wrote:
>
> Changes in v3:
>  - Added new Fixes commit for possible null pointer kp during cleanup
>    of internal on-check
>  - Added proper error state cleanup support for SIMPLE_PWRSEQ domains
>
> Changes in v2:
>  - Fixed return value checking in power off path
>
> 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 (5):
>   dt-bindings: power: mediatek: Add support for MT8196 direct HFRP
>   pmdomain: mediatek: Fix possible nullptr KP in HWV cleanup/on-check
>   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    | 184 ++++++++++++++----
>  drivers/pmdomain/mediatek/mtk-pm-domains.h    |   1 +
>  .../dt-bindings/power/mediatek,mt8196-power.h |   4 +
>  5 files changed, 184 insertions(+), 33 deletions(-)
>
> --
> 2.54.0
>

The v3 series applied for next, thanks!

Kind regards
Uffe



More information about the Linux-mediatek mailing list