From patchwork Fri Mar 31 06:18:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rohit Agarwal X-Patchwork-Id: 7513 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp355275vqo; Thu, 30 Mar 2023 23:26:35 -0700 (PDT) X-Google-Smtp-Source: AKy350Y9LuT11KJydG9WhlKCtOzUVbc6b3XBjDWQqFZfWyppyIWMzqVWpWKT/y3Eb5XqllBgCGQM X-Received: by 2002:a17:906:278a:b0:8b1:fc1a:7d21 with SMTP id j10-20020a170906278a00b008b1fc1a7d21mr29343145ejc.5.1680243995059; Thu, 30 Mar 2023 23:26:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680243995; cv=none; d=google.com; s=arc-20160816; b=yc3qIU40w84a9bC1b5ZJ47IWWoSkwSDjNhlZtwZGIgxWdfBd3Q1+907wSE7DnTR568 6JhUuKtVLSFEl7w+WZFQJDrGhb+Mu6HZo62xQdcyHvs+iIXyCA/NBxs3fjopB5vQ873n c0xGwAb/z8645/gCY9Y7QXHBTguOFW88iECzDKDdCCt+p8sKzepUl1EhroMZQbMJUubF XETDkWY8tsdtZG4ybtZ98dl+WN13wW5xFxglnwzFx8iO/7Qacpmiiu4ONKemY+SB2O/T OD+ZzeMCoIgcUL9kwyqgDtt11WFBZ81I0pjY4EaRlHHmYXl/qdyKUhMs0JMd88SoYhsR QzjA== 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=3zFoe+/ZG714jTMqvD6TMaQRtyoAtwec8AKt3TSFZKo=; b=znX/M8IOC+yQpiVtjCU9kBUp2Oc6Dt6wo8JB1bxe6Fm4ggthaJPR/APTk6T6m8xjVp DEEX1FLiNosc8Rghq8LanLreMqmAWwv97+j1cdVU7bFvZJpXL9gEdyOQ/VFYdugGuf35 Vh04eSbJUlWUpFMhT3gcVIwLAp9XfSS7zVsfx9TU9jiwoLIvHUkxQTGU3I4GD+4nIcZb WH9CJMt4kWdvNPz7uPEujJRDqYiolL33nSCLqflIbuhOm8FAZ2ZMavk5sIhyfUghlLEt NCg7F+pcJlZ2fXgfguudV/KSJlQ/CFvsGQpLKdNAotOqpYIfZ/L3iUTa/ABfk5op5Vvv ZnaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=OP7NFloI; 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=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hg24-20020a1709072cd800b009446b037852si1254244ejc.708.2023.03.30.23.26.11; Thu, 30 Mar 2023 23:26:35 -0700 (PDT) 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=@quicinc.com header.s=qcppdkim1 header.b=OP7NFloI; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230116AbjCaGSp (ORCPT + 99 others); Fri, 31 Mar 2023 02:18:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229521AbjCaGSm (ORCPT ); Fri, 31 Mar 2023 02:18:42 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD8E31FE7; Thu, 30 Mar 2023 23:18:41 -0700 (PDT) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32V4PXkh004442; Fri, 31 Mar 2023 06:18:36 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=3zFoe+/ZG714jTMqvD6TMaQRtyoAtwec8AKt3TSFZKo=; b=OP7NFloIO7XOX73v+xrvwrMMSXDqmwLSOJi6+zPgEQe881Nwl7sGj+IBnilJbsQG7ebY mldU7pKubvK3bcvZSduKYLywZxbWW+3TwlHJuwJoTH+ie48hPDZaeL+Rf0rLid2P1mOn Y15Hi3xdY0TICfaKWmaPSpl5qxD/0va1N1iV5m4YMB8vsLxFg7xaFcdgKva4Ala3F044 L+zHKdYkERaHBATA7HvxhNTSInKWmb3e1URkhEjTtRLL+LOwIbkbeLZi2EBd/gD9zYCg xZTxuh3BN76MaTBMfKFf27qgolm5dXIQJb7ipGvaeh2+gS5oeSXJKA4cxlFQrd7cORjP ng== 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 3pmq95debm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 31 Mar 2023 06:18:35 +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 32V6IV6w013884; Fri, 31 Mar 2023 06:18:31 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTPS id 3pht1knm21-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 31 Mar 2023 06:18: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 32V6IVhB013873; Fri, 31 Mar 2023 06:18:31 GMT Received: from hu-sgudaval-hyd.qualcomm.com (hu-rohiagar-hyd.qualcomm.com [10.213.106.138]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 32V6IVRN013870; Fri, 31 Mar 2023 06:18:31 +0000 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3970568) id 8A2DC4EE8; Fri, 31 Mar 2023 11:48:30 +0530 (+0530) From: Rohit Agarwal To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, mani@kernel.org, bhelgaas@google.com, lpieralisi@kernel.org, kw@linux.com, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, manivannan.sadhasivam@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rohit Agarwal Subject: [PATCH v5 0/5] Add PCIe EP support for SDX65 Date: Fri, 31 Mar 2023 11:48:17 +0530 Message-Id: <1680243502-23744-1-git-send-email-quic_rohiagar@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: KUUgbUpRuyiNz1KUWhcFPXO_H6YYOVBF X-Proofpoint-ORIG-GUID: KUUgbUpRuyiNz1KUWhcFPXO_H6YYOVBF X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-31_02,2023-03-30_04,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 clxscore=1015 lowpriorityscore=0 mlxlogscore=715 adultscore=0 spamscore=0 impostorscore=0 phishscore=0 bulkscore=0 mlxscore=0 priorityscore=1501 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2303310050 X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,SPF_HELO_NONE,SPF_NONE autolearn=no 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761863527001591161?= X-GMAIL-MSGID: =?utf-8?q?1761863527001591161?= Hi, Changes in v5: - Addressed some minor comments from Konrad - Rebased on top of 6.3-rc5. Changes in v4: - Addressed comment from Dmitry to move the gpios to the board file. Changes in v3: - Removing the applied patch. - Addressing some of the compile time issues missed in v2. Changes in v2: - Addressing comments from Konrad and Dmitry. - Rebased on top of 6.3-rc1. This series adds the devicetree support for PCIe PHY and PCIe EP on SDX65. The PCIe EP is enabled on SDX65 MTP board. Thanks, Rohit. Rohit Agarwal (5): dt-bindings: PCI: qcom: Add SDX65 SoC ARM: dts: qcom: sdx65: Add support for PCIe PHY ARM: dts: qcom: sdx65: Add support for PCIe EP ARM: dts: qcom: sdx65-mtp: Enable PCIe PHY ARM: dts: qcom: sdx65-mtp: Enable PCIe EP .../devicetree/bindings/pci/qcom,pcie-ep.yaml | 2 + arch/arm/boot/dts/qcom-sdx65-mtp.dts | 51 ++++++++++++- arch/arm/boot/dts/qcom-sdx65.dtsi | 87 ++++++++++++++++++++++ 3 files changed, 137 insertions(+), 3 deletions(-)