[PATCH 0/3] Revert "usb: phy: add usb phy notify port status API"

From: Johan Hovold
Date: Mon Nov 06 2023 - 06:06:52 EST


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