Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp979675rdb; Fri, 1 Dec 2023 04:06:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IGseY7gSmkwTdoFkXwEm5u8c2GYOvzv1ZWgqnPyPL3xbeAVXlaXUNGuP5kPcnA2os5koyAh X-Received: by 2002:a17:903:40cf:b0:1cf:b4a1:5cb8 with SMTP id t15-20020a17090340cf00b001cfb4a15cb8mr22861119pld.51.1701432417577; Fri, 01 Dec 2023 04:06:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701432417; cv=none; d=google.com; s=arc-20160816; b=wJ/KX/F6rS4Z91sVIZPeLvKIrWYCKFteoReT0Wn/eltUav2zi0PXSRqPsixC/P4UzD nLg3XfndsKbl8cZLPVAEoeG+fq39UHbw+N6xw+7h5L2omev7tLhO8SrIn470TP0z1Q1Z 40bWfvtq3Q/TC6Q5lEFZXA/dOOOzLU3kk1Pjw+q/bENpZIWct7OGIdxHWz8xeMCj77Dd 9Wh830Mwf84yZN+KvgX+MoqMbTPfgmWvOzRdbByrQUUVAE/0vlQ9TjzUqhOZYXaJur6P TD14jNsPGb+FM+SslDtkQzQ6PXlDtJo9u5qFRNWTeANDiC4CV3KHKHRDMfmIEvoAzB2n NnPg== 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=rVEpqfq7a4wLZc0qYwymebX7KLCz/XpeFGNGTmJrPTU=; fh=nfMxKVoBSGcBcbgwB8gvlofmBM8vvgagzOk1TKZdtsA=; b=CuUdpoKqU5aML88AuedS8nnVY+wfmsw/fkpJkrUTFnzi1U4KoA00/ETd6kOpO4JDbm cyOOoaOjFOmIwnMzSRtoKOjKjPF12WI34WCwFryNkR09Rtqz101FSP0Ipa2gjOMaiOQu grJVMIkEVCtviRM6Ol1qTMvgJOj6apDwx6efec7AoAR46eR4VYkcfJVuKTlbnpqwrXqJ 2+GqGJAX6eVkaLKAF6yxMCzjPAELeEfwxF5wPG5YJjd/ycoLbKLbVgpv/xCJZlrzLAZa SmeQmoBk3ZkpdO7YubAJgnDJY/+j9CIQjEHb5TNa4cmx1b4GD7Sir/B8VyQTU63kigA2 cFRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Jw5TRQCA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id i2-20020a170902c94200b001d00a865e0bsi3411141pla.435.2023.12.01.04.06.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 04:06:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Jw5TRQCA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id BF52C845369F; Fri, 1 Dec 2023 04:06:48 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378709AbjLAMGd (ORCPT + 99 others); Fri, 1 Dec 2023 07:06:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378712AbjLAMGc (ORCPT ); Fri, 1 Dec 2023 07:06:32 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57AA2171C; Fri, 1 Dec 2023 04:06:36 -0800 (PST) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3B17dVRO022501; Fri, 1 Dec 2023 12:06:26 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=rVEpqfq7a4wLZc0qYwymebX7KLCz/XpeFGNGTmJrPTU=; b=Jw5TRQCAbkNuKJ8ADQBLQGtj97nIm/BGR0TxC6lHL06PHL4h2cvM702FMLibNKrWBdCG KE0Gdn96U3C3A0CQ7YJN3GNAkuzQyRwHAaij8lw+Ij1k1DbFw0/jf7bau/xTp+e4WA4o gFXyzptCKPaq1a/KPwcWJFCKlwkBoTn1KXNcpMuBE1+aPn2/K5+cFb4xPCJXaF1URLvU 7qsrkd7RgZD3r01Y8Fsq04xMJwhTdOlWgaFLr73Eh+u0nRbnEUhv4GqYgvh2nW2OCCqg U9C3YSreNgL3vq6151UDSbIFu7CXXkGGw1EqmmL6GLhFdftTSNnsFHyDUNesWFhOuyxn qA== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3uq2kp9jn1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 01 Dec 2023 12:06:26 +0000 Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 3B1C6LHV020110; Fri, 1 Dec 2023 12:06:21 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 3unmf08shw-1; Fri, 01 Dec 2023 12:06:21 +0000 Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 3B1C6LOc020105; Fri, 1 Dec 2023 12:06:21 GMT Received: from hu-sgudaval-hyd.qualcomm.com (hu-msarkar-hyd.qualcomm.com [10.213.111.194]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 3B1C6L5B020104; Fri, 01 Dec 2023 12:06:21 +0000 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3891782) id 11C5B3064; Fri, 1 Dec 2023 17:36:20 +0530 (+0530) From: Mrinmay Sarkar 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 , Bjorn Helgaas , Lorenzo Pieralisi , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Kishon Vijay Abraham I , 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 v9 0/5] arm64: qcom: sa8775p: add support for EP PCIe Date: Fri, 1 Dec 2023 17:36:11 +0530 Message-Id: <1701432377-16899-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-ORIG-GUID: VZXBe7aYoFsbXtDXK1Qe83WOImAMIUqw X-Proofpoint-GUID: VZXBe7aYoFsbXtDXK1Qe83WOImAMIUqw X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-01_09,2023-11-30_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 impostorscore=0 mlxscore=0 malwarescore=0 suspectscore=0 adultscore=0 lowpriorityscore=0 bulkscore=0 clxscore=1011 spamscore=0 mlxlogscore=703 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2312010080 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 pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Fri, 01 Dec 2023 04:06:49 -0800 (PST) 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. v8 -> v9: - update author in "Add pci_epf_mhi_ prefix to the function" patch. - add ack by and reviewed by tag in commit message. v7 -> v8: - Add new patch PCI: epf-mhi: Add "pci_epf_mhi_" prefix to the function names - Update PCI: epf-mhi: Add support for SA8775P patch on top of the new patch and update commit message. 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 Manivannan Sadhasivam (1): PCI: epf-mhi: Add "pci_epf_mhi_" prefix to the function names 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 | 21 ++++++- 4 files changed, 128 insertions(+), 4 deletions(-) -- 2.7.4