Thread (20 messages) 20 messages, 9 authors, 2026-03-30

Re: [RFT PATCH v3] ARM: omap1: enable real software node lookup of GPIOs on Nokia 770

From: Bartosz Golaszewski <brgl@kernel.org>
Date: 2026-03-27 14:22:26
Also in: linux-omap, lkml

On Fri, Mar 27, 2026 at 3:05 PM Aaro Koskinen [off-list ref] wrote:
Hi,

On Thu, Mar 26, 2026 at 09:57:31AM +0100, Bartosz Golaszewski wrote:
quoted
On Mon, Mar 16, 2026 at 9:50 AM Bartosz Golaszewski [off-list ref] wrote:
quoted
On Fri, Mar 6, 2026 at 1:31 AM Kevin Hilman [off-list ref] wrote:
quoted
Bartosz Golaszewski [off-list ref] writes:
quoted
On Thu, Feb 12, 2026 at 12:46 PM Arnd Bergmann [off-list ref] wrote:
quoted
On Thu, Feb 12, 2026, at 12:25, Bartosz Golaszewski wrote:
quoted
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.

Signed-off-by: Bartosz Golaszewski <redacted>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Aaro, Janusz: Can you please pick it up for v7.1?
I can take this via the OMAP tree once I have confirmation from
Aaro/Janusz that they've tested.
Hi again! Any chance we could get this queued? Janusz, Aaro: any objections?
Unfortunately the patch doesn't work - 770 just dies silently. This
means that e.g. CBUS GPIOs are not working as those are needed to keep
the device powered. I'll try to figure out how to debug this...

A.
Hmm, I'm wondering if there's a race with consumers already requesting
the GPIOs after the controller device is registered but before the
software node is added. I'll send a version with software nodes being
registered first, then passes as firmware nodes to the platform device
API before the device is registered.

Bart
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help