Re: [PATCH 4/7] driver core: fix automatic pinctrl management
From: Linus Walleij
Date: Tue May 30 2017 - 20:39:52 EST
On Tue, May 30, 2017 at 6:25 PM, Johan Hovold <johan@xxxxxxxxxx> wrote:
> Commit ab78029ecc34 ("drivers/pinctrl: grab default handles from device
> core") added automatic pin-control management to driver core by looking
> up and setting any default pinctrl state found in device tree while a
> device is being probed.
Actually we do not just support device tree, but also passing pin control
states from board files. It is handled by the core all the same.
So it's not a device tree thing.
One of those days we will have ACPI passing state tables too...
But I understand what you mean.
> Fix this by checking the new of_node_reused flag and skipping automatic
> pinctrl configuration during probe if set.
Seems like a solid idea. I hope we don't need another quirk for ACPI.
Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
Yours,
Linus Walleij