mbox series

[0/5] arm64: IPQ6018 PCIe support

Message ID cover.1618916235.git.baruch@tkos.co.il
Headers show
Series arm64: IPQ6018 PCIe support | expand

Message

Baruch Siach April 20, 2021, 11:21 a.m. UTC
This series adds support for the single PCIe lane on IPQ6018 SoCs. The code is 
ported from downstream Codeaurora v5.4 kernel. The main difference from 
downstream code is the split of PCIe registers configuration from .init to 
.post_init, since it requires phy_power_on().

Tested on IPQ6010 based hardware.

Baruch Siach (2):
  dt-bindings: phy: qcom,qmp: Add IPQ60xx PCIe PHY bindings
  dt-bindings: pci: qcom: Document PCIe bindings for IPQ6018 SoC

Selvam Sathappan Periakaruppan (3):
  PCI: qcom: add support for IPQ60xx PCIe controller
  phy: qcom-qmp: add QMP V2 PCIe PHY support for ipq60xx
  arm64: dts: ipq6018: Add pcie support

 .../devicetree/bindings/pci/qcom,pcie.txt     |  24 ++
 .../devicetree/bindings/phy/qcom,qmp-phy.yaml |  25 ++
 arch/arm64/boot/dts/qcom/ipq6018.dtsi         | 109 +++++++
 drivers/pci/controller/dwc/pcie-qcom.c        | 279 ++++++++++++++++++
 drivers/phy/qualcomm/phy-qcom-qmp.c           | 147 +++++++++
 drivers/phy/qualcomm/phy-qcom-qmp.h           | 132 +++++++++
 6 files changed, 716 insertions(+)

Comments

Rob Herring (Arm) April 30, 2021, 3:04 p.m. UTC | #1
On Tue, 20 Apr 2021 14:21:39 +0300, Baruch Siach wrote:
> Add ipq6018 qmp phy device for the single PCIe serdes lane on IPQ60xx

> SoCs.

> 

> Signed-off-by: Baruch Siach <baruch@tkos.co.il>

> ---

>  .../devicetree/bindings/phy/qcom,qmp-phy.yaml | 25 +++++++++++++++++++

>  1 file changed, 25 insertions(+)

> 


Reviewed-by: Rob Herring <robh@kernel.org>
Rob Herring (Arm) April 30, 2021, 3:05 p.m. UTC | #2
On Tue, 20 Apr 2021 14:21:40 +0300, Baruch Siach wrote:
> Document qcom,pcie-ipq6018. This is similar to the ipq8074 with a few

> different clock sources, and one additional reset.

> 

> Signed-off-by: Baruch Siach <baruch@tkos.co.il>

> ---

>  .../devicetree/bindings/pci/qcom,pcie.txt     | 24 +++++++++++++++++++

>  1 file changed, 24 insertions(+)

> 


Reviewed-by: Rob Herring <robh@kernel.org>