[PATCH v6 0/3] ARM: omap1: use real firmware node lookup for GPIOs on Nokia 770

Bartosz Golaszewski
2026-04-27T10:46:54Z

This converts Nokia 770 to using real firmware node lookup for GPIOs by
attaching the software nodes describing GPIO controllers to their target
devices.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
---
Changes in v6:
- Switch to using platform_device_register_full() and pass the software
node via the swnode field of struct platform_device_info
- Drop driver-core prerequisites from the series
- Rebase on top of v7.1-rc1
- Add patch dropping an unused variable
- Link to v5: https://patch.msgid.link/20260402-nokia770-gpio-swnodes-v5-0-d730db3dd299@oss.qualcomm.com

Changes in v5:
- Put ksysfs_init() in a separate new header
- Remove software_node_exit() in a separate patch
- Link to v4: https://patch.msgid.link/20260330-nokia770-gpio-swnodes-v4-0-b68592e977d0@oss.qualcomm.com

Changes in v4:
- Add patches making software nodes available earlier
- Remove stray newline
- Link to v3: https://lore.kernel.org/all/20260212112508.73500-1-bartosz.golaszewski@oss.qualcomm.com/

Changes in v3:
- fix references to the MPU node

Changes in v2:
- fix build with CONFIG_I2C_CBUS_GPIO
- only export the two symbols that are actually required by the nokia
board file

---
Bartosz Golaszewski (3):
ARM: omap1: drop unused variable from omap16xx_gpio_init()
ARM: omap1: use platform_device_register_full() for GPIO devices on OMAP 16xx
ARM: omap1: enable real software node lookup of GPIOs on Nokia 770

arch/arm/mach-omap1/board-nokia770.c | 30 +++-----------
arch/arm/mach-omap1/common.h | 3 ++
arch/arm/mach-omap1/gpio16xx.c | 77 ++++++++++++++++++------------------
3 files changed, 47 insertions(+), 63 deletions(-)
---
base-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731
change-id: 20260330-nokia770-gpio-swnodes-5da8ba35946e

Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>