2022-03-26 18:34:36

by Bhupesh Sharma

[permalink] [raw]
Subject: [PATCH v4 0/2] pci: Add PCIe support for SM8150 SoC

Changes since v3:
-----------------
- v3 can be found here: https://lore.kernel.org/linux-arm-msm/[email protected]/
- Broke down the patchset into 3 separate patchsets for each tree,
so that the patch(es) can be easily reviewed and merged by respective
maintainers.
- This patchset adds the driver / binding related PCIe support for
SM8150 SoC.

Hi Lorenzo,

This series adds driver / binding support for PCIe controllers found
on Qualcomm SM8150 SoC. There are 2 PCIe instances on this SoC each with
different PHYs. The PCIe controller and PHYs are mostly compatible with
the ones found on SM8250 SoC, hence the old drivers are modified to add
the support.

This series has been tested on SA8155p ADP board with QCA6696 chipset connected
onboard.

Cc: Bjorn Andersson <[email protected]>
Cc: [email protected]

Bhupesh Sharma (2):
dt-bindings: pci: qcom: Document PCIe bindings for SM8150 SoC
PCI: qcom: Add SM8150 SoC support

Documentation/devicetree/bindings/pci/qcom,pcie.txt | 5 +++--
drivers/pci/controller/dwc/pcie-qcom.c | 8 ++++++++
2 files changed, 11 insertions(+), 2 deletions(-)

--
2.35.1


2022-03-28 01:22:27

by Bhupesh Sharma

[permalink] [raw]
Subject: [PATCH v4 1/2] dt-bindings: pci: qcom: Document PCIe bindings for SM8150 SoC

Document the PCIe DT bindings for SM8150 SoC. The PCIe IP is similar to
the one used on SM8250.

Cc: Lorenzo Pieralisi <[email protected]>
Cc: Bjorn Andersson <[email protected]>
Acked-by: Rob Herring <[email protected]>
Signed-off-by: Bhupesh Sharma <[email protected]>
---
Documentation/devicetree/bindings/pci/qcom,pcie.txt | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.txt b/Documentation/devicetree/bindings/pci/qcom,pcie.txt
index 0adb56d5645e..fd8b6d1912e7 100644
--- a/Documentation/devicetree/bindings/pci/qcom,pcie.txt
+++ b/Documentation/devicetree/bindings/pci/qcom,pcie.txt
@@ -14,6 +14,7 @@
- "qcom,pcie-qcs404" for qcs404
- "qcom,pcie-sc8180x" for sc8180x
- "qcom,pcie-sdm845" for sdm845
+ - "qcom,pcie-sm8150" for sm8150
- "qcom,pcie-sm8250" for sm8250
- "qcom,pcie-sm8450-pcie0" for PCIe0 on sm8450
- "qcom,pcie-sm8450-pcie1" for PCIe1 on sm8450
@@ -159,7 +160,7 @@
- "pipe" PIPE clock

- clock-names:
- Usage: required for sc8180x and sm8250
+ Usage: required for sc8180x, sm8150 and sm8250
Value type: <stringlist>
Definition: Should contain the following entries
- "aux" Auxiliary clock
@@ -266,7 +267,7 @@
- "ahb" AHB reset

- reset-names:
- Usage: required for sc8180x, sdm845, sm8250 and sm8450
+ Usage: required for sc8180x, sdm845, sm8150, sm8250 and sm8450
Value type: <stringlist>
Definition: Should contain the following entries
- "pci" PCIe core reset
--
2.35.1

2022-04-08 11:56:13

by Lorenzo Pieralisi

[permalink] [raw]
Subject: Re: [PATCH v4 0/2] pci: Add PCIe support for SM8150 SoC

On Sat, 26 Mar 2022 11:38:08 +0530, Bhupesh Sharma wrote:
> Changes since v3:
> -----------------
> - v3 can be found here: https://lore.kernel.org/linux-arm-msm/[email protected]/
> - Broke down the patchset into 3 separate patchsets for each tree,
> so that the patch(es) can be easily reviewed and merged by respective
> maintainers.
> - This patchset adds the driver / binding related PCIe support for
> SM8150 SoC.
>
> [...]

Applied to pci/qcom, thanks!

[1/2] dt-bindings: pci: qcom: Document PCIe bindings for SM8150 SoC
https://git.kernel.org/lpieralisi/pci/c/f52d2a0f0d
[2/2] PCI: qcom: Add SM8150 SoC support
https://git.kernel.org/lpieralisi/pci/c/3007ba831c

Thanks,
Lorenzo