[PATCH 0/6] phy: qcom-qmp: Clean up QSERDES COM and TXRX register headers

Shawn Guo posted 6 patches 3 weeks, 3 days ago
.../phy/qualcomm/phy-qcom-qmp-pcie-msm8996.c  | 110 +++----
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c      | 212 ++++++------
.../qualcomm/phy-qcom-qmp-qserdes-com-v2.h    |   3 +
.../phy/qualcomm/phy-qcom-qmp-qserdes-com.h   | 140 --------
.../qualcomm/phy-qcom-qmp-qserdes-txrx-v2.h   | 247 ++++++++++----
.../phy/qualcomm/phy-qcom-qmp-qserdes-txrx.h  | 205 ------------
drivers/phy/qualcomm/phy-qcom-qmp-ufs.c       | 254 +++++++-------
drivers/phy/qualcomm/phy-qcom-qmp-usb.c       | 262 +++++++--------
drivers/phy/qualcomm/phy-qcom-qmp-usbc.c      | 310 +++++++++---------
drivers/phy/qualcomm/phy-qcom-qmp.h           |   3 -
10 files changed, 769 insertions(+), 977 deletions(-)
delete mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-com.h
delete mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-txrx.h
[PATCH 0/6] phy: qcom-qmp: Clean up QSERDES COM and TXRX register headers
Posted by Shawn Guo 3 weeks, 3 days ago
There are some duplications around QSERDES COM and TXRX v2/v3 register
definitions.  The series tries to clean them up, and also rename
v2 registers/headers to make the version explicit, just like all other
versions of the QSERDES registers.

No functional changes is expected.

Shawn Guo (6):
  phy: qcom-qmp: Add missing QSERDES COM v2 registers
  phy: qcom-qmp: Use explicit QSERDES COM v2 register definitions
  phy: qcom-qmp-usbc: Use register definitions in qserdes-txrx-v3
  phy: qcom-qmp-usbc: Rename QCS615 DP PHY variables and functions
  phy: qcom-qmp: Drop unused register headers
  phy: qcom-qmp: Make QSERDES TXRX v2 registers explicit

 .../phy/qualcomm/phy-qcom-qmp-pcie-msm8996.c  | 110 +++----
 drivers/phy/qualcomm/phy-qcom-qmp-pcie.c      | 212 ++++++------
 .../qualcomm/phy-qcom-qmp-qserdes-com-v2.h    |   3 +
 .../phy/qualcomm/phy-qcom-qmp-qserdes-com.h   | 140 --------
 .../qualcomm/phy-qcom-qmp-qserdes-txrx-v2.h   | 247 ++++++++++----
 .../phy/qualcomm/phy-qcom-qmp-qserdes-txrx.h  | 205 ------------
 drivers/phy/qualcomm/phy-qcom-qmp-ufs.c       | 254 +++++++-------
 drivers/phy/qualcomm/phy-qcom-qmp-usb.c       | 262 +++++++--------
 drivers/phy/qualcomm/phy-qcom-qmp-usbc.c      | 310 +++++++++---------
 drivers/phy/qualcomm/phy-qcom-qmp.h           |   3 -
 10 files changed, 769 insertions(+), 977 deletions(-)
 delete mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-com.h
 delete mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-txrx.h

-- 
2.43.0
Re: [PATCH 0/6] phy: qcom-qmp: Clean up QSERDES COM and TXRX register headers
Posted by Shawn Guo 6 days, 20 hours ago
On Sat, Mar 14, 2026 at 01:13:19PM +0800, Shawn Guo wrote:
> There are some duplications around QSERDES COM and TXRX v2/v3 register
> definitions.  The series tries to clean them up, and also rename
> v2 registers/headers to make the version explicit, just like all other
> versions of the QSERDES registers.
> 
> No functional changes is expected.
> 
> Shawn Guo (6):
>   phy: qcom-qmp: Add missing QSERDES COM v2 registers
>   phy: qcom-qmp: Use explicit QSERDES COM v2 register definitions
>   phy: qcom-qmp-usbc: Use register definitions in qserdes-txrx-v3
>   phy: qcom-qmp-usbc: Rename QCS615 DP PHY variables and functions
>   phy: qcom-qmp: Drop unused register headers
>   phy: qcom-qmp: Make QSERDES TXRX v2 registers explicit
> 
>  .../phy/qualcomm/phy-qcom-qmp-pcie-msm8996.c  | 110 +++----
>  drivers/phy/qualcomm/phy-qcom-qmp-pcie.c      | 212 ++++++------
>  .../qualcomm/phy-qcom-qmp-qserdes-com-v2.h    |   3 +
>  .../phy/qualcomm/phy-qcom-qmp-qserdes-com.h   | 140 --------
>  .../qualcomm/phy-qcom-qmp-qserdes-txrx-v2.h   | 247 ++++++++++----
>  .../phy/qualcomm/phy-qcom-qmp-qserdes-txrx.h  | 205 ------------
>  drivers/phy/qualcomm/phy-qcom-qmp-ufs.c       | 254 +++++++-------
>  drivers/phy/qualcomm/phy-qcom-qmp-usb.c       | 262 +++++++--------
>  drivers/phy/qualcomm/phy-qcom-qmp-usbc.c      | 310 +++++++++---------
>  drivers/phy/qualcomm/phy-qcom-qmp.h           |   3 -
>  10 files changed, 769 insertions(+), 977 deletions(-)
>  delete mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-com.h
>  delete mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-txrx.h

Hi Vinod,

Did you get a chance to look at this, or is there anything I need to do
on my end for this to be applied?

Shawn