[PATCH RFT v2 0/6] gpio: mmio: remove struct bgpio_pdata
Bartosz Golaszewski
brgl at bgdev.pl
Tue Jul 1 04:49:34 PDT 2025
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 at linaro.org>
---
Changes in v2:
- add a comment about the gpio-mmio-specific property not being suitable
for device-tree
- pick up tags
- Link to v1: https://lore.kernel.org/r/20250624-gpio-mmio-pdata-v1-0-a58c72eb556a@linaro.org
---
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 | 61 +++++++++++------------------------
drivers/mfd/vexpress-sysreg.c | 46 +++++++++++++++-----------
include/linux/gpio/driver.h | 6 ----
5 files changed, 77 insertions(+), 95 deletions(-)
---
base-commit: 3f804361f3b9af33e00b90ec9cb5afcc96831e60
change-id: 20250623-gpio-mmio-pdata-a831b96e8dd2
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski at linaro.org>
More information about the linux-arm-kernel
mailing list