[PATCH 0/8] phy: qcom: merge common register defines in QMP drivers

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Mon Jan 8 19:06:30 PST 2024


On Tue, 9 Jan 2024 at 05:04, Dmitry Baryshkov
<dmitry.baryshkov at linaro.org> wrote:
>
> 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 at linaro.org>
> ---
> 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
>       fixup! phy: qcom: qmp: move common functions to common header

I haven't noticed the non-squashed fixup. I'll squash it for v2.

>       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        | 127 ++-----
>  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          | 101 +-----
>  drivers/phy/qualcomm/phy-qcom-qmp.h              | 111 ++----
>  drivers/phy/qualcomm/phy-qcom-sgmii-eth.c        | 441 ++++++++++-------------
>  17 files changed, 516 insertions(+), 800 deletions(-)
> ---
> base-commit: 39676dfe52331dba909c617f213fdb21015c8d10
> change-id: 20240108-phy-qmp-merge-common-d681dd1d1995
>
> Best regards,
> --
> Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
>


-- 
With best wishes
Dmitry



More information about the linux-phy mailing list