drivers/gpio/gpio-regmap.c | 40 ++++++++++++++++++++++++++++++++++++---- include/linux/gpio/regmap.h | 7 +++++++ 2 files changed, 43 insertions(+), 4 deletions(-)
Support sparse unidirectional GPIO lines.
To be used in a forthcoming submission.
Signed-off-by: Linus Walleij <linusw@kernel.org>
---
Changes in v2:
- Make a second patch to exclude setting on unidirectional
lines.
- Link to v1: https://patch.msgid.link/20260507-regmap-gpio-sparse-fixed-dir-v1-1-a2e5855e2701@kernel.org
---
Linus Walleij (2):
gpio: regmap: Support sparsed fixed direction
gpio: regmap: Don't set a fixed direction line
drivers/gpio/gpio-regmap.c | 40 ++++++++++++++++++++++++++++++++++++----
include/linux/gpio/regmap.h | 7 +++++++
2 files changed, 43 insertions(+), 4 deletions(-)
---
base-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731
change-id: 20260507-regmap-gpio-sparse-fixed-dir-1d5c0d2e2c6f
Best regards,
--
Linus Walleij <linusw@kernel.org>
On Fri, 08 May 2026 14:51:25 +0200, Linus Walleij wrote:
> Support sparse unidirectional GPIO lines.
>
> To be used in a forthcoming submission.
>
>
Applied, thanks!
[1/2] gpio: regmap: Support sparsed fixed direction
https://git.kernel.org/brgl/c/ae99219270a3d85ec38eee9458829bd45c11aeec
[2/2] gpio: regmap: Don't set a fixed direction line
https://git.kernel.org/brgl/c/c3566b4a08707587fd52342f53cda1d7ee2607ca
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Hi, On Mon May 11, 2026 at 2:32 PM CEST, Bartosz Golaszewski wrote: > > On Fri, 08 May 2026 14:51:25 +0200, Linus Walleij wrote: >> Support sparse unidirectional GPIO lines. >> >> To be used in a forthcoming submission. >> >> > > Applied, thanks! > > [1/2] gpio: regmap: Support sparsed fixed direction > https://git.kernel.org/brgl/c/ae99219270a3d85ec38eee9458829bd45c11aeec > [2/2] gpio: regmap: Don't set a fixed direction line > https://git.kernel.org/brgl/c/c3566b4a08707587fd52342f53cda1d7ee2607ca > Mh, my review comment [1] made it through, didn't it? -michael [1] https://lore.kernel.org/linux-gpio/DIFNX8HLL7X3.JGSENU7W32X4@kernel.org/
On Mon, 11 May 2026 14:39:03 +0200, Michael Walle <mwalle@kernel.org> said: > Hi, > > On Mon May 11, 2026 at 2:32 PM CEST, Bartosz Golaszewski wrote: >> >> On Fri, 08 May 2026 14:51:25 +0200, Linus Walleij wrote: >>> Support sparse unidirectional GPIO lines. >>> >>> To be used in a forthcoming submission. >>> >>> >> >> Applied, thanks! >> >> [1/2] gpio: regmap: Support sparsed fixed direction >> https://git.kernel.org/brgl/c/ae99219270a3d85ec38eee9458829bd45c11aeec >> [2/2] gpio: regmap: Don't set a fixed direction line >> https://git.kernel.org/brgl/c/c3566b4a08707587fd52342f53cda1d7ee2607ca >> > > Mh, my review comment [1] made it through, didn't it? > > -michael > > [1] https://lore.kernel.org/linux-gpio/DIFNX8HLL7X3.JGSENU7W32X4@kernel.org/ > I missed it, sorry. I'll back these out for now and wait for Linus' respin. Bart
On Fri, May 8, 2026 at 2:51 PM Linus Walleij <linusw@kernel.org> wrote: > > Support sparse unidirectional GPIO lines. > > To be used in a forthcoming submission. > Should I apply it or will Alex just include it in his series? Bart
On Mon, May 11, 2026 at 11:56 AM Bartosz Golaszewski <brgl@kernel.org> wrote: > On Fri, May 8, 2026 at 2:51 PM Linus Walleij <linusw@kernel.org> wrote: > > > > Support sparse unidirectional GPIO lines. > > > > To be used in a forthcoming submission. > > Should I apply it or will Alex just include it in his series? I think it's easiest if you just apply it then Alex can just base his patch series off your for-next branch (or cherry-pick those underneath his patch series). Yours, Linus Walleij
On 5/11/26 7:15 AM, Linus Walleij wrote: > On Mon, May 11, 2026 at 11:56 AM Bartosz Golaszewski <brgl@kernel.org> wrote: >> On Fri, May 8, 2026 at 2:51 PM Linus Walleij <linusw@kernel.org> wrote: >>> >>> Support sparse unidirectional GPIO lines. >>> >>> To be used in a forthcoming submission. >> >> Should I apply it or will Alex just include it in his series? > > I think it's easiest if you just apply it then Alex can just base his > patch series off your for-next branch (or cherry-pick those > underneath his patch series). > > Yours, > Linus Walleij I'm good with that plan. -Alex
© 2016 - 2026 Red Hat, Inc.