[PATCH 4/4] ARM: gemini: Update USB support

Linus Walleij linusw at kernel.org
Sun Nov 8 14:28:27 PST 2026


Drop UHCI host controller support, which is not needed on Gemini. The
SoC USB controllers are handled by FOTG210.

The DNS-313 device tree enables a FOTG210 port in peripheral mode and
describes its GPIO VBUS sensing connector. Enable the peripheral
controller and GPIO VBUS PHY driver to support this port.

Enable configfs gadget support with the generic serial function, which
uses bulk transfers supported by FOTG210. Userspace can configure and
bind the desired gadget through configfs. Build the support in, as the
defconfig does not enable modules.
---
 arch/arm/configs/gemini_defconfig | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/arch/arm/configs/gemini_defconfig b/arch/arm/configs/gemini_defconfig
index 72c9594b0e74..3a054890c273 100644
--- a/arch/arm/configs/gemini_defconfig
+++ b/arch/arm/configs/gemini_defconfig
@@ -81,9 +81,13 @@ CONFIG_LOGO=y
 CONFIG_USB=y
 CONFIG_USB_MON=y
 CONFIG_USB_EHCI_HCD=y
-CONFIG_USB_UHCI_HCD=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_FOTG210_HCD=y
+CONFIG_USB_FOTG210_UDC=y
+CONFIG_USB_GPIO_VBUS=y
+CONFIG_USB_GADGET=y
+CONFIG_USB_CONFIGFS=y
+CONFIG_USB_CONFIGFS_SERIAL=y
 CONFIG_NEW_LEDS=y
 CONFIG_LEDS_CLASS=y
 CONFIG_LEDS_GPIO=y

-- 
2.56.0




More information about the linux-arm-kernel mailing list