Message ID | 1697715430-30820-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:a05:612c:2010:b0:403:3b70:6f57 with SMTP id fe16csp318169vqb; Thu, 19 Oct 2023 04:38:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF/rqGca/r5u0mQ0CO8wLsEJ+owrxox1h/4I7bWviCXkiTXjVAyP7FD0iJ6HkfrMFXvjOBU X-Received: by 2002:a17:902:e885:b0:1c8:9bc6:2a09 with SMTP id w5-20020a170902e88500b001c89bc62a09mr2115687plg.15.1697715486511; Thu, 19 Oct 2023 04:38:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697715486; cv=none; d=google.com; s=arc-20160816; b=lnmzcTAW5ox/V8O4Xc73LzL8HP+AmKyYx4Nz7QS1+B3cWMqooU78BljD8Al03c6yWz lGBPz3AqQfeD5BWoRGFxjUcps4aobGXDEuhnKWcY+iMhVXcmY1LoPjmlFY3IaJCQ0u+f 3bOUcHhRfFYP2N12H7vZE6UNlQAHLB2WSiqpyB30KounOBGZbhBNMCZCgdQyrscTHDx0 IfBLSgvWszCxBMIC8niWeRhTE7DsRowfO1UKGam/O4M+vsOo8xLI662iGhKrv6Uy942Y 2XtSJzr8hBeltjQsDoclELUIzdO2df7oGvBYOdDeapqdDMapVQfgddLBfjFP1v0gvNHQ eGAg== 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=Uibb7vCKN4Pe9NjvGIf8PjhMn2Ru/ZEvqI1gp9q/eWk=; fh=lufjisNhiTgHeZm2D9JzdzuQ9uUhCugRNbsx7qeawZw=; b=phukoStY85Nb3yHQd/8+Y0HsvykBBordA0d5JvR0yw4EIMdW+A09+nTIkN/ijzv9zW G1vzjleo/Nd3DOB62LjB6s6RJbC3n5EJGLw3H1mmMaRoNkI2iAuHKYopzJTKaHW/bp7W TcPppO/9Rx9wy/N2hdh61s0D1E5zjYm8/v+bk3Oc8O2jFXMh6cRH5vp9yLJLwybEJeRN UeINSyZaWQ/oGSKMI+Tsh6z9/jo5Sqrpp7Ozr7EHlwp8Lyyq/Ha6eA2S38KSwVbGb+TT ApYDp/kR/tPmL9NZXi1lwkqtfmIYMpsmxqofDhmt2mnGMUruvtPhf7oTXEoGaJIKsY5d qFBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=nvIBBWg8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id d6-20020a170902654600b001c9d9050b37si1791646pln.260.2023.10.19.04.38.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 04:38:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=nvIBBWg8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id F1966818CC92; Thu, 19 Oct 2023 04:38:03 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345414AbjJSLhh (ORCPT <rfc822;lkml4gm@gmail.com> + 25 others); Thu, 19 Oct 2023 07:37:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235229AbjJSLhf (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 19 Oct 2023 07:37:35 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DCB1185; Thu, 19 Oct 2023 04:37:32 -0700 (PDT) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39JBJa4B006578; Thu, 19 Oct 2023 11:37:18 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=Uibb7vCKN4Pe9NjvGIf8PjhMn2Ru/ZEvqI1gp9q/eWk=; b=nvIBBWg8OIX1H/FwHvojwoI5mGZevNriC0+28e9UVt8IohFv8uwSiDGQ0l/X9J0WZQS9 hF50wqcUf1QO0Dz/LlpcbFU9w6zcITxTx2APY/jbJtbeC9pq1EvvdBRKKwrsvmBzuspz wXGk5CmniLQfuem9sDeYEul05YGF+NNE+7+RRa4BAzQ2ZBIOL7CFku9FfzXy9Gj2yCB0 FAhgC7kmx4FG99v6IRWcMkQj9FN2ezpB9DnYLgyOPXcpSVq0fda37BxGecRckedOefQE Dnk3sRpfg9Pp3SpyLQmMX/Hrk6MZ5YcEq5v9lTJAxEn0kzNNpoHyG5fxgiQXf0okzdti mA== 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 3ttgw3tevg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 19 Oct 2023 11:37:18 +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 39JBbEWL000798; Thu, 19 Oct 2023 11:37:14 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 3tqm2mcs2y-1; Thu, 19 Oct 2023 11:37:14 +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 39JBbEdX000782; Thu, 19 Oct 2023 11:37:14 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 39JBbDPU000781; Thu, 19 Oct 2023 11:37:14 +0000 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3891782) id DD337441C; Thu, 19 Oct 2023 17:07:12 +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 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, Mrinmay Sarkar <quic_msarkar@quicinc.com>, Bjorn Helgaas <bhelgaas@google.com>, Lorenzo Pieralisi <lpieralisi@kernel.org>, =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= <kw@linux.com>, Kishon Vijay Abraham I <kishon@kernel.org>, Vinod Koul <vkoul@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, linux-phy@lists.infradead.org Subject: [PATCH v3 0/5] arm64: qcom: sa8775p: add support for EP PCIe Date: Thu, 19 Oct 2023 17:07:05 +0530 Message-Id: <1697715430-30820-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: lpq5l2CFyOWGj1Os-hJ11DuALkuAS5Sq X-Proofpoint-GUID: lpq5l2CFyOWGj1Os-hJ11DuALkuAS5Sq X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-19_09,2023-10-19_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 phishscore=0 lowpriorityscore=0 suspectscore=0 mlxscore=0 bulkscore=0 impostorscore=0 adultscore=0 clxscore=1015 malwarescore=0 mlxlogscore=362 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310190099 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 agentk.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 (agentk.vger.email [0.0.0.0]); Thu, 19 Oct 2023 04:38:04 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780183714013996419 X-GMAIL-MSGID: 1780183714013996419 |
Series |
arm64: qcom: sa8775p: add support for EP PCIe
|
|
Message
Mrinmay Sarkar
Oct. 19, 2023, 11:37 a.m. UTC
This series adds the relavent DT bindings, new compatible string, update PHY, add support to EPF driver and add EP PCIe node in dtsi file for ep pcie0 controller. 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 (5): dt-bindings: PCI: qcom-ep: Add support for SA8775P SoC PCI: qcom-ep: Add support for SA8775P SOC phy: qcom-qmp-pcie: add endpoint support for sa8775p PCI: epf-mhi: Add support for SA8775P arm64: dts: qcom: sa8775p: Add ep pcie0 controller node .../devicetree/bindings/pci/qcom,pcie-ep.yaml | 44 +++++++++++++++++++- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 48 ++++++++++++++++++++++ drivers/pci/controller/dwc/pcie-qcom-ep.c | 1 + drivers/pci/endpoint/functions/pci-epf-mhi.c | 17 ++++++++ drivers/phy/qualcomm/phy-qcom-qmp-pcie.c | 37 +++++++++++++++++ drivers/phy/qualcomm/phy-qcom-qmp-pcs-v5_20.h | 2 + 6 files changed, 147 insertions(+), 2 deletions(-)
Comments
On Thu, 19 Oct 2023 17:07:05 +0530, Mrinmay Sarkar wrote: > This series adds the relavent DT bindings, new compatible string, > update PHY, add support to EPF driver and add EP PCIe node in dtsi > file for ep pcie0 controller. > > 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. > > [...] Applied, thanks! [3/5] phy: qcom-qmp-pcie: add endpoint support for sa8775p commit: 8e11a94e15a49221510dd4737a70c8dd56eb9678 Best regards,