Re: [PATCH v6 0/4] gpio: mmio: report the line direction on chips without direction registers

From: Linus Walleij

Date: Sun Sep 20 2026 - 18:16:37 EST


On Wed, Sep 16, 2026 at 11:42 AM Bartosz Golaszewski <brgl@xxxxxxxxxx> wrote:
> On Tue, 15 Sep 2026 10:04:57 +0200, Mehmet Fide <mehmet.fide@xxxxxxxxx> said:
> >
> > On trees: Linus offered to take patch 2 through pinctrl, and patch 1 is
> > pinctrl as well. Patch 4 gives wrong answers without patch 2 (an
> > undecoded pad register would seed every requested line as an output), so
> > I would rather the two pinctrl patches land first or in the same cycle
> > as the two gpio patches, whichever way you two prefer to split it.
> >
>
> Linus can put the first two on an immutable branch for me to pull.

OK then I applied those two patches here:
https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git/log/?h=ib-gpio-dir-imx

Then merged that into my "devel" branch for v7.4.

So you can pull that and apply the rest on top.

Yours,
Linus Walleij