[PATCH v2 0/2] platform/x86: meraki-mx100: create and use real software node links
From: Bartosz Golaszewski
Date: Wed Feb 18 2026 - 05:49:15 EST
Meraki-mx100 is one of the GPIOLIB users that abuses the software node
API by setting up a dummy software node without any logical link to the
GPIO controller it wants to use and uses the fact that the GPIO core
matches the controller's label against the swnode's name to make the
lookup work.
We want to remove this behavior from GPIOLIB in favor of actual matching
of firmware nodes but that would break this user. This series creates
a real software node in the MFD driver and references it from the meraki
driver.
This can be done in two patches and stay bisectable as the software
nodes, despite having the same name, will have different parents so
there are no kobject issues.
Merging: this should probably be acked by Hans or Ilpo and go through
the MFD tree for v7.1.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>
---
Changes in v2:
- Use a namespace for the exported software node
- Link to v1: https://patch.msgid.link/20260213-meraki-swnodes-v1-0-8e032693456c@xxxxxxxxxxxxxxxx
---
Bartosz Golaszewski (2):
mfd: lpc_ich: expose the GPIO controller cell's software node
platform/x86: meraki-mx100: use real software node references
drivers/mfd/lpc_ich.c | 7 +++++++
drivers/platform/x86/meraki-mx100.c | 41 ++++++++++++++++---------------------
include/linux/mfd/lpc_ich.h | 2 ++
3 files changed, 27 insertions(+), 23 deletions(-)
---
base-commit: fe9e3edb6a215515d1148d32a5c445c5bdd7916f
change-id: 20260213-meraki-swnodes-44430d8178b4
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>