[PATCH RESEND 00/14] gpio: replace legacy bgpio_init() with its modernized alternative

Bartosz Golaszewski posted 14 patches 1 month, 3 weeks ago
There is a newer version of this series
drivers/gpio/gpio-amdpt.c          |  44 +++++-----
drivers/gpio/gpio-dwapb.c          | 160 ++++++++++++++++++++-----------------
drivers/gpio/gpio-ge.c             |  25 ++++--
drivers/gpio/gpio-grgpio.c         |  87 ++++++++++----------
drivers/gpio/gpio-hisi.c           |   3 +-
drivers/gpio/gpio-loongson-64bit.c |  42 +++++-----
drivers/gpio/gpio-mpc8xxx.c        | 102 +++++++++++++----------
drivers/gpio/gpio-rda.c            |  35 ++++----
drivers/gpio/gpio-ts4800.c         |  39 ++++-----
include/linux/gpio/generic.h       |  37 +++++++++
10 files changed, 337 insertions(+), 237 deletions(-)
[PATCH RESEND 00/14] gpio: replace legacy bgpio_init() with its modernized alternative
Posted by Bartosz Golaszewski 1 month, 3 weeks ago
I hit a network error when sending for the first one, retrying now.

This is the first round of GPIO driver conversions to using the
modernized variant of the gpio-mmio API.

While at it: sprinkle in some additional tweaks and refactoring.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
Bartosz Golaszewski (14):
      gpio: generic: provide to_gpio_generic_chip()
      gpio: generic: provide helpers for reading and writing registers
      gpio: hisi: use the BGPIOF_UNREADABLE_REG_DIR flag
      gpio: ts4800: remove the unnecessary call to platform_set_drvdata()
      gpio: ts4800: use generic device properties
      gpio: ts4800: use dev_err_probe()
      gpio: ts4800: use new generic GPIO chip API
      gpio: loongson-64bit: use new generic GPIO chip API
      gpio: dwapb: use new generic GPIO chip API
      gpio: amdpt: use new generic GPIO chip API
      gpio: rda: use new generic GPIO chip API
      gpio: grgpio: use new generic GPIO chip API
      gpio: mpc8xxx: use new generic GPIO chip API
      gpio: ge: use new generic GPIO chip API

 drivers/gpio/gpio-amdpt.c          |  44 +++++-----
 drivers/gpio/gpio-dwapb.c          | 160 ++++++++++++++++++++-----------------
 drivers/gpio/gpio-ge.c             |  25 ++++--
 drivers/gpio/gpio-grgpio.c         |  87 ++++++++++----------
 drivers/gpio/gpio-hisi.c           |   3 +-
 drivers/gpio/gpio-loongson-64bit.c |  42 +++++-----
 drivers/gpio/gpio-mpc8xxx.c        | 102 +++++++++++++----------
 drivers/gpio/gpio-rda.c            |  35 ++++----
 drivers/gpio/gpio-ts4800.c         |  39 ++++-----
 include/linux/gpio/generic.h       |  37 +++++++++
 10 files changed, 337 insertions(+), 237 deletions(-)
---
base-commit: 8f5ae30d69d7543eee0d70083daf4de8fe15d585
change-id: 20250728-gpio-mmio-gpio-conv-623517c3df74

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Re: [PATCH RESEND 00/14] gpio: replace legacy bgpio_init() with its modernized alternative
Posted by Linus Walleij 1 month, 2 weeks ago
On Tue, Aug 12, 2025 at 2:12 PM Bartosz Golaszewski <brgl@bgdev.pl> wrote:

> I hit a network error when sending for the first one, retrying now.
>
> This is the first round of GPIO driver conversions to using the
> modernized variant of the gpio-mmio API.
>
> While at it: sprinkle in some additional tweaks and refactoring.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

The series:

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij
Re: [PATCH RESEND 00/14] gpio: replace legacy bgpio_init() with its modernized alternative
Posted by Bartosz Golaszewski 1 month, 3 weeks ago
On Tue, Aug 12, 2025 at 2:12 PM Bartosz Golaszewski <brgl@bgdev.pl> wrote:
>
> I hit a network error when sending for the first one, retrying now.
>
> This is the first round of GPIO driver conversions to using the
> modernized variant of the gpio-mmio API.
>
> While at it: sprinkle in some additional tweaks and refactoring.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> ---

FYI: This is the correct thread for reviews, I was finally able to
send out the patches.

Bart