[PATCH v2 0/6] USB: legacy-phy spring cleaning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


Changes in v2
 - Reword the commit message for renesas_usbhs in order to highlight
   that the legacy API is still being used in gadget mode as noted by
   Yoshihiro Shimoda (whose ack is also added).


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 unused legacy-phy support
  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(-)

-- 
2.17.0

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



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux