mbox series

[v2,00/12] phy: qcom-qmp: rework register layout tables

Message ID 20220930112926.638543-1-dmitry.baryshkov@linaro.org
Headers show
Series phy: qcom-qmp: rework register layout tables | expand

Message

Dmitry Baryshkov Sept. 30, 2022, 11:29 a.m. UTC
Rework register layout tables in QMP PHY drivers to use defined symbolic
names rather than bare numbers. Also rename each register layout array
to name the exact QMP version. While doing this, drop few unused
registers and apply other misc cleanups.

Dependencies:
 - https://lore.kernel.org/linux-arm-msm/20220929092916.23068-1-johan+linaro@kernel.org/
 - https://lore.kernel.org/linux-arm-msm/20220929190017.529207-1-dmitry.baryshkov@linaro.org/

Changes since v1:
 - Rebased on top v2 of Johan's patchset rather than including a set of
   patches from him
 - Fixed the ipq8074 regs layout name

Dmitry Baryshkov (12):
  phy: qcom-qmp-pcie: rework regs layout arrays
  phy: qcom-qmp-pcie: rename regs layout arrays
  phy: qcom-qmp-pcie-msm8996: rework regs layout arrays
  phy: qcom-qmp-ufs: split UFS-specific v2 PCS registers to a separate
    header
  phy: qcom-qmp-ufs: rework regs layout arrays
  phy: qcom-qmp-ufs: rename regs layout arrays
  phy: qcom-qmp-usb: remove QPHY_PCS_LFPS_RXTERM_IRQ_STATUS reg
  phy: qcom-qmp-usb: remove QPHY_PCS_MISC_TYPEC_CTRL reg
  phy: qcom-qmp-usb: rework regs layout arrays
  phy: qcom-qmp-combo: remove QPHY_PCS_LFPS_RXTERM_IRQ_STATUS reg
  phy: qcom-qmp-combo: rework regs layout arrays
  phy: qcom-qmp: move type-specific headers to particular driver

 drivers/phy/qualcomm/phy-qcom-qmp-combo.c     | 32 +++++----
 .../phy/qualcomm/phy-qcom-qmp-pcie-msm8996.c  |  6 +-
 drivers/phy/qualcomm/phy-qcom-qmp-pcie.c      | 65 +++++++++----------
 .../phy/qualcomm/phy-qcom-qmp-pcs-ufs-v2.h    | 25 +++++++
 .../phy/qualcomm/phy-qcom-qmp-pcs-ufs-v3.h    |  3 +
 .../phy/qualcomm/phy-qcom-qmp-pcs-ufs-v5.h    |  4 ++
 drivers/phy/qualcomm/phy-qcom-qmp-pcs-v2.h    | 19 +++---
 drivers/phy/qualcomm/phy-qcom-qmp-ufs.c       | 65 ++++++++++---------
 drivers/phy/qualcomm/phy-qcom-qmp-usb.c       | 64 +++++++++---------
 drivers/phy/qualcomm/phy-qcom-qmp.h           | 13 ----
 10 files changed, 154 insertions(+), 142 deletions(-)
 create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-ufs-v2.h


base-commit: 9aa0dade8f6b4cdcbb114e1a06037939ee3238bc
prerequisite-patch-id: a215a53b87b45ab7b9d05f5f16c7b482ae028718
prerequisite-patch-id: 010c26cf77c7f56fedaaa66a1f8fadc9939aae71
prerequisite-patch-id: 2e8310286716f8b3bcf331853d3c5a1797c032cb
prerequisite-patch-id: d775ed1ac260031e17fd271ab2cb34313a8b6c53
prerequisite-patch-id: 930f311572ae61bd84705076758e33034e04ea92
prerequisite-patch-id: aca076a9c695e1467647de0b4b84d952bed6c16d
prerequisite-patch-id: 73e929b730cac661568299f48d82306d8261ebcf
prerequisite-patch-id: 24317186315a38af3d28e4982885d845863c6e37
prerequisite-patch-id: c21d2af14dbafd48588286d2fb13ea9d53073798
prerequisite-patch-id: 5d4e6d0b71cf42a8119ef7ea89927fde78272dae
prerequisite-patch-id: 3b233d85169099f8d1de48cebee66123d100ec85
prerequisite-patch-id: 7439ce7f28477d7e47b66425fad86ecfd0854c7a