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

From: Linus Walleij
Date: Mon Aug 18 2025 - 11:35:42 EST


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

> Some platforms need to set the pinctrl to an initial state during
> pm_resume, just like during probe. To achieve this, the missing function
> pinctrl_pm_select_init_state() is added to the list of already existing
> pinctrl PM helper functions.
>
> This allows a driver to use the pinctrl init and default states in the
> pm_runtime platform resume handlers, just as in probe.
>
> Additionally the missing documentation describing these pinctrl standard
> states used during probe has been added.
>
> This fixes a build issue for the STM32MP25 PCIe staged in the pcie tree,
> id 5a972a01e24b

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

Björn: Just apply this to the PCI tree.

Yours,
Linus Walleij