mbox series

[0/2] gpio-mmio: Extend to handle pinctrl back-ends

Message ID 20250214-vf610-mmio-v1-0-6cccd0292e84@linaro.org
Headers show
Series gpio-mmio: Extend to handle pinctrl back-ends | expand

Message

Linus Walleij Feb. 13, 2025, 11:08 p.m. UTC
If we're using gpio-mmio with a pinctrl backend the
direction callbacks need to finalize their work by
calling into the pin control back-end.

As I was made aware that the vf610 driver was missing
only that to use gpio-mmio instead of custom code,
I took a stab at it.

This patch is made on top of Johan Korsnes bug fix,
so it needs to be applied after that is in, if this
works.

Plese try it out on vf610!

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
Linus Walleij (2):
      gpio: mmio: Add flag for calling pinctrl back-end
      gpio: vg610: Switch to gpio-mmio

 drivers/gpio/Kconfig        |   1 +
 drivers/gpio/gpio-mmio.c    |  36 ++++++++++++----
 drivers/gpio/gpio-vf610.c   | 100 ++++----------------------------------------
 include/linux/gpio/driver.h |   3 ++
 4 files changed, 41 insertions(+), 99 deletions(-)
---
base-commit: 8e2ad024bbbbd1add00e9ddc4aa943d3a27fa146
change-id: 20250213-vf610-mmio-eddfaeb6b197

Best regards,