Re: [PATCH] pmdomain: core: connect consumer with supplier via device link

From: Yixun Lan

Date: Mon Nov 16 2026 - 02:24:48 EST


Hi Ulf,

On 12:33 Sat 14 Nov , Ulf Hansson wrote:
> On Thu, Nov 12, 2026 at 8:45 AM Yixun Lan <dlan@xxxxxxxxxx> wrote:
> >
> > Connect downstream Power Domain consumer with the supplier through
> > the device link API, So when the pmdomain driver is unloaded or unbinded,
> > the consumer can be automatically notified and purged gracefully.
> >
> > Signed-off-by: Yixun Lan <dlan@xxxxxxxxxx>
>
> Can you check if the below commit that sits on my fixes branch solves
> this problem for you?
>
No, I've cherry-picked below commit and it does not solve my issue,
it's a different problem.

Problem here is the pm consumer side isn't aware pm driver is removed.

> e279833a5362 pmdomain: core: Wait for device link removals before
> dropping genpd->dev
>
> Kind regards
> Uffe
>

--
Yixun Lan (dlan)