Re: [PATCH] pinctrl: core: Handling pinmux and pinconf separately

From: Linus Walleij
Date: Wed Mar 10 2021 - 19:02:11 EST


On Wed, Mar 10, 2021 at 9:16 AM Michal Simek <michal.simek@xxxxxxxxxx> wrote:

> Right now the handling order depends on how entries are coming which is
> corresponding with order in DT. We have reached the case with DT overlays
> where conf and mux descriptions are exchanged which ends up in sequence
> that firmware has been asked to perform configuration before requesting the
> pin.
> The patch is enforcing the order that pin is requested all the time first
> followed by pin configuration. This change will ensure that firmware gets
> requests in the right order.
>
> Signed-off-by: Michal Simek <michal.simek@xxxxxxxxxx>

This looks right to me so I simply applied the patch so it gets some
testing in linux-next.

If there are problems on some platform(s) we will get to know.

Yours,
Linus Walleij