From patchwork Fri Jul 21 17:24:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mrinmay Sarkar X-Patchwork-Id: 124041 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp369985vqg; Fri, 21 Jul 2023 10:49:52 -0700 (PDT) X-Google-Smtp-Source: APBJJlEsMIUCT0lmv7NhmNAYOSS4TGEsUlSG9H05dujz3WS0MG16Q38IhLbJ3gKpan87iUDsH82P X-Received: by 2002:a17:902:e5c8:b0:1b8:8ff5:2cee with SMTP id u8-20020a170902e5c800b001b88ff52ceemr2517482plf.64.1689961792524; Fri, 21 Jul 2023 10:49:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689961792; cv=none; d=google.com; s=arc-20160816; b=c5hS7/Zyj/3PA70wB/0EPce+PcfCUKaUhrlRfJ1AlaE95JP6BQcAPNDHXvqYAUtPQb I4oAQaYZWqiewFd1FJAVS0FEuKbmy0ttmPiFYnsDMj8FW8QZaTFEM0awKh/QTXNf4DMa tVvUUyQU/azN/P3rTjNdXzuisswKh5/M77YER4tsChVgvwjad6S7NjoOX6QdULMzjj7T /UYQlxhrSUIuXoKkR2a5ZrgwLa5/Cxq39ecduVYvVc5SxmoWU8M57DDbc6VKO4fwe45V jHjcj00T+MdX0yqWzKW9uLNQdEqOHfrdrZ8Ep/ka8DTJric7sYPaQE8F9LWb/BKBPGVG 1+iA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=nzXg4rxxm/IsnnjqRB+/U/wN1SxeBjmYAZbAhFXWSrU=; fh=fa3AiaE4KLv2j4FY3Qgg7xWWvU+TpRVNhCr9/l8NBoA=; b=gCZ/MlQqko+t0sk/DZ6yGgbfRr/AXthawnbe5ccx4hipVyM4K/ceJRD+gLVY6LVyrU Ld5poyHkZWIUbtayTG6kYiclAuSXORIUieWB66zkh4fbgmM/bJf/BbecMP2j6KrYRmqf QwnQKnN5jHefTdOH8lvC/Es4jTFBzJAgXdyVFQ4AONHOI8V0zBXeKYyA6CSYYiKCJgKv BeWGeX2zRHgSJZV8X6CI2nvgNEkNsmWRkdjzjPB2ZJOcQc1KSB7t5XnVLwPAHIySANSk x5sbjejzC6KvU48DAz/Kw4V7k82pOFeoifte6n/ofPCCBq7zPeKpuM1O9s46O8mSIL5u BH8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=kc+KdujO; 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 k12-20020a170902d58c00b001b9ed01eb1dsi3492908plh.361.2023.07.21.10.49.39; Fri, 21 Jul 2023 10:49:52 -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=kc+KdujO; 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 S230292AbjGURY5 (ORCPT + 99 others); Fri, 21 Jul 2023 13:24:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229531AbjGURYz (ORCPT ); Fri, 21 Jul 2023 13:24:55 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FCFD198D; Fri, 21 Jul 2023 10:24:54 -0700 (PDT) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36LEaO0i017179; Fri, 21 Jul 2023 17:24:48 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; s=qcppdkim1; bh=nzXg4rxxm/IsnnjqRB+/U/wN1SxeBjmYAZbAhFXWSrU=; b=kc+KdujOn/8bLY2yVSdcmfluH/AUY7r8z8eWSCLwTcPucGXIFBkaXTNetPFNIw4psbEh tIjaj8u1VpoCoSW89BKOc8ezN2iPHcaIDGeoQWRVZSNZUv6TIJkX43Q2YiLIxPoHljxo T7NmIQH5UQDo3Kv1WldgrrSU0KFAsKRGIi8CFsb2JXtIAqfHaK+QdowdWGASq/h2EhAB a16Lqztm0f5Ifxadz6WvKtj1lxPBIO2pESCcOSeV4b4J065wa/5Qqsx0BxO6unRDgage Xz1XxbKiA4LWEaSASBHrQ3XEauNt0f+oPQ/pHtWF1/OV4Ub8qYKvQIOlq2LSbR8DK4vK Zg== 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 3ryhdy9r3y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Jul 2023 17:24:47 +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 36LHOiQn023756; Fri, 21 Jul 2023 17:24:44 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTPS id 3rumhknepf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 21 Jul 2023 17:24:44 +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 36LHOi6i023745; Fri, 21 Jul 2023 17:24:44 GMT Received: from hu-sgudaval-hyd.qualcomm.com (hu-msarkar-hyd.qualcomm.com [10.213.111.194]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 36LHOhsa023744; Fri, 21 Jul 2023 17:24:44 +0000 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3891782) id 1811C32C9; Fri, 21 Jul 2023 22:54:43 +0530 (+0530) From: Mrinmay Sarkar 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, Mrinmay Sarkar , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= , Rob Herring , Bjorn Helgaas , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 1/4] dt-bindings: PCI: qcom: Add sa8775p compatible Date: Fri, 21 Jul 2023 22:54:32 +0530 Message-Id: <1689960276-29266-2-git-send-email-quic_msarkar@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1689960276-29266-1-git-send-email-quic_msarkar@quicinc.com> References: <1689960276-29266-1-git-send-email-quic_msarkar@quicinc.com> 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: X5AusCD69MkcwNt_90B0Pn4Gw7Fj_lsN X-Proofpoint-ORIG-GUID: X5AusCD69MkcwNt_90B0Pn4Gw7Fj_lsN X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-21_10,2023-07-20_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 bulkscore=0 spamscore=0 malwarescore=0 clxscore=1015 priorityscore=1501 adultscore=0 mlxlogscore=999 impostorscore=0 phishscore=0 lowpriorityscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307210153 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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: INBOX X-GMAIL-THRID: 1772053376357747989 X-GMAIL-MSGID: 1772053376357747989 Add sa8775p platform to the binding. Signed-off-by: Mrinmay Sarkar Reviewed-by: Krzysztof Kozlowski Acked-by: Manivannan Sadhasivam --- .../devicetree/bindings/pci/qcom,pcie.yaml | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml index 81971be4..eadba38 100644 --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml @@ -29,6 +29,7 @@ properties: - qcom,pcie-msm8996 - qcom,pcie-qcs404 - qcom,pcie-sa8540p + - qcom,pcie-sa8775p - qcom,pcie-sc7280 - qcom,pcie-sc8180x - qcom,pcie-sc8280xp @@ -211,6 +212,7 @@ allOf: compatible: contains: enum: + - qcom,pcie-sa8775p - qcom,pcie-sc7280 - qcom,pcie-sc8180x - qcom,pcie-sc8280xp @@ -748,7 +750,32 @@ allOf: compatible: contains: enum: + - qcom,pcie-sa8775p + then: + properties: + clocks: + minItems: 5 + maxItems: 5 + clock-names: + items: + - const: aux # Auxiliary clock + - const: cfg # Configuration clock + - const: bus_master # Master AXI clock + - const: bus_slave # Slave AXI clock + - const: slave_q2a # Slave Q2A clock + resets: + maxItems: 1 + reset-names: + items: + - const: pci # PCIe core reset + + - if: + properties: + compatible: + contains: + enum: - qcom,pcie-sa8540p + - qcom,pcie-sa8775p - qcom,pcie-sc8280xp then: required: @@ -790,6 +817,7 @@ allOf: contains: enum: - qcom,pcie-msm8996 + - qcom,pcie-sa8775p - qcom,pcie-sc7280 - qcom,pcie-sc8180x - qcom,pcie-sdm845