Re: [PATCH 0/3] ARM: dts: at91: add pincontrol node for USB Host

From: Alexandre Belloni
Date: Wed Nov 18 2020 - 10:26:57 EST


Hello,

On 18/11/2020 16:03:36+0100, Ludovic Desroches wrote:
> At first glance, there is no trivial way to register the pin range in the
> pinctrl-at91 driver. There is one driver for the pinctrl and one for the gpio.
> I am open to suggestions to fix it in the pinctrl-at91 driver as well if there
> is an elegant way (I have some in mind, but there are not) without having to
> refactor the driver.
>

But shouldn't that driver be refactored at some point anyway? I know you
are moving away with new SoCs but it causes real issues. For example,
gpio hogs are not working, this is impacting some of your customers.

The other thing is the weird probe order preventing a nice cleanup of
the platform code.


--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com