Message ID | 20230222153251.254492-1-manivannan.sadhasivam@linaro.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp643537wrd; Wed, 22 Feb 2023 07:34:51 -0800 (PST) X-Google-Smtp-Source: AK7set9t4CxHT+isq/e7ozSCvEJiayAwGoH9MRv/aCd08yqHXcjKSpu9B+n8ieGvnm3dmhqFOmby X-Received: by 2002:a17:907:1c0f:b0:8d7:6699:3bae with SMTP id nc15-20020a1709071c0f00b008d766993baemr10344505ejc.57.1677080091496; Wed, 22 Feb 2023 07:34:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677080091; cv=none; d=google.com; s=arc-20160816; b=0Li+pC/lepkL5amIsh8YMpEa1MnIJzVS9G5jkYDfhYnuO2Vga2RD+9lwNzGguxhePM 6HqjhXu0t9mwyaxygdr5lTISdPyxMQzqp2wKpV+ZeQ/uVgeJZdwRhwrG2cN78TfU5vV/ gsWlPGGVZP6NsOmGoijBCZvni6CLGQRAl0OCOZxkyCQTBbssic1lTLgQNkJcDdAjkjAA ctYuOAayAu1h3tuiN/iO/v0ZpleaaJRU6V1fun0RyyjYvk/lbaBC7o78+H7Fq6lQQ6dq XBUBnmq6iRZHsk0+VSK/zfAP94YGjjj1V1c7JhDV1p2np23U1MUcWoNlJGl5+rPZLq02 +J/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=rMyy7zeolGJx13EdVfIC3dMjyuc5oDyD182TrCmkF94=; b=uR/fyK8HkI0wiBT2ZEwy4zbnXus3oij9bWt+Gby4mHlTgX14HYbVF0ruU4hG5I/H4T eRHQLAo3o2LxFAqZjzoVcSCjj93BsEfha2yVpEbWzRZyXH5J967f/w48hKINtGSq1Joy lDHjDbRtZhrtL1p2VuYeEdUTKw/j7jYbBaBAvsJHuQGCGikysW5xAJ0syujL3+LyZLYO I8HQB0reH59Bxt/IvmLc229wwHWo0GrnbXAT1Y0R+dvZ40x1wCBex6SQgs7pf+AKKyPz OrFjOwkZWWaPD0KGyWzVDkDYyx1CdghQb/DdxnxUXBdyIWtNQ0lXyrOZ5fUKHlAGk05b Tm5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wETPq4Vh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fb19-20020a1709073a1300b008cef4d78043si11548508ejc.756.2023.02.22.07.34.28; Wed, 22 Feb 2023 07:34:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wETPq4Vh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232539AbjBVPdN (ORCPT <rfc822;chinmaygameti@gmail.com> + 99 others); Wed, 22 Feb 2023 10:33:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232506AbjBVPdJ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 22 Feb 2023 10:33:09 -0500 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A0812E0FC for <linux-kernel@vger.kernel.org>; Wed, 22 Feb 2023 07:33:06 -0800 (PST) Received: by mail-pj1-x102a.google.com with SMTP id c23so4469354pjo.4 for <linux-kernel@vger.kernel.org>; Wed, 22 Feb 2023 07:33:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=rMyy7zeolGJx13EdVfIC3dMjyuc5oDyD182TrCmkF94=; b=wETPq4VhxDAwhLSfECSszph1RsgRzfh4oibhGIpn9iT5NJpHbusmsb0OpMZbure3dP Co050tyAU4CZ+2K9MM2SYdx/JBr3QzaaYmd6LyQf4y61HQNUCf+gDJe9lgHj+eQL0pAR GF/+wHqCJqb6s2pfVAjS4kHSFePjhdJs2rBc0SMsiZZmQozNp575eg9f0B9JiJyiPEuX qQZIpqyO+ii13hTPIbOJ2jxtftbfM/e7GTnnyImmfPC5SMOzMyneTNHABE5NxU6YiW+y 91PbTg+/i7Ht5CNZt6nH69TVz0x3knXefTv88Vq59yYKz0eqgliSF1R9Qu2dlpzynvqn Ob4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=rMyy7zeolGJx13EdVfIC3dMjyuc5oDyD182TrCmkF94=; b=55Mc5yVTkdc1oOZYvhtz6djc0jv5UfzE3OHlyGSMJJ9MZjxIqtdAVdvrEouFSk3ue6 D6P8JcZ3q1b59m/c4CYtbOuWnGSm3oRir48v3EL6T5WfYOogAGfrQlAqjihUzmeo5uSS r/sExgjIFzJKnU9mNnoY75RYsmUidhoYmptSpNzFT67fPgq/4AeTB8bicf34B+su61gx 7w+IkPA1sQGBPBaP3Ac+tCvEIG4hN2K04ERKbJX2Yn9hWTOridK4VedM4dguGoWgiMce 2hIoYOPs09VIP3HdQPW/BJyYKv4//MA/frFi3wmNx7BpO2Ucx+bAeSAZ2zJCZK+EItmp YBUg== X-Gm-Message-State: AO0yUKWNv7mgWm4wFh3cUnfotQ+mosvPWZhalzJ09+rEBVLmt0b1tpwl RDhpvyYmjBXpGOiteh7sYygb X-Received: by 2002:a05:6a20:12d2:b0:c1:2027:f4a2 with SMTP id v18-20020a056a2012d200b000c12027f4a2mr540878pzg.49.1677079985963; Wed, 22 Feb 2023 07:33:05 -0800 (PST) Received: from localhost.localdomain ([117.216.123.15]) by smtp.gmail.com with ESMTPSA id f15-20020aa78b0f000000b005ac419804d3sm5222482pfd.186.2023.02.22.07.33.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Feb 2023 07:33:05 -0800 (PST) From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> To: andersson@kernel.org, lpieralisi@kernel.org, robh@kernel.org, kw@linux.com, krzysztof.kozlowski+dt@linaro.org, vkoul@kernel.org Cc: konrad.dybcio@linaro.org, bhelgaas@google.com, kishon@kernel.org, linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Subject: [PATCH 00/11] Add PCIe RC support to Qcom SDX55 SoC Date: Wed, 22 Feb 2023 21:02:40 +0530 Message-Id: <20230222153251.254492-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758545933829326763?= X-GMAIL-MSGID: =?utf-8?q?1758545933829326763?= |
Series |
Add PCIe RC support to Qcom SDX55 SoC
|
|
Message
Manivannan Sadhasivam
Feb. 22, 2023, 3:32 p.m. UTC
Hi, This series adds PCIe RC support to the Qcom SDX55 SoC. The PCIe controller in SDX55 can act as both Root Complex and Endpoint but only one mode at a time i.e., the mode cannot be switched during runtime. This series has been tested on Thundercomm T55 board having QCA6390 WLAN chipset connected to the PCIe controller. For powering up the WLAN chipset, an out-of-tree patch has been used since we do not have a proper driver in mainline to handle the power supplies. NOTE: Even with this series, I couldn't get network connectivity using QCA6390. But that's due to ath11k regression for which I've filed a bug report: https://bugzilla.kernel.org/show_bug.cgi?id=206923 Merging strategy ---------------- PCI and binding patches through PCI tree PHY patches through PHY tree Devicetree patches through Qcom tree Thanks, Mani Manivannan Sadhasivam (11): dt-bindings: PCI: qcom: Update maintainers entry dt-bindings: PCI: qcom: Add iommu properties dt-bindings: PCI: qcom: Add SDX55 SoC dt-bindings: PCI: qcom-ep: Fix the unit address used in example ARM: dts: qcom: sdx55: Fix the unit address of PCIe EP node ARM: dts: qcom: sdx55: Rename pcie0_{phy/lane} to pcie_{phy/lane} ARM: dts: qcom: sdx55: Add support for PCIe RC controller ARM: dts: qcom: sdx55-t55: Enable PCIe RC support phy: qcom-qmp-pcie: Split out EP related init sequence for SDX55 phy: qcom-qmp-pcie: Add RC init sequence for SDX55 PCI: qcom: Add support for SDX55 SoC .../devicetree/bindings/pci/qcom,pcie-ep.yaml | 2 +- .../devicetree/bindings/pci/qcom,pcie.yaml | 35 +++- arch/arm/boot/dts/qcom-sdx55-t55.dts | 42 +++++ .../boot/dts/qcom-sdx55-telit-fn980-tlb.dts | 2 +- arch/arm/boot/dts/qcom-sdx55.dtsi | 154 +++++++++++++----- drivers/pci/controller/dwc/pcie-qcom.c | 4 +- drivers/phy/qualcomm/phy-qcom-qmp-pcie.c | 91 +++++++++-- .../qualcomm/phy-qcom-qmp-pcs-pcie-v4_20.h | 2 + 8 files changed, 272 insertions(+), 60 deletions(-)