mbox series

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

Message ID 20240126-phy-qmp-merge-common-v2-0-a463d0b57836@linaro.org
Headers show
Series phy: qcom: merge common register defines in QMP drivers | expand

Message

Dmitry Baryshkov Jan. 25, 2024, 11:22 p.m. UTC
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@linaro.org>
---
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@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
      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,

Comments

Vinod Koul Jan. 30, 2024, 5:39 p.m. UTC | #1
On Fri, 26 Jan 2024 01:22:34 +0200, Dmitry Baryshkov 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.
> 
> 
> [...]

Applied, thanks!

[1/8] phy: qcom: qmp-usb-legacy: drop single-lane support
      commit: 982f92d5eea4e22e7c445ff5f508de1b63d8baba
[2/8] phy: qcom: qmp-usb-legacy: drop qmp_usb_legacy_iomap
      commit: d3e7e79ccbaa643c264e3e626e05d2eeeba7399f
[3/8] phy: qcom: qmp: move common functions to common header
      commit: 53d7776ea765ffd79f3ccfe627c2de3a0c7c2265
[4/8] phy: qcom: qmp: split DP PHY registers to separate headers
      commit: ef643d55fdeb30299367e0e15ef47945f60d5a11
[5/8] phy: qcom: qmp: move common bits definitions to common header
      commit: c01e03f97c4ea501fbd7dfe3eb7920a9a855e635
[6/8] phy: qcom: qmp-usbc: drop has_pwrdn_delay handling
      commit: fe3ec7600a16649812bf73f058e991429ccc28fb
[7/8] phy: qcom: sgmii-eth: use existing register definitions
      commit: df71879bec89541e1cc8886c6d85ca4d5d61b422
[8/8] phy: qcom: sgmii-eth: move PCS registers to separate header
      commit: 25ee21fc97db6cb7f476464e4aa8616652b3be49

Best regards,