lkml.org 
[lkml]   [2026]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] x86/platform/geode: enable real fwnode GPIO lookup
Date
GPIO software node lookup should rely exclusively on matching the
addresses of the referenced firmware nodes. I tried to enforce it with
commit e5d527be7e69 ("gpio: swnode: don't use the swnode's name as the
key for GPIO lookup") but it broke existing users who abuse the software
node mechanism by creating "dummy" software nodes named after the device
they want to get GPIOs from but never attaching them to the actual GPIO
devices. They rely on the current behavior of GPIOLIB where it will match
the label of the GPIO controller against the name of the software node
and does not require a true link.

In order to un-revert e5d527be7e69, we need to convert all existing
users to real firmware node lookup for software nodes.

This series exposes the software node associated with the GPIO
controller cell of the cs5535 MFD device and uses it in the geode board
setup for LEDs.

Merging strategy: there's not much development going on for the geode
board file so this could go through the MFD tree with an ack from the
x86 maintainers.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
---
Bartosz Golaszewski (2):
mfd: cs5535: add, assign and expose the software node for the GPIO cell
x86/platform/geode: reference the real node of the cs5535 GPIO controller

arch/x86/Kconfig | 10 +++++-----
arch/x86/platform/geode/geode-common.c | 12 +++++-------
drivers/mfd/cs5535-mfd.c | 9 +++++++++
include/linux/mfd/cs5535.h | 8 ++++++++
4 files changed, 27 insertions(+), 12 deletions(-)
---
base-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731
change-id: 20260429-cs5535-swnode-0f731d2bbe10

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


\
 
 \ /
  Last update: 2026-04-29 14:24    [W:0.069 / U:6.347 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog