[GIT PULL] gpio fixes for v7.2-rc1
From: Bartosz Golaszewski
Date: Thu Jun 25 2026 - 05:13:17 EST
Linus,
Here's the second PR for this merge window. It's mostly fixes except for one
commit that requires some explanation.
During the last cycle I submitted a two-patch series with the first changeset
exposing the software node of the GPIO cell of the cs5535 MFD device in
a public header, and the second one using it in the Intel Geode board file[1].
Lee Jones picked up patch 1/2 into the MFD tree. I later got an Ack from
Borislav on patch 2/2 and decided to queue it for v7.2 as it's the last
remaining change that will allow me to drop the deprecated behavior of GPIO
core for software-node lookup by GPIO label match for v7.3.
To that end, however, I needed the prerequisite patch 1/2 from the MFD tree to
land upstream. At that point I had already more patches queued in my tree.
I was not sure whether the correct approach in this case is to:
a) Pull Lee's tag directly into my tree
b) Pull your merge commit
c) Rebase my branch and force-push
I decided to go with b) as it doesn't result in two merges of the same tag in
git history. I typically never rebase my branches fed into linux-next. Please
let me know if this is not the right approach. If you don't comment on it, I'll
assume it's ok. In any case, this was exceptional and should not be a common
occurrence.
Please consider pulling.
Thanks,
Bartosz
[1] https://lore.kernel.org/all/20260429-cs5535-swnode-v1-0-2bc5e17ddcf9@xxxxxxxxxxxxxxxx/
The following changes since commit 6beaec3aee9852438b89e4d7891caf5e84d45851:
Merge tag 'mfd-next-7.2' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd (2026-06-18 14:26:29 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git tags/gpio-fixes-for-v7.2-rc1
for you to fetch changes up to 4e8eb6952aa6749726c6c3763ae0032a6332c24f:
gpio: davinci: fix IRQ domain leak on devm_kzalloc failure (2026-06-23 10:44:29 +0200)
----------------------------------------------------------------
gpio fixes for v7.2-rc1
- fix locking context with shared GPIOs in gpio-tegra
- fix IRQ domain leak in error path in gpio-davinci
- fix returning a potentially uninitialized integer in
gpiochip_set_multiple()
- use raw spinlock in gpio-eic-sprd and gpio-sch to address locking
context issues
- bail out of probe() if registering the GPIO chip fails in gpio-mlxbf3
- fix varible type for storing the "ngpios" property in gpio-pisosr
- fix out-of-bounds pin access in GPIO ACPI
- make GPIO ACPI core only trigger interrupts on boot that are marked as
ActiveBoth
- fix kerneldoc in gpio-tb10x
- reference the real software node of the cs5535 GPIO controller in
Geode board file
----------------------------------------------------------------
Bartosz Golaszewski (3):
Merge tag 'intel-gpio-v7.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/andy/linux-gpio-intel into gpio/for-current
Merge commit '6beaec3aee9852438b89e4d7891caf5e84d45851' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux into gpio/for-current
x86/platform/geode: reference the real node of the cs5535 GPIO controller
Igor Putko (1):
gpio: tb10x: fix struct tb10x_gpio kernel-doc
Marco Scardovi (2):
gpiolib: acpi: Add robust bounds-checking for GPIO pin resources
gpiolib: acpi: Prevent out-of-bounds pin access in OperationRegion handler
Mario Limonciello (1):
gpiolib: acpi: Only trigger ActiveBoth interrupts on boot
Pengpeng Hou (1):
gpio: mlxbf3: fail probe if gpiochip registration fails
Qingshuang Fu (1):
gpio: davinci: fix IRQ domain leak on devm_kzalloc failure
Rob Herring (Arm) (1):
gpio: pisosr: Read "ngpios" as u32
Runyu Xiao (3):
gpio: sch: use raw_spinlock_t in the irq startup path
gpio: eic-sprd: use raw_spinlock_t in the irq startup path
gpio: tegra: do not call pinctrl for GPIO direction
Ruoyu Wang (1):
gpiolib: initialize return value in gpiochip_set_multiple()
arch/x86/Kconfig | 10 +++---
arch/x86/platform/geode/geode-common.c | 12 +++----
drivers/gpio/gpio-davinci.c | 4 ++-
drivers/gpio/gpio-eic-sprd.c | 8 ++---
drivers/gpio/gpio-mlxbf3.c | 3 +-
drivers/gpio/gpio-pisosr.c | 4 ++-
drivers/gpio/gpio-sch.c | 32 +++++++++----------
drivers/gpio/gpio-tb10x.c | 1 +
drivers/gpio/gpio-tegra.c | 18 ++---------
drivers/gpio/gpiolib-acpi-core.c | 57 +++++++++++++++++++++++++++-------
drivers/gpio/gpiolib.c | 2 +-
11 files changed, 87 insertions(+), 64 deletions(-)