When investigating an issue related to the recent addition of
generic-phy support to USB core, I happened to take a closer look at the
legacy-phy support in usb_add_hcd() as well.

Turns out this code hasn't been used since 2016 when OMAP dropped
support for non-DT boot. Specifically, the interface for associating
controllers with phys in board files and platform code has since been
unused and consequently all legacy phy lookups using usb_get_phy_dev()
has also been failing with -ENODEV on mainline kernels.

This series rips it all out.


Johan Hovold (6):
  USB: phy: drop unused legacy controller-phy bind helper
  USB: core: hcd: drop support for legacy phys
  USB: ehci-omap: drop unused legacy phy support
  USB: musb: omap2430: drop non-DT support
  USB: renesas_usbhs: drop support for legacy phys
  USB: phy: drop legacy board-file support

 drivers/usb/core/hcd.c             |  38 +--------
 drivers/usb/host/ehci-omap.c       |   5 +-
 drivers/usb/musb/omap2430.c        |  95 ++++++++++-----------
 drivers/usb/phy/phy.c              | 133 +----------------------------
 drivers/usb/renesas_usbhs/common.h |   1 -
 drivers/usb/renesas_usbhs/rcar2.c  |  29 -------
 include/linux/usb/hcd.h            |   1 -
 include/linux/usb/phy.h            |  36 --------
 8 files changed, 51 insertions(+), 287 deletions(-)


To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to