usb: Remove orphaned UDC drivers
PATCH v2 1/1 usb: Remove orphaned UDC drivers
These drivers have no way to probe as there are no match tables nor devices created with a matching name in the kernel tree.
Marvell UDC was only ever supported by board files which were removed in 2022.
For Marvell U3D, which was added in 2012, the PXA2128 aka MMP3 support was never upstreamed with board files and only revived in 2019 with DT support. No U3D DT support has been added since then.
The PLX net2272 driver was formerly used on blackfin. It also has PCI support, but that appears to be only for a development board which is likely unused given this device dates back to 2006.
---
v2:
- Add fusb300 and net2272 to removals
--- drivers/usb/gadget/udc/Kconfig | 44 - drivers/usb/gadget/udc/Makefile | 5 - drivers/usb/gadget/udc/fusb300_udc.c | 1516 -------------- drivers/usb/gadget/udc/fusb300_udc.h | 675 ------- drivers/usb/gadget/udc/mv_u3d.h | 317 --- drivers/usb/gadget/udc/mv_u3d_core.c | 2062 ------------------- drivers/usb/gadget/udc/mv_udc.h | 309 --- drivers/usb/gadget/udc/mv_udc_core.c | 2426 ----------------------- drivers/usb/gadget/udc/net2272.c | 2723 -------------------------- drivers/usb/gadget/udc/net2272.h | 584 ------ drivers/usb/phy/Kconfig | 12 - drivers/usb/phy/Makefile | 1 - drivers/usb/phy/phy-mv-usb.c | 881 --------- 13 files changed, 11555 deletions(-) delete mode 100644 drivers/usb/gadget/udc/fusb300_udc.c delete mode 100644 drivers/usb/gadget/udc/fusb300_udc.h delete mode 100644 drivers/usb/gadget/udc/mv_u3d.h delete mode 100644 drivers/usb/gadget/udc/mv_u3d_core.c delete mode 100644 drivers/usb/gadget/udc/mv_udc.h delete mode 100644 drivers/usb/gadget/udc/mv_udc_core.c delete mode 100644 drivers/usb/gadget/udc/net2272.c delete mode 100644 drivers/usb/gadget/udc/net2272.h delete mode 100644 drivers/usb/phy/phy-mv-usb.c
drivers/usb/gadget/udc/Kconfig +0 -44
@@ -102,12 +102,6 @@ config USB_FSL_USB2 dynamically linked module called "fsl_usb2_udc" and force all gadget drivers to also be dynamically linked. -config USB_FUSB300 - tristate "Faraday FUSB300 USB Peripheral Controller" - depends on !PHYS_ADDR_T_64BIT && HAS_DMA - help - Faraday usb device controller FUSB300 driver - config USB_GR_UDC tristate "Aeroflex Gaisler GRUSBDC USB Peripheral Controller Driver" depends on HAS_DMA
@@ -228,21 +222,6 @@ config USB_PXA27X dynamically linked module called "pxa27x_udc" and force all gadget drivers to also be dynamically linked. -config USB_MV_UDC - tristate "Marvell USB2.0 Device Controller" - depends on HAS_DMA - help - Marvell Socs (including PXA and MMP series) include a high speed - USB2.0 OTG controller, which can be configured as high speed or - full speed USB peripheral. - -config USB_MV_U3D - depends on HAS_DMA - tristate "MARVELL PXA2128 USB 3.0 controller" - help - MARVELL PXA2128 Processor series include a super speed USB3.0 device - controller, which support super speed USB peripheral. - config USB_SNP_CORE depends on (USB_AMD5536UDC || USB_SNP_UDC_PLAT) depends on HAS_DMA
@@ -326,29 +305,6 @@ config USB_FSL_QE Set CONFIG_USB_GADGET to "m" to build this driver as a dynamically linked module called "fsl_qe_udc". -config USB_NET2272 - depends on HAS_IOMEM - tristate "PLX NET2272" - help - PLX NET2272 is a USB peripheral controller which supports - both full and high speed USB 2.0 data transfers. - - It has three configurable endpoints, as well as endpoint zero - (for control transfer). - Say "y" to link the driver statically, or "m" to build a - dynamically linked module called "net2272" and force all - gadget drivers to also be dynamically linked. - -config USB_NET2272_DMA - bool "Support external DMA controller" - depends on USB_NET2272 && HAS_DMA - help - The NET2272 part can optionally support an external DMA - controller, but your board has to have support in the - driver itself. - - If unsure, say "N" here. The driver works fine in PIO mode. - config USB_NET2280 tristate "NetChip NET228x / PLX USB3x8x" depends on USB_PCI
drivers/usb/gadget/udc/Makefile +0 -5
@@ -9,7 +9,6 @@ udc-core-y := core.o trace.o # obj-$(CONFIG_USB_GADGET) += udc-core.o obj-$(CONFIG_USB_DUMMY_HCD) += dummy_hcd.o -obj-$(CONFIG_USB_NET2272) += net2272.o obj-$(CONFIG_USB_NET2280) += net2280.o obj-$(CONFIG_USB_SNP_CORE) += snps_udc_core.o obj-$(CONFIG_USB_AMD5536UDC) += amd5536udc_pci.o
@@ -31,10 +30,6 @@ obj-$(CONFIG_USB_RENESAS_USBF) += renesas_usbf.o obj-$(CONFIG_USB_FSL_QE) += fsl_qe_udc.o obj-$(CONFIG_USB_LPC32XX) += lpc32xx_udc.o obj-$(CONFIG_USB_EG20T) += pch_udc.o -obj-$(CONFIG_USB_MV_UDC) += mv_udc.o -mv_udc-y := mv_udc_core.o -obj-$(CONFIG_USB_FUSB300) += fusb300_udc.o -obj-$(CONFIG_USB_MV_U3D) += mv_u3d_core.o obj-$(CONFIG_USB_GR_UDC) += gr_udc.o obj-$(CONFIG_USB_GADGET_XILINX) += udc-xilinx.o obj-$(CONFIG_USB_SNP_UDC_PLAT) += snps_udc_plat.o
drivers/usb/gadget/udc/fusb300_udc.c deleted +0 -1516
1,516 lines not on this page · raw message
drivers/usb/gadget/udc/fusb300_udc.h deleted +0 -675
675 lines not on this page · raw message
drivers/usb/gadget/udc/mv_u3d.h deleted +0 -317
317 lines not on this page · raw message
drivers/usb/gadget/udc/mv_u3d_core.c deleted +0 -2062
413 lines not on this page · raw message
drivers/usb/gadget/udc/mv_udc.h deleted +0 -309
309 lines not on this page · raw message
drivers/usb/gadget/udc/mv_udc_core.c deleted +0 -2426
2,426 lines not on this page · raw message
drivers/usb/gadget/udc/net2272.c deleted +0 -2723
2,723 lines not on this page · raw message
drivers/usb/gadget/udc/net2272.h deleted +0 -584
584 lines not on this page · raw message
drivers/usb/phy/phy-mv-usb.c deleted +0 -881
881 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.47.2
Part of the diff is not shown here. View the raw message.