Re: [PATCH v1 2/2] pinctrl: Add pinctrl_pm_select_init_state helper function

From: Linus Walleij
Date: Mon Aug 18 2025 - 11:34:32 EST


On Wed, Aug 13, 2025 at 10:13 AM Christian Bruel
<christian.bruel@xxxxxxxxxxx> wrote:

> If a platformm requires an initial pinctrl state during probing, this
> helper function provides the client with access to the same initial
> state.
>
> eg:
> xxx_suspend_noirq
> ...
> pinctrl_pm_select_sleep_state
>
> xxx resume_noirq
> pinctrl_pm_select_init_state
> ...
> pinctrl_pm_select_default_state
>
> Signed-off-by: Christian Bruel <christian.bruel@xxxxxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Björn, just apply this with the other patch so all works fine
in your tree, I don't think it will conflict anything.

Yours,
Linus Walleij