[PATCH RFT 0/6] gpio: mmio: remove struct bgpio_pdata
From: Bartosz Golaszewski
Date: Tue Jun 24 2025 - 09:22:44 EST
I'm working on removing the fields relevant only to gpio-mmio from
struct gpio_chip. One of the bits that need addressing before we can do
this is the removal of struct bgpio_pdata from the kernel. Fortunately
there are only 3 users left treewide.
This series adds support for parsing of generic device properties to
gpio-mmio, converts all users to setting up software nodes containing
relevant values in their property sets and removes struct bgpio_pdata.
As for merging: it would be best for MFD/OMAP/s3c maintainers to ack the
changes and let me route them through the GPIO tree. I can provide an
immutable tag if needed.
Obviously I was only able to build-test the changes so any actual
verification is appreciated.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
---
Bartosz Golaszewski (6):
gpio: mmio: drop the big-endian platform device variant
gpio: mmio: get chip label and GPIO base from device properties
mfd: vexpress-sysreg: set-up software nodes for gpio-mmio
ARM: omap1: ams-delta: use generic device properties for gpio-mmio
ARM: s3c: crag6410: use generic device properties for gpio-mmio
gpio: mmio: remove struct bgpio_pdata
arch/arm/mach-omap1/board-ams-delta.c | 42 ++++++++++++--------------
arch/arm/mach-s3c/mach-crag6410.c | 17 ++++++-----
drivers/gpio/gpio-mmio.c | 57 +++++++++--------------------------
drivers/mfd/vexpress-sysreg.c | 46 +++++++++++++++++-----------
include/linux/gpio/driver.h | 6 ----
5 files changed, 73 insertions(+), 95 deletions(-)
---
base-commit: f817b6dd2b62d921a6cdc0a3ac599cd1851f343c
change-id: 20250623-gpio-mmio-pdata-a831b96e8dd2
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>