]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ARM: omap1: enable real software node lookup of GPIOs on Nokia 770
authorBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Thu, 30 Apr 2026 07:30:57 +0000 (09:30 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Wed, 27 May 2026 08:00:51 +0000 (10:00 +0200)
commit61442e46fb9de57718a36f54c9ce1ce66ff7750b
tree33655a8fde93f3bc53f11dd453de0271b3bcc0ce
parent2bdf432e15818a81575e691e4ba0e3a3259d1711
ARM: omap1: enable real software node lookup of GPIOs on Nokia 770

Currently the board file for Nokia 770 creates dummy software nodes not
attached in any way to the actual GPIO controller devices and uses the
fact that GPIOLIB matching swnode's name to the GPIO chip's label during
software node lookup. This behavior is wrong and we want to remove it.
To that end, we need to first convert all existing users to creating
actual fwnode links.

Create real software nodes for GPIO controllers on OMAP16xx and
reference them from the software nodes in the nokia board file.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Acked-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Link: https://patch.msgid.link/20260430-nokia770-gpio-swnodes-v7-3-c88f74c90dd6@oss.qualcomm.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
arch/arm/mach-omap1/board-nokia770.c
arch/arm/mach-omap1/common.h
arch/arm/mach-omap1/gpio16xx.c