As discussed during sc8280xp PHY review, rework and split QMP register tables. Create separate files for most of QMP register kinds. The only things left are various DP registers, which will be handled separately. Changes since RFC: - Rebased on top of phy/next Dmitry Baryshkov (28): phy: qcom-qmp: fix the QSERDES_V5_COM_CMN_MODE register phy: qcom-qmp-ufs: remove spurious register write in the msm8996 table phy: qcom-qmp-combo,usb: add support for separate PCS_USB region phy: qcom-qmp-pcie: split pcs_misc region for ipq6018 pcie gen3 phy: qcom-qmp: drop special QMP V2 PCIE gen3 defines phy: qcom-qmp: rename QMP V2 PCS registers phy: qcom-qmp: use QPHY_V4_PCS for ipq6018/ipq8074 PCIe gen3 phy: qcom-qmp: move QSERDES registers to separate header phy: qcom-qmp: move QSERDES V3 registers to separate headers phy: qcom-qmp: move QSERDES V4 registers to separate headers phy: qcom-qmp: move QSERDES V5 registers to separate headers phy: qcom-qmp: move QSERDES PLL registers to separate header phy: qcom-qmp: move PCS V2 registers to separate header phy: qcom-qmp: move PCS V3 registers to separate headers phy: qcom-qmp: move PCS V4 registers to separate headers phy: qcom-qmp: move PCS V5 registers to separate headers phy: qcom-qmp: move PCIE QHP registers to separate header phy: qcom-qmp: split allegedly 4.20 and 5.20 TX/RX registers phy: qcom-qmp: split allegedly 4.20 and 5.20 PCS registers phy: qcom-qmp: split PCS_UFS V3 symbols to separate header phy: qcom-qmp: qserdes-com: add missing registers phy: qcom-qmp: qserdes-com-v3: add missing registers phy: qcom-qmp: qserdes-com-v4: add missing registers phy: qcom-qmp: qserdes-com-v5: add missing registers phy: qcom-qmp: pcs-v3: add missing registers phy: qcom-qmp: pcs-pcie-v4: add missing registers phy: qcom-qmp-usb: replace FLL layout writes for msm8996 phy: qcom-qmp-usb: define QPHY_V2_PCS_PLL_LOCK_CHK_DLY_TIME register drivers/phy/qualcomm/phy-qcom-qmp-combo.c | 57 +- .../phy/qualcomm/phy-qcom-qmp-pcie-msm8996.c | 34 +- drivers/phy/qualcomm/phy-qcom-qmp-pcie-qhp.h | 123 ++ drivers/phy/qualcomm/phy-qcom-qmp-pcie.c | 267 ++-- .../phy/qualcomm/phy-qcom-qmp-pcs-misc-v3.h | 17 + .../phy/qualcomm/phy-qcom-qmp-pcs-pcie-v4.h | 72 + .../qualcomm/phy-qcom-qmp-pcs-pcie-v4_20.h | 17 + .../phy/qualcomm/phy-qcom-qmp-pcs-pcie-v5.h | 16 + .../qualcomm/phy-qcom-qmp-pcs-pcie-v5_20.h | 17 + .../phy/qualcomm/phy-qcom-qmp-pcs-ufs-v3.h | 18 + .../phy/qualcomm/phy-qcom-qmp-pcs-ufs-v4.h | 31 + .../phy/qualcomm/phy-qcom-qmp-pcs-ufs-v5.h | 27 + .../phy/qualcomm/phy-qcom-qmp-pcs-usb-v4.h | 34 + .../phy/qualcomm/phy-qcom-qmp-pcs-usb-v5.h | 36 + drivers/phy/qualcomm/phy-qcom-qmp-pcs-v2.h | 46 + drivers/phy/qualcomm/phy-qcom-qmp-pcs-v3.h | 145 ++ drivers/phy/qualcomm/phy-qcom-qmp-pcs-v4.h | 135 ++ drivers/phy/qualcomm/phy-qcom-qmp-pcs-v4_20.h | 15 + drivers/phy/qualcomm/phy-qcom-qmp-pcs-v5.h | 17 + .../qualcomm/phy-qcom-qmp-qserdes-com-v3.h | 111 ++ .../qualcomm/phy-qcom-qmp-qserdes-com-v4.h | 123 ++ .../qualcomm/phy-qcom-qmp-qserdes-com-v5.h | 124 ++ .../phy/qualcomm/phy-qcom-qmp-qserdes-com.h | 140 ++ .../phy/qualcomm/phy-qcom-qmp-qserdes-pll.h | 66 + .../qualcomm/phy-qcom-qmp-qserdes-txrx-v3.h | 68 + .../qualcomm/phy-qcom-qmp-qserdes-txrx-v4.h | 233 ++++ .../phy-qcom-qmp-qserdes-txrx-v4_20.h | 43 + .../qualcomm/phy-qcom-qmp-qserdes-txrx-v5.h | 231 +++ .../phy-qcom-qmp-qserdes-txrx-v5_20.h | 60 + .../phy/qualcomm/phy-qcom-qmp-qserdes-txrx.h | 205 +++ drivers/phy/qualcomm/phy-qcom-qmp-ufs.c | 45 +- drivers/phy/qualcomm/phy-qcom-qmp-usb.c | 153 +- drivers/phy/qualcomm/phy-qcom-qmp.h | 1242 +---------------- 33 files changed, 2488 insertions(+), 1480 deletions(-) create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcie-qhp.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-misc-v3.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-pcie-v4.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-pcie-v4_20.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-pcie-v5.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-pcie-v5_20.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-ufs-v3.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-ufs-v4.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-ufs-v5.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-usb-v4.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-usb-v5.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-v2.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-v3.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-v4.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-v4_20.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-v5.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-com-v3.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-com-v4.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-com-v5.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-com.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-pll.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-txrx-v3.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-txrx-v4.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-txrx-v4_20.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-txrx-v5.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-txrx-v5_20.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-txrx.h -- 2.35.1