[PATCH v2 0/5] phy: qcom-qmp-usb: split away legacy USB+DP code
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Sun May 21 12:36:30 PDT 2023
While working on the QMP binding cleanup, I noticed that USB QMP driver
supports both simple USB PHYs (which should be updated) and USB-only
part of USB+DP PHYs (which are largely legacy and don't need to be
updated). To ease further cleanup perform a quick cleanup of the last
remaining USB+DP PHY (on sm8150 platform) and split the legacy codepath
from the USB QMP PHY driver.
Dmitry Baryshkov (5):
dt-bindings: phy: qcom,sc7180-qmp-usb3-dp-phy: add sm8150 USB+DP PHY
phy: qcom-qmp-combo: add support for the USB+DP PHY on SM8150 platform
arm64: dts: qcom: sm8150: turn first USB PHY into USB+DP PHY
dt-bindings: phy: qcom,msm8996-qmp-usb3-phy: drop legacy bindings
phy: qcom-qmp-usb: split off the legacy USB+dp_com support
.../phy/qcom,msm8996-qmp-usb3-phy.yaml | 80 -
.../phy/qcom,sc7180-qmp-usb3-dp-phy.yaml | 2 +
arch/arm64/boot/dts/qcom/sm8150.dtsi | 17 +-
drivers/phy/qualcomm/Kconfig | 10 +
drivers/phy/qualcomm/Makefile | 1 +
drivers/phy/qualcomm/phy-qcom-qmp-combo.c | 4 +
.../phy/qualcomm/phy-qcom-qmp-usb-legacy.c | 1407 +++++++++++++++++
drivers/phy/qualcomm/phy-qcom-qmp-usb.c | 556 -------
8 files changed, 1437 insertions(+), 640 deletions(-)
create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-usb-legacy.c
--
2.39.2
More information about the linux-phy
mailing list