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

commit 258ea41c926b7b3a16d0d7aa210a1401c4a1601b upstream.

This reverts commit adda6e82a7de7d6d478f6c8ef127f0ac51c510a1.

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: adda6e82a7de ("phy: realtek: usb: Add driver for the Realtek SoC USB 3.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-2-johan+linaro@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/phy/realtek/Kconfig
drivers/phy/realtek/Makefile
drivers/phy/realtek/phy-rtk-usb3.c [deleted file]