Message ID | 1699361428-12802-1-git-send-email-quic_msarkar@quicinc.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:aa0b:0:b0:403:3b70:6f57 with SMTP id k11csp218980vqo; Tue, 7 Nov 2023 05:06:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IEtsQ2wKKbaBv05uyON6d0Y7D8VBNvl8Fcw3kzmGHCM0OMesxX6BX8I1T48+28dlYC+hIU0 X-Received: by 2002:a17:902:da87:b0:1cc:548d:4252 with SMTP id j7-20020a170902da8700b001cc548d4252mr28564967plx.57.1699362385260; Tue, 07 Nov 2023 05:06:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699362385; cv=none; d=google.com; s=arc-20160816; b=WSaWWgFzTLEPmjI92p6ucExId8tNZ8DsJg492RYVcHj3NdJTKo5EPnjanNX1oLSJjU HekwVdWnU03Lc5PpKtn2lLJKgF81Stpsj2dwxciC30lGswLDzX7GWef7frUnj7qEMfyE fSIYR0lKZa1wBdcQ82zNr80grWRPVj7nSwU5wqyMg5iJFkz6bJUgFiGUp3fvBjPwvg5P z46sXM5Fg9+ZgvgHsjVFEqvznZFNmMvCrK3UftSvERQKOFeHiwnqwkz9AU7R7PGxxstK qEsnZ+aVLQabgk0/cVE4s2oq7kSmyQgGhUtq71yzlU+U0YH2L4AA4WAu7EPPNQwyEmuz /DsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=BL0uDTEWGdbQxbpyn753QKl4MctRTSXPvVBmvvaABXM=; fh=72EESTaQti9jWwEdJgn5hsP2k6nTzn4cvUgqYCpq0+Q=; b=BgOovpKTq5prJqkPhUlnc3yKIJcUCFStmZP27Cy6XOJhzBoFGGyECfthN2KTXkh3i6 0Yu55WUTtHXYK0KHdiQAntPdjAY29oXrs66gXYL600P4Cfys46mRgi0Qg6u/nP9i/r0m xVJzPlD+Yh243a4yq5Os3FY3v368hsNIAK244EE+eZNk+br5diazFWzI3s7L3j0QgOpP Zvi2VPZ2bw/ds4scDS91R4s6uvFdrCW+asMq0X8FY3Ls6p29Gg7nmZOdxaPCE6bpXPEZ v8AkIItF95NJa3l/Zd51l9BTUPLy527CD3EoNz/iWJbpUXaDpTrPBW4hdjEOJU+dXaG4 LKAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=RdAl44xL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id x1-20020a17090300c100b001cc0e37524bsi9817187plc.212.2023.11.07.05.06.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Nov 2023 05:06:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=RdAl44xL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 08A238075EF3; Tue, 7 Nov 2023 05:05:17 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234882AbjKGNEx (ORCPT <rfc822;lhua1029@gmail.com> + 32 others); Tue, 7 Nov 2023 08:04:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234814AbjKGNEl (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 7 Nov 2023 08:04:41 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12AD13AB4; Tue, 7 Nov 2023 04:50:44 -0800 (PST) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3A7CRauu016029; Tue, 7 Nov 2023 12:50:35 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id; s=qcppdkim1; bh=BL0uDTEWGdbQxbpyn753QKl4MctRTSXPvVBmvvaABXM=; b=RdAl44xLxGdOVZczCjr31nFNsCagaCrJBCsh4kk1E9+EMUV3GTdWBCgTOqsU2370GSXx YRXXAu/nrXnXSR2UPOatDkc0BD3HRARngdsBhSMp1i0ZcS+280ow3dKoywnwAkWkdQ2U uvfgxsxiDhEd9NwGOE3e1SK0E6BtWWuJO4YoabkbmYijw5lf2OxZL0V8dxTbsX8ZCRxn krZ/bLzVz2bcjBc4Sm+GqidVdCGNxu3/B3onyiAbVN46kBXZPVg7Lm05ZlNvK57DlvKZ dg3APgShIqVr3UE60AhH4N1JLjLNMdE5BHP7G3KxHjc236iIDcbYtX1wl20QcoaU5JL6 ew== Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3u7n8u01bd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 07 Nov 2023 12:50:34 +0000 Received: from pps.filterd (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 3A7CoVjF000705; Tue, 7 Nov 2023 12:50:31 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 3u5f1m400n-1; Tue, 07 Nov 2023 12:50:31 +0000 Received: from APBLRPPMTA02.qualcomm.com (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 3A7CoVc7000700; Tue, 7 Nov 2023 12:50:31 GMT Received: from hu-sgudaval-hyd.qualcomm.com (hu-msarkar-hyd.qualcomm.com [10.213.111.194]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 3A7CoVJt000699; Tue, 07 Nov 2023 12:50:31 +0000 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3891782) id 76B1F4C77; Tue, 7 Nov 2023 18:20:30 +0530 (+0530) From: Mrinmay Sarkar <quic_msarkar@quicinc.com> To: agross@kernel.org, andersson@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, konrad.dybcio@linaro.org, mani@kernel.org, robh+dt@kernel.org Cc: quic_shazhuss@quicinc.com, quic_nitegupt@quicinc.com, quic_ramkri@quicinc.com, quic_nayiluri@quicinc.com, dmitry.baryshkov@linaro.org, robh@kernel.org, quic_krichai@quicinc.com, quic_vbadigan@quicinc.com, quic_parass@quicinc.com, quic_schintav@quicinc.com, quic_shijjose@quicinc.com, Mrinmay Sarkar <quic_msarkar@quicinc.com>, Lorenzo Pieralisi <lpieralisi@kernel.org>, =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= <kw@linux.com>, Bjorn Helgaas <bhelgaas@google.com>, Kishon Vijay Abraham I <kishon@kernel.org>, linux-pci@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, mhi@lists.linux.dev Subject: [PATCH v7 0/4] arm64: qcom: sa8775p: add support for EP PCIe Date: Tue, 7 Nov 2023 18:20:24 +0530 Message-Id: <1699361428-12802-1-git-send-email-quic_msarkar@quicinc.com> X-Mailer: git-send-email 2.7.4 X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: YwOrzkXMnxZ3kpfsyaF_Dn6U_ArYtBS2 X-Proofpoint-ORIG-GUID: YwOrzkXMnxZ3kpfsyaF_Dn6U_ArYtBS2 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-07_02,2023-11-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 spamscore=0 malwarescore=0 clxscore=1015 phishscore=0 priorityscore=1501 mlxlogscore=643 adultscore=0 mlxscore=0 lowpriorityscore=0 impostorscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2310240000 definitions=main-2311070105 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 07 Nov 2023 05:05:17 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781910612451934152 X-GMAIL-MSGID: 1781910612451934152 |
Series |
arm64: qcom: sa8775p: add support for EP PCIe
|
|
Message
Mrinmay Sarkar
Nov. 7, 2023, 12:50 p.m. UTC
This series adds the relavent DT bindings, new compatible string, add support to EPF driver and add EP PCIe node in dtsi file for ep pcie0 controller. v6 -> v7: - add reviewed by tag in commit message in all patches. - update commit message in patch 2 as per comment. - update reason for reusing PID in commit message. v5 -> v6: - update cover letter. v4 -> v5: - add maxItems to the respective field to constrain io space and interrupt in all variants. v3 -> v4: - add maxItems field in dt bindings - update comment in patch2 - dropped PHY driver patch as it is already applied [1] - update comment in EPF driver patch - update commect in dtsi and add iommus instead of iommu-map [1] https://lore.kernel.org/all/169804254205.383714.18423881810869732517.b4-ty@kernel.org/ v2 -> v3: - removed if/then schemas, added minItems for reg, reg-bnames, interrupt and interrupt-names instead. - adding qcom,sa8775p-pcie-ep compitable for sa8775p as we have some specific change to add. - reusing sm8450's pcs_misc num table as it is same as sa8775p. used appropriate namespace for pcs. - remove const from sa8775p_header as kernel test robot throwing some warnings due to this. - remove fallback compatiable as we are adding compatiable for sa8775p. v1 -> v2: - update description for dma - Reusing qcom,sdx55-pcie-ep compatibe so remove compaitable for sa8775p - sort the defines in phy header file and remove extra defines - add const in return type pci_epf_header and remove MHI_EPF_USE_DMA flag as hdma patch is not ready - add fallback compatiable as qcom,sdx55-pcie-ep, add iommu property Mrinmay Sarkar (4): dt-bindings: PCI: qcom-ep: Add support for SA8775P SoC PCI: qcom-ep: Add support for SA8775P SOC PCI: epf-mhi: Add support for SA8775P arm64: dts: qcom: sa8775p: Add ep pcie0 controller node .../devicetree/bindings/pci/qcom,pcie-ep.yaml | 64 +++++++++++++++++++++- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 46 ++++++++++++++++ drivers/pci/controller/dwc/pcie-qcom-ep.c | 1 + drivers/pci/endpoint/functions/pci-epf-mhi.c | 17 ++++++ 4 files changed, 126 insertions(+), 2 deletions(-)