Re: [PATCH v6 7/7] gpio: gpio-by-pinctrl: add pinctrl based generic GPIO driver
From: Linus Walleij
Date: Tue Apr 07 2026 - 08:22:08 EST
On Tue, Apr 7, 2026 at 12:21 PM Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote:
> > +config GPIO_BY_PINCTRL
> > + tristate "GPIO support based on a pure pin control backend"
> > + depends on GPIOLIB
>
> Should this depend on ARM_SCMI *|| COMPILE_TEST)? The driver only
> matches against the "scmi-pinctrl-gpio" compatible value.
> Or do you envision a use case without SCMI?
It can be used without SCMI but SCMI is the only current user.
I imagine any firmware protocol (e.g. rpmsg, heh) implementing
a pinctrl driver could get GPIO "for free" using this.
Yours,
Linus Walleij