Re: [PATCH] sh: select legacy gpiolib interface

From: John Paul Adrian Glaubitz

Date: Tue Apr 28 2026 - 12:36:53 EST


Hi Arnd,

On Tue, 2026-04-28 at 18:20 +0200, Arnd Bergmann wrote:
> On Tue, Apr 28, 2026, at 18:08, John Paul Adrian Glaubitz wrote:
> > On Tue, 2026-04-28 at 17:55 +0200, Arnd Bergmann wrote:
>
> > Thanks, this looks reasonable from what I can see. Most boards require at least
> > gpio_request() which is now guarded behind CONFIG_GPIOLIB_LEGACY.
> >
> > Does this maybe need a Fixes: tag to identify the commit which
> > introduced the new
> > config option CONFIG_GPIOLIB_LEGACY?
>
> At the moment, CONFIG_GPIOLIB_LEGACY is still enabled
> unconditionally, the idea being to change it to default-off
> after all known users select it. This won't be for at
> least another merged window, so I think you can just merge
> the patch now without any other dependencies, but we can
> also merge it through the gpio tree at the time of that other
> patch.

Makes sense. I'll pick it up for v7.2 then unless you think it's urgent
enough to warrant another pull for v7.1.

Adrian

--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913