[PATCH v2 0/5] phy: qcom: Add SC8280XP UNI and COMBO USB phys

From: Bjorn Andersson
Date: Tue Jun 07 2022 - 20:43:26 EST


The Qualcomm SC8280XP has two pairs of USB phys; a pair of combo phys and a
pair of uni phys. Introduce support for these.

This is based ontop of Dmitry's refactoring of the QMP driver:
https://lore.kernel.org/all/20220602070909.1666068-1-dmitry.baryshkov@xxxxxxxxxx/

A first version of this series was posted with only the UNI phy, this fixes a
few comments and add the combo phy as well.

Bjorn Andersson (5):
dt-bindings: phy: qcom,qmp: Add compatible for SC8280XP USB phys
phy: qcom-qmp: Add USB3 5NM QMP UNI registers
phy: qcom-qmp: Add USB4 5NM QMP combo PHY registers
phy: qcom-qmp: Add SC8280XP USB3 UNI phy
phy: qcom-qmp: Add sc8280xp USB/DP combo phys

.../devicetree/bindings/phy/qcom,qmp-phy.yaml | 2 +
.../bindings/phy/qcom,qmp-usb3-dp-phy.yaml | 1 +
drivers/phy/qualcomm/phy-qcom-qmp-combo.c | 205 +++
drivers/phy/qualcomm/phy-qcom-qmp-usb.c | 138 ++
drivers/phy/qualcomm/phy-qcom-qmp.h | 13 +
.../phy/qualcomm/phy-qcom-usb3-5nm-qmp-uni.h | 617 +++++++
.../qualcomm/phy-qcom-usb4-5nm-qmp-combo.h | 1547 +++++++++++++++++
7 files changed, 2523 insertions(+)
create mode 100644 drivers/phy/qualcomm/phy-qcom-usb3-5nm-qmp-uni.h
create mode 100644 drivers/phy/qualcomm/phy-qcom-usb4-5nm-qmp-combo.h

--
2.35.1