Re: (subset) [PATCH v6 0/4] gpio: mmio: report the line direction on chips without direction registers
From: Bartosz Golaszewski
Date: Mon Sep 21 2026 - 05:22:43 EST
On Tue, 15 Sep 2026 10:04:57 +0200, Mehmet Fide wrote:
> From: Mehmet Fide <mehmet.fide@xxxxxxxxxxxxxxxxxx>
>
> Hi Bartosz, Linus,
>
> this replaces the gpiolib guard patch [1], along the lines Bartosz
> suggested there: instead of teaching gpiod_get_direction() to stay quiet
> when a chip has no get_direction(), give gpio-mmio one and let the pin
> controller tell it what the pad does.
>
> [...]
Applied, thanks!
[3/4] gpiolib: add get_config() and gpiochip_generic_get_config()
https://git.kernel.org/brgl/c/fc291104d01a4e42b44132925c46655d4be5ed13
[4/4] gpio: mmio: track the direction of chips without direction registers
https://git.kernel.org/brgl/c/b5c26686305e070ecb8a4af3acbc4aa92266029e
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>