mbox series

[v2,0/7] musb: Update to use generic PHY

Message ID 20221026182657.146630-1-paul@crapouillou.net
Headers show
Series musb: Update to use generic PHY | expand

Message

Paul Cercueil Oct. 26, 2022, 6:26 p.m. UTC
Hi,

This patchset updates the musb core to add support for the generic PHY
framework.

It also updates the jz4740 driver to use the generic PHY driver
(drivers/phy/ingenic/phy-ingenic-usb.c) instead of the USB PHY one
(drivers/usb/phy/phy-jz4770.c) which is then removed.

If you are looking for the V1, it was sent two years ago [1] and
received zero feedback.

Anyway, V1 had only patches 1-4 and if I'm not mistaken the V2 patches
are exactly the same.

Patches 5-7 are new, and update the jz4740 driver to support generic
PHYs, and ultimately remove the old phy-jz4770 USB PHY driver which has
been replaced.

Cheers,
-Paul

[1]: https://lore.kernel.org/all/20201207130332.120681-1-paul@crapouillou.net/

Paul Cercueil (7):
  usb: musb: Add and use inline functions musb_{get,set}_state
  usb: musb: Add and use inline function musb_otg_state_string
  usb: musb: Allow running without CONFIG_USB_PHY
  usb: musb: Support setting OTG mode using generic PHY
  usb: musb: jz4740: Don't disable external hubs
  usb: musb: jz4740: Support the generic PHY framework
  usb: phy: jz4770: Remove driver

 drivers/usb/musb/Kconfig        |   1 -
 drivers/usb/musb/jz4740.c       |  62 +++++-
 drivers/usb/musb/musb_core.c    | 107 +++++-----
 drivers/usb/musb/musb_core.h    |  24 +++
 drivers/usb/musb/musb_debugfs.c |   6 +-
 drivers/usb/musb/musb_gadget.c  |  61 +++---
 drivers/usb/musb/musb_host.c    |  18 +-
 drivers/usb/musb/musb_virthub.c |  33 ++-
 drivers/usb/phy/Kconfig         |   8 -
 drivers/usb/phy/Makefile        |   1 -
 drivers/usb/phy/phy-jz4770.c    | 353 --------------------------------
 11 files changed, 195 insertions(+), 479 deletions(-)
 delete mode 100644 drivers/usb/phy/phy-jz4770.c