public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Revert "usb: phy: add usb phy notify port status API"
@ 2023-11-06 11:06 Johan Hovold
  2023-11-06 11:06 ` [PATCH 1/3] Revert "phy: realtek: usb: Add driver for the Realtek SoC USB 3.0 PHY" Johan Hovold
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Johan Hovold @ 2023-11-06 11:06 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Vinod Koul, Kishon Vijay Abraham I, Stanley Chang, linux-kernel,
	linux-phy, linux-usb, Johan Hovold

The recently added Realtek PHY drivers depend on the new port status
notification mechanism which was built on the deprecated USB PHY
implementation and devicetree binding.

Specifically, using these PHYs would require describing the very same
PHY using both the generic "phy" property and the deprecated "usb-phy"
property which is clearly wrong.

We should not be building new functionality on top of the legacy USB PHY
implementation even if it is currently stuck in some kind of
transitional limbo.

Revert the new Realtek PHY drivers for now so that the port status
notification interface can be reverted and replaced before we dig
ourselves into an even deeper hole with this PHY mess.

Note that there are no upstream users of these PHYs and the drivers were
only included in 6.6 so there should still be time to undo this.

Preferably these should go in through Greg's tree for 6.7-rc1.

Johan


Johan Hovold (3):
  Revert "phy: realtek: usb: Add driver for the Realtek SoC USB 3.0 PHY"
  Revert "phy: realtek: usb: Add driver for the Realtek SoC USB 2.0 PHY"
  Revert "usb: phy: add usb phy notify port status API"

 drivers/phy/Kconfig                |    1 -
 drivers/phy/Makefile               |    1 -
 drivers/phy/realtek/Kconfig        |   32 -
 drivers/phy/realtek/Makefile       |    3 -
 drivers/phy/realtek/phy-rtk-usb2.c | 1325 ----------------------------
 drivers/phy/realtek/phy-rtk-usb3.c |  761 ----------------
 drivers/usb/core/hub.c             |   23 -
 include/linux/usb/phy.h            |   13 -
 8 files changed, 2159 deletions(-)
 delete mode 100644 drivers/phy/realtek/Kconfig
 delete mode 100644 drivers/phy/realtek/Makefile
 delete mode 100644 drivers/phy/realtek/phy-rtk-usb2.c
 delete mode 100644 drivers/phy/realtek/phy-rtk-usb3.c

-- 
2.41.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-11-07  7:55 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-06 11:06 [PATCH 0/3] Revert "usb: phy: add usb phy notify port status API" Johan Hovold
2023-11-06 11:06 ` [PATCH 1/3] Revert "phy: realtek: usb: Add driver for the Realtek SoC USB 3.0 PHY" Johan Hovold
2023-11-06 11:06 ` [PATCH 2/3] Revert "phy: realtek: usb: Add driver for the Realtek SoC USB 2.0 PHY" Johan Hovold
2023-11-06 11:06 ` [PATCH 3/3] Revert "usb: phy: add usb phy notify port status API" Johan Hovold
2023-11-06 11:15 ` [PATCH 0/3] " Greg Kroah-Hartman
2023-11-06 11:24   ` Vinod Koul
2023-11-06 13:48     ` Greg Kroah-Hartman
2023-11-07  6:44     ` Stanley Chang[昌育德]
2023-11-07  7:02       ` Greg Kroah-Hartman
2023-11-07  7:54         ` Stanley Chang[昌育德]
2023-11-06 11:25   ` Johan Hovold
2023-11-06 13:48     ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox