]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mfd: lpc_ich: Expose the GPIO controller cell's software node
authorBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Wed, 18 Feb 2026 10:48:01 +0000 (11:48 +0100)
committerLee Jones <lee@kernel.org>
Wed, 25 Mar 2026 12:45:01 +0000 (12:45 +0000)
commit0735e3007c1be6cb40372c403a69200d0929c8d7
treef141d494eea485aa25654151b8f1e870aed019d7
parent239cd6a417b989708da4b39a71f925897ec87287
mfd: lpc_ich: Expose the GPIO controller cell's software node

One of the users of this driver - meraki-mx100 - abuses the software
node API by setting up a dummy software node without any logical link to
this GPIO controller 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. To facilitate that:
create a software node for the GPIO controller cell and expose its
address in the provided MFD header.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20260218-meraki-swnodes-v2-1-92c521da241c@oss.qualcomm.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/lpc_ich.c
include/linux/mfd/lpc_ich.h