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

Bartosz Golaszewski posted 3 patches 1 month, 2 weeks ago
arch/arm/mach-omap1/board-nokia770.c | 33 +++------------
arch/arm/mach-omap1/common.h         |  3 ++
arch/arm/mach-omap1/gpio16xx.c       | 80 ++++++++++++++++++------------------
3 files changed, 48 insertions(+), 68 deletions(-)
[PATCH v7 0/3] ARM: omap1: use real firmware node lookup for GPIOs on Nokia 770
Posted by Bartosz Golaszewski 1 month, 2 weeks ago
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 v7:
- Drop ADS7846_PENDOWN_GPIO define from patch 3/3, move the value to the
  property entry
- Convert the second dev_err() to pr_err()
- Add the device name.id in the pr_err() output
- Collect tags
- Link to v6: https://patch.msgid.link/20260427-nokia770-gpio-swnodes-v6-0-b693296c1985@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 | 33 +++------------
 arch/arm/mach-omap1/common.h         |  3 ++
 arch/arm/mach-omap1/gpio16xx.c       | 80 ++++++++++++++++++------------------
 3 files changed, 48 insertions(+), 68 deletions(-)
---
base-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731
change-id: 20260330-nokia770-gpio-swnodes-5da8ba35946e

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Re: [PATCH v7 0/3] ARM: omap1: use real firmware node lookup for GPIOs on Nokia 770
Posted by Bartosz Golaszewski 2 weeks, 3 days ago
On Thu, 30 Apr 2026 09:30:54 +0200, Bartosz Golaszewski wrote:
> This converts Nokia 770 to using real firmware node lookup for GPIOs by
> attaching the software nodes describing GPIO controllers to their target
> devices.
> 
> 

Kevin told me in person I can take this through the GPIO tree as it already
has all the Acks from Aaro and Janusz. I've queued it for v7.2.

[1/3] ARM: omap1: drop unused variable from omap16xx_gpio_init()
      https://git.kernel.org/brgl/c/3288e99f9968c37a8b654d5f4251382fe11bf854
[2/3] ARM: omap1: use platform_device_register_full() for GPIO devices on OMAP 16xx
      https://git.kernel.org/brgl/c/2bdf432e15818a81575e691e4ba0e3a3259d1711
[3/3] ARM: omap1: enable real software node lookup of GPIOs on Nokia 770
      https://git.kernel.org/brgl/c/61442e46fb9de57718a36f54c9ce1ce66ff7750b

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Re: [PATCH v7 0/3] ARM: omap1: use real firmware node lookup for GPIOs on Nokia 770
Posted by Bartosz Golaszewski 1 month ago
On Thu, Apr 30, 2026 at 9:31 AM Bartosz Golaszewski
<bartosz.golaszewski@oss.qualcomm.com> wrote:
>
> 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>
> ---

Hi!

Gentle ping, can this be queued now for v7.2?

Thanks,
Bart
Re: [PATCH v7 0/3] ARM: omap1: use real firmware node lookup for GPIOs on Nokia 770
Posted by Andreas Kemnade 1 month ago
Hi,

On Mon, 11 May 2026 15:34:39 +0200
Bartosz Golaszewski <brgl@kernel.org> wrote:

> On Thu, Apr 30, 2026 at 9:31 AM Bartosz Golaszewski
> <bartosz.golaszewski@oss.qualcomm.com> wrote:
> >
> > 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>
> > ---  
> 
> Hi!
> 
> Gentle ping, can this be queued now for v7.2?
> 
So any objections from your side, Aaro?

Regards,
Andreas
Re: [PATCH v7 0/3] ARM: omap1: use real firmware node lookup for GPIOs on Nokia 770
Posted by Aaro Koskinen 1 month ago
Hi,

On Wed, May 13, 2026 at 02:59:26PM +0200, Andreas Kemnade wrote:
> On Mon, 11 May 2026 15:34:39 +0200
> Bartosz Golaszewski <brgl@kernel.org> wrote:
> > > 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>
> > 
> > Hi!
> > 
> > Gentle ping, can this be queued now for v7.2?
> > 
> So any objections from your side, Aaro?

It's fine.

Acked-by: Aaro Koskinen <aaro.koskinen@iki.fi>

A.
Re: [PATCH v7 0/3] ARM: omap1: use real firmware node lookup for GPIOs on Nokia 770
Posted by Bartosz Golaszewski 3 weeks, 3 days ago
On Thu, May 14, 2026 at 7:10 PM Aaro Koskinen <aaro.koskinen@iki.fi> wrote:
>
> Hi,
>
> On Wed, May 13, 2026 at 02:59:26PM +0200, Andreas Kemnade wrote:
> > On Mon, 11 May 2026 15:34:39 +0200
> > Bartosz Golaszewski <brgl@kernel.org> wrote:
> > > > 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>
> > >
> > > Hi!
> > >
> > > Gentle ping, can this be queued now for v7.2?
> > >
> > So any objections from your side, Aaro?
>
> It's fine.
>
> Acked-by: Aaro Koskinen <aaro.koskinen@iki.fi>
>
> A.

Kevin,

I think you offered to queue these patches before, can you take them for v7.2?

Thanks,
Bartosz