After the split of the gigantic QMP PHY driver, individual drivers contained common regster bits definitions. Move them to the global header. While we are at it, also remove register definitions from the phy-qcom-sgmi-eth driver, which is yet another QMP driver with its own embedde register defines. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> --- Changes in v2: - Squashed the outstanding fixup commit - Rebased on top of phy/next - Extended cleanups to the new qmp-usbc driver - Link to v1: https://lore.kernel.org/r/20240109-phy-qmp-merge-common-v1-0-572899a14318@xxxxxxxxxx --- Dmitry Baryshkov (8): phy: qcom: qmp-usb-legacy: drop single-lane support phy: qcom: qmp-usb-legacy: drop qmp_usb_legacy_iomap phy: qcom: qmp: move common functions to common header phy: qcom: qmp: split DP PHY registers to separate headers phy: qcom: qmp: move common bits definitions to common header phy: qcom: qmp-usbc: drop has_pwrdn_delay handling phy: qcom: sgmii-eth: use existing register definitions phy: qcom: sgmii-eth: move PCS registers to separate header drivers/phy/qualcomm/phy-qcom-edp.c | 3 +- drivers/phy/qualcomm/phy-qcom-qmp-combo.c | 109 ++---- drivers/phy/qualcomm/phy-qcom-qmp-common.h | 59 +++ drivers/phy/qualcomm/phy-qcom-qmp-dp-com-v3.h | 18 + drivers/phy/qualcomm/phy-qcom-qmp-dp-phy-v3.h | 21 ++ drivers/phy/qualcomm/phy-qcom-qmp-dp-phy-v4.h | 19 + drivers/phy/qualcomm/phy-qcom-qmp-dp-phy-v5.h | 13 + drivers/phy/qualcomm/phy-qcom-qmp-dp-phy-v6.h | 13 + drivers/phy/qualcomm/phy-qcom-qmp-dp-phy.h | 62 ++++ drivers/phy/qualcomm/phy-qcom-qmp-pcie-msm8996.c | 70 +--- drivers/phy/qualcomm/phy-qcom-qmp-pcie.c | 90 +---- drivers/phy/qualcomm/phy-qcom-qmp-pcs-sgmii.h | 20 + drivers/phy/qualcomm/phy-qcom-qmp-ufs.c | 72 +--- drivers/phy/qualcomm/phy-qcom-qmp-usb-legacy.c | 76 +--- drivers/phy/qualcomm/phy-qcom-qmp-usb.c | 97 +---- drivers/phy/qualcomm/phy-qcom-qmp-usbc.c | 102 +----- drivers/phy/qualcomm/phy-qcom-qmp.h | 111 ++---- drivers/phy/qualcomm/phy-qcom-sgmii-eth.c | 441 ++++++++++------------- 18 files changed, 513 insertions(+), 883 deletions(-) --- base-commit: 01af33cc9894b4489fb68fa35c40e9fe85df63dc change-id: 20240108-phy-qmp-merge-common-d681dd1d1995 Best regards, -- Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>