Files
openwrt/target/linux/gemini/modules.mk
T
Linus Walleij 234c308b93 gemini: backport FOTG210 support
The FOTG210 USB host controller is not working on Gemini with 6.18.
Backport the migration to the common EHCI core and other fixups
just merged for 7.4.

Link: https://github.com/openwrt/openwrt/pull/25139
Signed-off-by: Linus Walleij <linusw@kernel.org>
2026-09-12 23:09:38 +02:00

18 lines
525 B
Makefile

# TODO: move this to package/kernel/linux/modules/usb.mk after kernel 7.4
# as the generic kernel will have the EHCI rewrite.
define KernelPackage/usb-fotg210
TITLE:=Support for FOTG210 USB host and device controllers
DEPENDS:=\
@TARGET_gemini \
+kmod-usb-ehci
KCONFIG:=\
CONFIG_USB_FOTG210 \
CONFIG_USB_FOTG210_HCD=y \
CONFIG_USB_FOTG210_UDC=y
FILES:=$(LINUX_DIR)/drivers/usb/fotg210/fotg210.ko
AUTOLOAD:=$(call AutoLoad,50,fotg210,1)
$(call AddDepends/usb)
endef
$(eval $(call KernelPackage,usb-fotg210))