Message ID | 20250514-ipq5018-pcie-v10-0-5b42a8eff7ea@outlook.com |
---|---|
Headers | show |
Series | Enable IPQ5018 PCI support | expand |
On Wed, 14 May 2025 09:52:12 +0400, George Moussalem wrote: > This patch series adds the relevant phy and controller > DT configurations for enabling PCI gen2 support > on IPQ5018. IPQ5018 has two phys and two controllers, > one dual-lane and one single-lane. > > Last patch series (v3) submitted by qcom dates back to August 30, 2024. > As I've worked to add IPQ5018 platform support in OpenWrt, I'm > continuing the efforts to add Linux kernel support. > > [...] Applied, thanks! [1/2] arm64: dts: qcom: ipq5018: Add PCIe related nodes commit: 18a5bf00a02ca54d51266b861518f2844c4f08d7 [2/2] arm64: dts: qcom: ipq5018: Enable PCIe commit: 22667f0b306f9cfa0c5be20166222f0e66272533 Best regards,
This patch series adds the relevant phy and controller DT configurations for enabling PCI gen2 support on IPQ5018. IPQ5018 has two phys and two controllers, one dual-lane and one single-lane. Last patch series (v3) submitted by qcom dates back to August 30, 2024. As I've worked to add IPQ5018 platform support in OpenWrt, I'm continuing the efforts to add Linux kernel support. Signed-off-by: George Moussalem <george.moussalem@outlook.com> --- Changes in v10: - Added bus-range property in root port to suppress build warning: Warning (pci_device_bus_num): /soc@0/pcie@a0000000/pcie@0/wifi@0,0: PCI bus number 1 out of range, expected (0 - 0) - Link to v9: https://lore.kernel.org/r/20250426-ipq5018-pcie-v9-0-1f0dca6c205b@outlook.com Changes in v9: - Added whitespace between pcie phy nodes and curly brackets - Shortened comment in dtsi to fit on 1 line as per Konrad's suggestion - Link to v8: https://lore.kernel.org/r/20250425-ipq5018-pcie-v8-0-03ee75c776dc@outlook.com Changes in v8: - Updated comment in dtsi to remove superfluous reference to ipq5018 as pointed out by Mani - Corrected the size of the 2-lane phy's memory-mapped region as it should be 0x1000 (0x800 per lane). - Matched PCI domain to pcie controller instance (pcie0 -> PCI domain 0 and pcie1 to PCI domain 1) - Link to v7: https://lore.kernel.org/r/20250326-ipq5018-pcie-v7-0-e1828fef06c9@outlook.com Changes in v7: - Updated commit log and added comment in dtsi to explain why max-link-speed is set: IPQ5018 PCIe controllers supports gen3, yet the PHYs support gen2 only. - Carried over Ack and RB-tags - Added dependency with b4 prep on below series which adds the MHI register space (patch 1) which fixes issues reported by Rob's bot: Depends-on: <20250317100029.881286-1-quic_varada@quicinc.com> - Link to v6: https://lore.kernel.org/r/20250321-ipq5018-pcie-v6-0-b7d659a76205@outlook.com Changes in v6: - Fixed issues reported by 'make dt_bindings_check' as per Rob's bot - Removed Krzysztof's Ack-tag on: dt-bindings: phy: qcom: uniphy-pcie: Add ipq5018 compatible - Link to v5: https://lore.kernel.org/r/20250321-ipq5018-pcie-v5-0-aae2caa1f418@outlook.com Changes in v5: - Re-ordered reg and reg-names in dt-bindings and dts to align with other IPQ SoCs - Corrected nr of interrupts in dt-bindings: phy: qcom: Add IPQ5018 SoC - Corrected ranges property of pcie controller nodes - Removed newlines between cells properties in pcie phy nodes - Modified dt bindings to add descriptions and separate conditions for ipq5018 and ipq5332 as they have different nr of clocks and resets As such, also removed Krzysztof's RB tag for validation - Ran dtbs_check and fixed: interrupt-map property in pcie nodes: /soc@0/pcie@80000000:interrupt-map: Cell 13 is not a phandle(0) /soc@0/pcie@a0000000:interrupt-map: Cell 13 is not a phandle(0) - Added missing gpio header file to ipq5018-rdp432-c2.dts - Added MHI register requirement to bindings and to PCIe nodes as per: Depends-on: <20250317100029.881286-2-quic_varada@quicinc.com> - Link to v4: https://lore.kernel.org/r/DS7PR19MB8883F2538AA7D047E13C102B9DD22@DS7PR19MB8883.namprd19.prod.outlook.com Changes in v4: - removed dependency as the following have been applied: dt-bindings: phy: qcom,uniphy-pcie: Document PCIe uniphy phy: qcom: Introduce PCIe UNIPHY 28LP driver dt-bindings: PCI: qcom: Document the IPQ5332 PCIe controller Link: https://lore.kernel.org/all/20250313080600.1719505-1-quic_varada@quicinc.com/ - added Mani's RB tag to: PCI: qcom: Add support for IPQ5018 - Removed power-domains property requirement in dt-bindings for IPQ5018 and removed Krzysztof's RB tag from: dt-bindings: PCI: qcom: Add IPQ5018 SoC - fixed author chain and retained Sricharan Ramabadhran in SoB tags and kept Nitheesh Sekar as the original author - Removed comments as per Konrad's comment in: arm64: dts: qcom: ipq5018: Add PCIe related nodes - Link to v3 submitted by Sricharan Ramabadhran: Link: https://lore.kernel.org/all/20240830081132.4016860-1-quic_srichara@quicinc.com/ - Link to v3, incorrectly versioned: Link: https://lore.kernel.org/all/DS7PR19MB8883BC190797BECAA78EC50F9DCB2@DS7PR19MB8883.namprd19.prod.outlook.com/ Changes in v3 (incorrectly versioned): - Depends on Link: https://patchwork.kernel.org/project/linux-arm-msm/cover/20250220094251.230936-1-quic_varada@quicinc.com/ - Added 8 MSI SPI and 1 global interrupts (Thanks Mani for confirming) - Added hw revision (internal/synopsys) and nr of lanes in patch 4 commit msg - Sorted reg addresses and moved PCIe nodes accordingly - Moved to GIC based interrupts - Added rootport node in controller nodes - Tested on Linksys devices (MX5500/SPNMX56) - Link to v2: https://lore.kernel.org/all/20240827045757.1101194-1-quic_srichara com/ Changes in v3: - Added Reviewed-by tag for patch#1. - Fixed dev_err_probe usage in patch#3. - Added pinctrl/wak pins for pcie1 in patch#6. Changes in v2: - Fixed all review comments from Krzysztof, Robert Marko, Dmitry Baryshkov, Manivannan Sadhasivam, Konrad Dybcio. - Updated the respective patches for their changes. - Link to v1: https://lore.kernel.org/lkml/32389b66-48f3-8ee8-e2f1-1613feed3cc7@gmail.com/T/ --- Nitheesh Sekar (2): arm64: dts: qcom: ipq5018: Add PCIe related nodes arm64: dts: qcom: ipq5018: Enable PCIe arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts | 40 +++++ arch/arm64/boot/dts/qcom/ipq5018.dtsi | 240 ++++++++++++++++++++++++- 2 files changed, 278 insertions(+), 2 deletions(-) --- base-commit: 7d7e7a5f35ac307f45bc9b9f37a52a1f0d69f6cc change-id: 20250321-ipq5018-pcie-1d44abf0e2f5 prerequisite-message-id: <20250317100029.881286-1-quic_varada@quicinc.com> prerequisite-patch-id: 210bd857b2a3ce208c6c66389d2845616dafae60 prerequisite-patch-id: 27a1070861e75cf1dcb03f1e440618bd77b32043 prerequisite-patch-id: 4dfad74bedd5e7b3b628ead0b23baed7de8b88f7 prerequisite-patch-id: 79ded164c537cfe947447c920602570626eddb3d Best regards,