Thread (8 messages) 8 messages, 4 authors, 15d ago

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

From: Bartosz Golaszewski <hidden>
Date: 2026-09-21 09:16:27
Also in: imx, linux-gpio, lkml

On Tue, 15 Sep 2026 10:04:57 +0200, Mehmet Fide wrote:
From: Mehmet Fide <redacted>

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 [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help