[PATCH] Revert "arm64: enable HAVE_SHARED_GPIOS for all ARM64 platforms"
From: James Clark
Date: Wed Dec 02 2026 - 05:39:05 EST
This reverts commit f918e380449880824c415a39214b553aa7f64d5d.
Since that commit, the BeagleY-AI no longer boots. The reset GPIO of its
on-board USB hub is shared, so it is now handled by gpio-shared-proxy.
This exposes a bug in onboard_usb_dev, which loops in deferred probing
for about 90 seconds during boot, and systemd goes into emergency mode.
A fix for onboard_usb_dev has been posted [1] but has not yet been
reviewed. Revert this commit until the bug is fixed.
Closes: https://lore.kernel.org/all/20261030114705.3159093-1-jjc@xxxxxxxxxx/
Link: https://lore.kernel.org/all/cover.1794018128.git.jjc@xxxxxxxxxx/ [1]
Link: https://lore.kernel.org/all/1f23ba10-a4d1-4d59-b869-1d29975cb852@xxxxxxxxxxxxx/
Signed-off-by: James Clark <jjc@xxxxxxxxxx>
---
I am sending this revert at the request of Thorsten Leemhuis, the Linux
kernel regression tracker (see the last Link: above).
Tested on a BeagleY-AI: with this revert on top of
v7.4-rc5-48-g693c2e04e3f1, it boots normally.
arch/arm64/Kconfig | 1 -
arch/arm64/Kconfig.platforms | 2 ++
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 9b08b2457a55..dc4292f29a7f 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -196,7 +196,6 @@ config ARM64
if DYNAMIC_FTRACE_WITH_ARGS
select HAVE_SAMPLE_FTRACE_DIRECT
select HAVE_SAMPLE_FTRACE_DIRECT_MULTI
- select HAVE_SHARED_GPIOS
select HAVE_BUILDTIME_MCOUNT_SORT
select HAVE_EFFICIENT_UNALIGNED_ACCESS
select HAVE_EXIT_THREAD
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index 49dcd7be82ce..c52dc955df5f 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -37,6 +37,7 @@ config ARCH_APPLE
bool "Apple Silicon SoC family"
select APPLE_AIC
select APPLE_PMGR_PWRSTATE if PM
+ select HAVE_SHARED_GPIOS
help
This enables support for Apple's in-house ARM SoC family, such
as the Apple M1.
@@ -336,6 +337,7 @@ config ARCH_QCOM
select GPIOLIB
select PINCTRL
select HAVE_PWRCTRL if PCI
+ select HAVE_SHARED_GPIOS
help
This enables support for the ARMv8 based Qualcomm chipsets.
base-commit: 693c2e04e3f1d4c59af236e1211b7b8cb165a790
--
2.56.1