Revert "phy: realtek: usb: Add driver for the Realtek SoC USB 2.0 PHY"
authorJohan Hovold <johan+linaro@kernel.org>
Mon, 6 Nov 2023 11:06:53 +0000 (12:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 3 Dec 2023 06:33:08 +0000 (07:33 +0100)
commit7e2cde1813418b39b5e95d86e10d6701dccf18af
tree920d9a3215689d0024706a3211c891b7b24c3055
parente27877990e54bfe4246dd850f7ec8646c999ce58
Revert "phy: realtek: usb: Add driver for the Realtek SoC USB 2.0 PHY"

commit 7a784bcdd7e54f0599da3b2360e472238412623e upstream.

This reverts commit 134e6d25f6bd06071e5aac0a7eefcea6f7713955.

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.

Fixes: 134e6d25f6bd ("phy: realtek: usb: Add driver for the Realtek SoC USB 2.0 PHY")
Cc: stable@vger.kernel.org # 6.6
Cc: Stanley Chang <stanley_chang@realtek.com>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20231106110654.31090-3-johan+linaro@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/phy/Kconfig
drivers/phy/Makefile
drivers/phy/realtek/Kconfig [deleted file]
drivers/phy/realtek/Makefile [deleted file]
drivers/phy/realtek/phy-rtk-usb2.c [deleted file]