linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 00/18] Qcom PCIe cleanups and improvements
@ 2023-03-15  6:42 Manivannan Sadhasivam
  2023-03-15  6:42 ` [PATCH v4 01/18] PCI: qcom: Remove PCIE20_ prefix from register definitions Manivannan Sadhasivam
                   ` (17 more replies)
  0 siblings, 18 replies; 22+ messages in thread
From: Manivannan Sadhasivam @ 2023-03-15  6:42 UTC (permalink / raw)
  To: andersson, lpieralisi, kw, krzysztof.kozlowski+dt, robh
  Cc: konrad.dybcio, linux-arm-msm, devicetree, linux-pci, linux-kernel,
	quic_srichara, Manivannan Sadhasivam

Hi,

This series brings in several code cleanups and improvements to the
Qualcomm PCIe controller drivers (RC and EP). The cleanup part mostly
cleans up the bitfield definitions and transitions to bulk APIs for clocks,
and resets. The improvement part adds the debugfs entries to track link
transition counts in RC driver.

Testing
-------

This series has been tested on SDM845, SM8250, SC8280XP, IPQ4019 based
platforms.

Merging Strategy
----------------

Binding and driver patches through PCI tree and DTS patches through Qcom
tree.

NOTE: For the sake of maintaining dependency, I've clubbed both cleanup and
improvement patches in the same series. If any of the maintainers prefer to
have them splitted, please let me know.

Thanks,
Mani

Changes in v4:

* Dropped the debugfs patch for v2.4.0 as the registers only expose the status
  and not the transition count which is not useful
* Modified the existing debugfs patch to be applicable for all SoCs that define
  "mhi" region

Changes in v3:

* Introduced init_debugfs callback for defining the debugfs interface specific
  to IP versions
* Added a debugfs patch for v2.4.0
* Added a patch to rename qcom_pcie_config_sid_sm8250() function
* Added tested-by for patch 11/19

Changes in v2:

* Moved the "mhi" region to last in the binding and dtsi's
* Dropped the patches renaming the "mmio" region

Manivannan Sadhasivam (18):
  PCI: qcom: Remove PCIE20_ prefix from register definitions
  PCI: qcom: Sort and group registers and bitfield definitions
  PCI: qcom: Use bitfield definitions for register fields
  PCI: qcom: Add missing macros for register fields
  PCI: qcom: Use lower case for hex
  PCI: qcom: Use bulk reset APIs for handling resets for IP rev 2.1.0
  PCI: qcom: Use bulk clock APIs for handling clocks for IP rev 1.0.0
  PCI: qcom: Use bulk clock APIs for handling clocks for IP rev 2.3.2
  PCI: qcom: Use bulk clock APIs for handling clocks for IP rev 2.3.3
  PCI: qcom: Use bulk reset APIs for handling resets for IP rev 2.3.3
  PCI: qcom: Use bulk reset APIs for handling resets for IP rev 2.4.0
  PCI: qcom: Use macros for defining total no. of clocks & supplies
  PCI: qcom: Rename qcom_pcie_config_sid_sm8250() to reflect IP version
  dt-bindings: PCI: qcom: Add "mhi" register region to supported SoCs
  arm64: dts: qcom: sdm845: Add "mhi" region to the PCIe nodes
  arm64: dts: qcom: sm8250: Add "mhi" region to the PCIe nodes
  arm64: dts: qcom: sc8280xp: Add "mhi" region to the PCIe nodes
  PCI: qcom: Expose link transition counts via debugfs

 .../devicetree/bindings/pci/qcom,pcie.yaml    |   12 +-
 arch/arm64/boot/dts/qcom/sc8280xp.dtsi        |   25 +-
 arch/arm64/boot/dts/qcom/sdm845.dtsi          |   10 +-
 arch/arm64/boot/dts/qcom/sm8250.dtsi          |   15 +-
 drivers/pci/controller/dwc/pcie-qcom.c        | 1156 +++++++----------
 5 files changed, 476 insertions(+), 742 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2023-03-16  7:59 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-15  6:42 [PATCH v4 00/18] Qcom PCIe cleanups and improvements Manivannan Sadhasivam
2023-03-15  6:42 ` [PATCH v4 01/18] PCI: qcom: Remove PCIE20_ prefix from register definitions Manivannan Sadhasivam
2023-03-15  6:42 ` [PATCH v4 02/18] PCI: qcom: Sort and group registers and bitfield definitions Manivannan Sadhasivam
2023-03-15  6:42 ` [PATCH v4 03/18] PCI: qcom: Use bitfield definitions for register fields Manivannan Sadhasivam
2023-03-15  6:42 ` [PATCH v4 04/18] PCI: qcom: Add missing macros " Manivannan Sadhasivam
2023-03-15  6:42 ` [PATCH v4 05/18] PCI: qcom: Use lower case for hex Manivannan Sadhasivam
2023-03-15 10:34   ` Konrad Dybcio
2023-03-15 13:31     ` Manivannan Sadhasivam
2023-03-15  6:42 ` [PATCH v4 06/18] PCI: qcom: Use bulk reset APIs for handling resets for IP rev 2.1.0 Manivannan Sadhasivam
2023-03-15  6:42 ` [PATCH v4 07/18] PCI: qcom: Use bulk clock APIs for handling clocks for IP rev 1.0.0 Manivannan Sadhasivam
2023-03-15  6:42 ` [PATCH v4 08/18] PCI: qcom: Use bulk clock APIs for handling clocks for IP rev 2.3.2 Manivannan Sadhasivam
2023-03-15  6:42 ` [PATCH v4 09/18] PCI: qcom: Use bulk clock APIs for handling clocks for IP rev 2.3.3 Manivannan Sadhasivam
2023-03-15  6:42 ` [PATCH v4 10/18] PCI: qcom: Use bulk reset APIs for handling resets " Manivannan Sadhasivam
2023-03-15  6:42 ` [PATCH v4 11/18] PCI: qcom: Use bulk reset APIs for handling resets for IP rev 2.4.0 Manivannan Sadhasivam
2023-03-15  6:42 ` [PATCH v4 12/18] PCI: qcom: Use macros for defining total no. of clocks & supplies Manivannan Sadhasivam
2023-03-15  6:42 ` [PATCH v4 13/18] PCI: qcom: Rename qcom_pcie_config_sid_sm8250() to reflect IP version Manivannan Sadhasivam
2023-03-15  6:42 ` [PATCH v4 14/18] dt-bindings: PCI: qcom: Add "mhi" register region to supported SoCs Manivannan Sadhasivam
2023-03-16  7:58   ` Krzysztof Kozlowski
2023-03-15  6:42 ` [PATCH v4 15/18] arm64: dts: qcom: sdm845: Add "mhi" region to the PCIe nodes Manivannan Sadhasivam
2023-03-15  6:42 ` [PATCH v4 16/18] arm64: dts: qcom: sm8250: " Manivannan Sadhasivam
2023-03-15  6:42 ` [PATCH v4 17/18] arm64: dts: qcom: sc8280xp: " Manivannan Sadhasivam
2023-03-15  6:42 ` [PATCH v4 18/18] PCI: qcom: Expose link transition counts via debugfs Manivannan Sadhasivam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).