Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5794926rdb; Wed, 13 Dec 2023 22:29:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IH8SSDPLHbF/jPh/KtYBM2Snp7rtaUM1MPf4ERVfVQF5CX960arM+s++LjtrKaL0krXqOku X-Received: by 2002:a05:6a21:8026:b0:18c:63cb:e86e with SMTP id ou38-20020a056a21802600b0018c63cbe86emr9180064pzb.2.1702535374523; Wed, 13 Dec 2023 22:29:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702535374; cv=none; d=google.com; s=arc-20160816; b=sN4sw61/9gSgXyRcCLtf4qcz14m+c9jSXyRbCytWVdjf+P+uYZtv4YfaUjBNDNxgpS wXj1ksDhfH1FeG3aWz98xJuKKpyhOxGg6uIftRR18hT0Rj5Wd1Izh+fBpv7aULIlSGg3 fnOXhvuqFqeT1wG86lXd9IXt5Ak0FjIjAzCAKrgeAqTwiaChyvro5BGiZWLtKNcF4zZM i0s8fyVOny3zFIQww+vUUPA2uhiF1MwE8SKL0bOeC0gFATxbw42iCr0H0gAAZyFx8Z99 /lU0QmOkQHQ4UaXfs5TS4rFl4yjtvAozbd3lk1GlWSuKhB02ENrduGphl5EFwoClNhwM 79Dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ODCJhiYBeWEU03LHMRasSH8E7YzOuqTWK5pYz/IOpl4=; fh=Rt0kLJa5uw2v8+a6QLzz/XrrVhh9NAe/gnPEpTFc420=; b=BwNngt/bg1Lg3/LSrw2YWhdTRb2U4CtjvMfEgS06OyP+iZD0K5mMsU3xH/tmkeFxph 7InMl+mVYmEL10cb3Olfovx1i1FXAMQRCISwnS7F0jCbvj9axIAh8DdDxrXHrJx+fz8Y Et0ObvtlMeeflYtFARgm+3GzuNSeqYIza0BPpk+tWJ/7QPsWfCFoVJ4pOwg0UScqUkFG dZMlRj2wj8FsfTyWF1Eq5A3prVW/wle7/e2Eq2qbx+O3hAUtBOeVUAsTcS9NEwSy/1uJ Bt5bBae0VJEe9MnY49AKHC+DCIBZ/aOxgYBXCnf/C0V7gdw21aT0DdcNI5PleHYz5mbD n7mQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=aV03J+iM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id p2-20020a17090ab90200b00286c168876asi12167907pjr.54.2023.12.13.22.29.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 22:29:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=aV03J+iM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 1B30D802F216; Wed, 13 Dec 2023 22:29:30 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234275AbjLNG3P (ORCPT + 99 others); Thu, 14 Dec 2023 01:29:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbjLNG3O (ORCPT ); Thu, 14 Dec 2023 01:29:14 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68985A6; Wed, 13 Dec 2023 22:29:20 -0800 (PST) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BE3Rr5P026065; Thu, 14 Dec 2023 06:29:10 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=qcppdkim1; bh=ODCJhiY BeWEU03LHMRasSH8E7YzOuqTWK5pYz/IOpl4=; b=aV03J+iML9O2FRcdASCnAOc upOAvs05PL7uyoSHooUXoaiglVD7ehYw1oVPFX6q7O9FQiIDJDfd6DuEmMY0gvNu nTNVUOZGAL2YC7o7WYYkOcooYO1RRqX9LQdY9j2WzNxPu6DdTrPJyYq5QKuDPffl ndK2MnXzBkvMtwf51ccr7vdt/u3ILD2zXU0HGSaNujK2sDsqx2lYTwm2ic2ZR+Y4 pWnVGzKQnZXjUrvWfLOGqMvU01mYRTEHd6X5XGyVWFBni4C66gTdvvjJM+385txG d9wvJDKw1jLRLnr7hmqlh/MWBqFgJi/nTIOOUDsdUEypLcxarRs2Xl52TZxq8Vg= = Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3uyqd50k36-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Dec 2023 06:29:09 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3BE6T8p0006439 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Dec 2023 06:29:08 GMT Received: from hu-ipkumar-blr.qualcomm.com (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Wed, 13 Dec 2023 22:29:01 -0800 From: Praveenkumar I To: , , , , , , , , , , , , , , , , , , , , , CC: , , , Subject: [PATCH 00/10] Add PCIe support for Qualcomm IPQ5332 Date: Thu, 14 Dec 2023 11:58:37 +0530 Message-ID: <20231214062847.2215542-1-quic_ipkumar@quicinc.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: v719Z6pncc-Lc86gqsgsO87urvOt3rkD X-Proofpoint-ORIG-GUID: v719Z6pncc-Lc86gqsgsO87urvOt3rkD 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-09_02,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 mlxscore=0 adultscore=0 clxscore=1011 suspectscore=0 phishscore=0 bulkscore=0 malwarescore=0 mlxlogscore=754 priorityscore=1501 impostorscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312140039 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 agentk.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 (agentk.vger.email [0.0.0.0]); Wed, 13 Dec 2023 22:29:30 -0800 (PST) Patch series adds support for enabling the PCIe controller and UNIPHY found on Qualcomm IPQ5332 platform. PCIe0 is Gen3 X1 and PCIe1 is Gen3 X2 are added. UNIPHY changes depends on https://lore.kernel.org/all/20231003120846.28626-1-quic_nsekar@quicinc.com/ PCIe driver change depends on https://lore.kernel.org/all/20230519090219.15925-1-quic_devipriy@quicinc.com/ Praveenkumar I (10): dt-bindings: clock: Add separate clocks for PCIe and USB for Combo PHY clk: qcom: ipq5332: Add separate clocks for PCIe and USB for Combo PHY arm64: dts: qcom: ipq5332: Add separate entry for USB pipe clock phy: qcom: Add support for Pipe clock rate from device data dt-bindings: phy: qcom,uniphy-pcie: Add ipq5332 bindings phy: qcom: ipq5332: Add support for g3x1 and g3x2 PCIe PHYs dt-bindings: PCI: qcom: Add IPQ5332 SoC pci: qcom: Add support for IPQ5332 arm64: dts: qcom: ipq5332: Add PCIe related nodes arm64: dts: qcom: ipq5332: Enable PCIe phys and controllers .../bindings/clock/qcom,ipq5332-gcc.yaml | 6 +- .../devicetree/bindings/pci/qcom,pcie.yaml | 36 ++++ .../bindings/phy/qcom,uniphy-pcie-28lp.yaml | 65 +++++- arch/arm64/boot/dts/qcom/ipq5332-rdp441.dts | 74 +++++++ arch/arm64/boot/dts/qcom/ipq5332.dtsi | 188 +++++++++++++++++- drivers/clk/qcom/gcc-ipq5332.c | 7 +- drivers/pci/controller/dwc/pcie-qcom.c | 1 + .../phy/qualcomm/phy-qcom-uniphy-pcie-28lp.c | 49 ++++- 8 files changed, 412 insertions(+), 14 deletions(-) -- 2.34.1