Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5795563rdb; Wed, 13 Dec 2023 22:31:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IHzCuDV+GaxUcSYH/BF+VmZMTUOclKQVN0yk11tqvZT76adnERGZOEBwipxmw6PolaQTCu3 X-Received: by 2002:a05:6a20:7d90:b0:18c:3199:7174 with SMTP id v16-20020a056a207d9000b0018c31997174mr13386953pzj.19.1702535478065; Wed, 13 Dec 2023 22:31:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702535478; cv=none; d=google.com; s=arc-20160816; b=yXorDGSQiHef/U16AGeDAjl2pDder2KIqmqDWUwV/+9spAUyZjPHtxtEgO/wuHbIgY rEM0B0Emnf84icflNB9/qpUnrC+d8UGMuyEgePu2jv99950zJ7yYm2eJRyXaV3oZSZgq Dcb60uBJdRrsVvhr2itIcjFiE/GohsbfXh5bzugMRC1huaO2UpV6iFo7uazTVgftFPf5 QF9Z6nBR7u5+KsKw2UYEk+pgjNW3BvOAWwwAuWrfo/anG1FsgRlbajlH+bwdlZxPY0pL mCOdeO5MgUjrHIfe0LOd80Kh9EXJ0h182ywrZAoyuUVST6JSZkCQ7REnb1dEdYX6p9tT zA6Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=WJr3Nkmd/Qw0LXUgVh1auTrBFZKq1cTU8dUnkpzDrVU=; fh=Rt0kLJa5uw2v8+a6QLzz/XrrVhh9NAe/gnPEpTFc420=; b=dJVKNvFQzdVFB0LsVGUta3eL6O7S4IcmH4YMNhy5L3btcLaLeoAGwwbt34hRw1siPk 00qwHlTrKhEznp2JKiD15Kfps6BJAko6NIix1/yeotJo9n0SuqnHNz2gPFUDTeVTi0Qq TgvmfdJm8ABTEOcyJ5uJtHXfLwxG1+W69LXTDYYeDMIV6MWndxsdSVZy4z+61lCCf5bB 8Te/7wji21d1j9BtOHiW3m1XnZpebZDovqdkz4EwShMuuWYsyS8zWoFO621FgrMIIhiW ZouBqesWJqdrinjwXK8LGZubv6+Ai8VEZMN/zn/u16qRG+RgZNXC5c48pnNRO9m3BdFg ZZTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=c1U2Xg+1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id w3-20020a636203000000b00578c64433c9si10820648pgb.894.2023.12.13.22.31.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 22:31:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=c1U2Xg+1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id 35BFB82DC621; Wed, 13 Dec 2023 22:31:15 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234275AbjLNGal (ORCPT + 99 others); Thu, 14 Dec 2023 01:30:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235548AbjLNGaR (ORCPT ); Thu, 14 Dec 2023 01:30:17 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B556131; Wed, 13 Dec 2023 22:30:18 -0800 (PST) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BE1G3ii013046; Thu, 14 Dec 2023 06:30:09 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= qcppdkim1; bh=WJr3Nkmd/Qw0LXUgVh1auTrBFZKq1cTU8dUnkpzDrVU=; b=c1 U2Xg+1F58F630Hu3p/unEOoG0oYgCeceNOMpLBTPFcAQZMeP7pkUMLAyBAnyRgWo A4OPV3z9jvC7l20095pXFT72Jmz6ewQJ8Ph0Ogj/O8ZSclp+DF0EecrNBg23IQDD 0T84zku3O4azNjLMRR1rQ7wbnKSyg+IjPcxo3iMu4bG6nmCzh4UBV3rPc8xkhDYS anRnvY85sAid4qPvJjeBQAcDdQSOsK+ON6AJuii3ZQpHGE9tXiaTypFVje8CrsUr PSFRusdy7bfqPjTSI5vGya6YwoRJzdakxbTUas4wgpG/80y3c+KuwFbL3hTYjN1I U2+ANv/dvO50VVaUJbCQ== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3uyq9t0k9t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Dec 2023 06:30:09 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3BE6U8pt006229 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Dec 2023 06:30: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:30:00 -0800 From: Praveenkumar I To: , , , , , , , , , , , , , , , , , , , , , CC: , , , Subject: [PATCH 08/10] pci: qcom: Add support for IPQ5332 Date: Thu, 14 Dec 2023 11:58:45 +0530 Message-ID: <20231214062847.2215542-9-quic_ipkumar@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231214062847.2215542-1-quic_ipkumar@quicinc.com> References: <20231214062847.2215542-1-quic_ipkumar@quicinc.com> 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-ORIG-GUID: GUaimBjfFoMiK3fyMTlOIKmwFZNFsqnm X-Proofpoint-GUID: GUaimBjfFoMiK3fyMTlOIKmwFZNFsqnm 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 clxscore=1015 mlxscore=0 mlxlogscore=958 suspectscore=0 adultscore=0 spamscore=0 lowpriorityscore=0 malwarescore=0 impostorscore=0 priorityscore=1501 phishscore=0 bulkscore=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 howler.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 (howler.vger.email [0.0.0.0]); Wed, 13 Dec 2023 22:31:15 -0800 (PST) The Qualcomm IPQ5332 PCIe controller instances are based on SNPS core 5.90a with Gen3 Single-lane and Dual-lane support. The Qualcomm IP rev is 1.27.0 and hence using the 1_27_0 ops. Signed-off-by: Praveenkumar I --- This patch depends on the below series which adds PCIe support in Qualcomm IPQ9574 https://lore.kernel.org/all/20230519090219.15925-1-quic_devipriy@quicinc.com/ drivers/pci/controller/dwc/pcie-qcom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/dwc/pcie-qcom.c b/drivers/pci/controller/dwc/pcie-qcom.c index 109df587234e..3d54de1a71df 100644 --- a/drivers/pci/controller/dwc/pcie-qcom.c +++ b/drivers/pci/controller/dwc/pcie-qcom.c @@ -1642,6 +1642,7 @@ static const struct of_device_id qcom_pcie_match[] = { { .compatible = "qcom,pcie-apq8064", .data = &cfg_2_1_0 }, { .compatible = "qcom,pcie-apq8084", .data = &cfg_1_0_0 }, { .compatible = "qcom,pcie-ipq4019", .data = &cfg_2_4_0 }, + { .compatible = "qcom,pcie-ipq5332", .data = &cfg_1_27_0 }, { .compatible = "qcom,pcie-ipq6018", .data = &cfg_2_9_0 }, { .compatible = "qcom,pcie-ipq8064", .data = &cfg_2_1_0 }, { .compatible = "qcom,pcie-ipq8064-v2", .data = &cfg_2_1_0 }, -- 2.34.1