Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1911847rdb; Tue, 3 Oct 2023 05:11:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFbWT3gIMhhb6QPT5yB631bA530vQYVeFVnoGKKMAJ3IgYTur+QCJ3kYTYUibdBc01DEO46 X-Received: by 2002:a92:c243:0:b0:351:e70:2cec with SMTP id k3-20020a92c243000000b003510e702cecmr16684310ilo.20.1696335076898; Tue, 03 Oct 2023 05:11:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696335076; cv=none; d=google.com; s=arc-20160816; b=pHTAe9joKeaqUlxCncjEsA52j+0Q5xljuza5ipcG7FY9sXR+m2fm5wreijzZXhYNnt iR2WQpyvr4RyVb0ZTbmZKE/8Qrydt77NPwWhcA+VQTSsXlZKaqBynne5QCL6HhwX+H07 USEFVlumSJeQfUz7V7Lu0Zfn0SGNpXO9VaF7v3I7Y4mTPXJ3B0ajG8tdrE9PkAxbl9wN KSqlapGRttTDGQkeTu5UrGdhzOGybCq2YvQdMj13A1TPWv3KIkiZPKB4tDkLCnEL+Iiy O3Xpq6Hzl25sj5IhM0qKprliSw1//4w1b8SsZ3JtM/3doFDU8mNAcwuUN7PMAJ7+Ml6k Al1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:to:from :dkim-signature; bh=MBmuLVJ5qof0Fy+YtKzcWq7CgW3rViLRkagA6sXYRR8=; fh=h8j5+mIEeXURSNZR1x8U6MdOMkGHCqn8EpbwjNzJprg=; b=gBx8huyiVUJXGaUJtCRxtAJoWRSz5JDVpWFbs0aIfrbanSePRGZFRV4xyvPDu6Pf5F +C/1ZyXx89l3pIETjmRDfQLrOYQvAApoI7gQs1tVguK4ShgRW4HFLnMCHC3B5CSBbddO oIl7FgqaEBY+6hgzVPCJKS/K3nGQi4XAQzzd/flgDHoG6aN6IRqvp8YTpAcefJ0xNxAE yLZ/I3oU29jkA/E8V3kEU2+PdwVR1ueJ/42mv30C3JaR68xQ4tpXN5ia/RbkSE5GH9ln /PYZWDSjM0VtFvtGidrErzKtsSnInOs4o6ro1SSSioBxZ+vJEKpidCcXzfejR83zOy3E iTSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=d5OO1Ysy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id y6-20020a63e246000000b00569561773a6si1330658pgj.549.2023.10.03.05.11.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 05:11:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=d5OO1Ysy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id 2D987806BE0E; Tue, 3 Oct 2023 05:10:30 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232506AbjJCMKJ (ORCPT + 99 others); Tue, 3 Oct 2023 08:10:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239896AbjJCMKE (ORCPT ); Tue, 3 Oct 2023 08:10:04 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3785CF9; Tue, 3 Oct 2023 05:10:00 -0700 (PDT) Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39372KJ0004142; Tue, 3 Oct 2023 12:09:15 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : subject : date : message-id : mime-version : content-type; s=qcppdkim1; bh=MBmuLVJ5qof0Fy+YtKzcWq7CgW3rViLRkagA6sXYRR8=; b=d5OO1Ysy47Cjkk5bYf3gAIe90InraCI2GklfHm/Tt3dg15DR1jF5QvEcDlHaMoW3hgmn Ja1Y3blsUlLFSTPi+jJtnzorW77sVz3GiOnTxBEM+irGD/ss1ZESC3Dkk0iBJGjpsT88 qIDJXQ4MrPlSn9FDdvLSsEgA5yvOOLh/deaGKmkVsbiHyq1iDNMcxNAkLp6Rhem+p267 tqgkYJC0+zVLtDBISS6JLePTzkVSSYpBCrATsbqxEvEvr7x1kSaU7Otnd+UvMTEfpiPo nec3q9b6I7L2N42n8+NxCc0sMNQd+Ivrvdy163DN6Zv8TtmQabUfXETLW+8+JJye+jBj 6g== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tec2enxdq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 03 Oct 2023 12:09:14 +0000 Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 393C9ChU028004 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 3 Oct 2023 12:09:12 GMT Received: from nsekar-linux.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.36; Tue, 3 Oct 2023 05:09:05 -0700 From: Nitheesh Sekar To: , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH 0/6] Enable IPQ5018 PCI support Date: Tue, 3 Oct 2023 17:38:40 +0530 Message-ID: <20231003120846.28626-1-quic_nsekar@quicinc.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: XPjrhI3_Zud6qJ43SLbt2XB6YprnP2GG X-Proofpoint-ORIG-GUID: XPjrhI3_Zud6qJ43SLbt2XB6YprnP2GG X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-03_08,2023-10-02_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 mlxscore=0 adultscore=0 priorityscore=1501 malwarescore=0 suspectscore=0 mlxlogscore=538 spamscore=0 bulkscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310030087 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Tue, 03 Oct 2023 05:10:30 -0700 (PDT) This patch series adds the relevant phy and controller DT configurations for enabling PCI gen2 support on IPQ5018. Nitheesh Sekar (6): dt-bindings: phy: qcom,uniphy-pcie: Document PCIe uniphy dt-bindings: PCI: qcom: Add IPQ5108 SoC phy: qcom: Introduce PCIe UNIPHY 28LP driver PCI: qcom: Add support for IPQ5018 arm64: dts: qcom: ipq5018: Add PCIe related nodes arm64: dts: qcom: ipq5018: Enable PCIe .../devicetree/bindings/pci/qcom,pcie.yaml | 36 ++ .../bindings/phy/qcom,uniphy-pcie-28lp.yaml | 77 ++++ .../arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts | 9 + arch/arm64/boot/dts/qcom/ipq5018.dtsi | 186 +++++++++- drivers/pci/controller/dwc/pcie-qcom.c | 22 +- drivers/phy/qualcomm/Kconfig | 12 + drivers/phy/qualcomm/Makefile | 1 + .../phy/qualcomm/phy-qcom-uniphy-pcie-28lp.c | 336 ++++++++++++++++++ 8 files changed, 663 insertions(+), 16 deletions(-) create mode 100644 Documentation/devicetree/bindings/phy/qcom,uniphy-pcie-28lp.yaml create mode 100644 drivers/phy/qualcomm/phy-qcom-uniphy-pcie-28lp.c -- 2.17.1