Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2210805rwd; Fri, 19 May 2023 02:29:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ69La6hi/GdOzUApmEhEmHScBH4dv19xCdyfCekYW5NXHslNTeZeQy9S36QRUMHnoK30FrC X-Received: by 2002:a05:6a21:1084:b0:f8:1101:c074 with SMTP id nl4-20020a056a21108400b000f81101c074mr1257834pzb.54.1684488582984; Fri, 19 May 2023 02:29:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684488582; cv=none; d=google.com; s=arc-20160816; b=lSSqCw4Cqe0f71BlETj8Knp9I9Y++XSWILWn895YlJnYfrQl3RAj6i2Bh0dcHhcLYN bthV2vvSxbhsfjhqucK77DrqVkkvCYyuKiZovUuloMj3ZFpCD5XLlz2Fbd8C7oFUvii6 XbK9l9Z+/MgbLaUL0ieZcmbFY9rgrJJ0fM2KFWq3GiVP8tBVZ6O7Xk9QNz8Qunc/sot2 D351pwqsT8qoflBJ26WOq509QEN86h4v6Nb/05bZtmDgqO+jRuatCT720hVwlqk8AmT8 1LAmSi/rULD5uVw41qhyUgsu1t1Q9p9RDg0aHvM1KAiEqjzWrv5V/iXcuLfkJ0V48yiq BP8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=gLMEAADV5Voa+hjHd2kw8/UCOL6X53k5+RaVvhhvhGo=; b=UsA9bmr5d4A6rEzR1cakZUmGQ815y+gOk7kejKVMTcKD3KAlmnK2LvwZstTfjuJXlV +mLDM5uMUMgBJvSx4adss6SU6qJTwI6yEWnLsNuqTxvaJznIjNMDPmpQVIotJ/m8DTEy r4awuDmPeay6gLqZXyAcuRe/GR+j8q/lm4mce9zH3YZX3DKsNvH0JsQMt+YR7yKntpnx tg3a6Uf+Sb4D+LgnzKQEAoG5+KgMkRoieqxjiw5hxQwuipZugLOIMqN/QL9/AKPMzONn Eoj5/dKIJo4VZ2IZLHXSRerbyVInQNSmYXrxMmFzqtSYGk1D7Ko3hGObNpx2aOepyLZp uYng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=LYaXLvdQ; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i22-20020a633c56000000b00528cd045e4asi1860868pgn.391.2023.05.19.02.29.30; Fri, 19 May 2023 02:29:42 -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=LYaXLvdQ; 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 S230162AbjESJDY (ORCPT + 99 others); Fri, 19 May 2023 05:03:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229932AbjESJDS (ORCPT ); Fri, 19 May 2023 05:03:18 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6059A10D0; Fri, 19 May 2023 02:03:09 -0700 (PDT) Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34J7NeXB018881; Fri, 19 May 2023 09:03:02 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-type; s=qcppdkim1; bh=gLMEAADV5Voa+hjHd2kw8/UCOL6X53k5+RaVvhhvhGo=; b=LYaXLvdQ1S7D0rJf9+DjRSzpZ5U4s0hf4MNqHwnQxrZHssw/X9Jl5qLKtE7rRFF9vvBP xIn0Wxq3gE1sLUsRPucLKeYMtq+WMC+lRacfPUl2CtntUOZvy2s+DUXytt46zcLZ4HJq roOMCWpUS6oDuaXjtMikvKzS6rSoobpIJlgXtUjewnZyMQjoAEtpwhn4euxc5dyOFtVz Rg2nbYxr3zuemrO/26WnTqCK7lxX51ECRmsVqcWG4UlAtGrCfyaOtMAU0QJ3zW9X0mKO iPnglCD0HP4PfkuIzDzxXIpo/JULZK9BJJ3FNKul6Spa1BvdGW39PJyHFVmvBBL9OqyV ZA== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qp4nt85me-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 19 May 2023 09:03:02 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 34J93063009446 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 19 May 2023 09:03:00 GMT Received: from devipriy-linux.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Fri, 19 May 2023 02:02:54 -0700 From: Devi Priya To: , , , , , , , , , , , , , , , , CC: , , , , , Subject: [PATCH V4 3/6] dt-bindings: PCI: qcom: Add IPQ9574 Date: Fri, 19 May 2023 14:32:16 +0530 Message-ID: <20230519090219.15925-4-quic_devipriy@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230519090219.15925-1-quic_devipriy@quicinc.com> References: <20230519090219.15925-1-quic_devipriy@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: S1aujFqgeLZBGf_Z7ma4WX2K3qRsxdLA X-Proofpoint-GUID: S1aujFqgeLZBGf_Z7ma4WX2K3qRsxdLA X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-19_05,2023-05-17_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 suspectscore=0 lowpriorityscore=0 adultscore=0 clxscore=1015 phishscore=0 spamscore=0 impostorscore=0 bulkscore=0 malwarescore=0 mlxscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305190076 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 Add bindings for PCIe hosts on IPQ9574 platform and allow msi-parent property. Signed-off-by: Devi Priya --- Changes in V4: - Dropped msi-parent from anyOf: as msi-parent and msi-map cannot coexist and added it specific to ipq9574 .../devicetree/bindings/pci/qcom,pcie.yaml | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml index 81971be4e554..af5c7a390df1 100644 --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml @@ -26,6 +26,7 @@ properties: - qcom,pcie-ipq8064-v2 - qcom,pcie-ipq8074 - qcom,pcie-ipq8074-gen3 + - qcom,pcie-ipq9574 - qcom,pcie-msm8996 - qcom,pcie-qcs404 - qcom,pcie-sa8540p @@ -113,6 +114,8 @@ properties: power-domains: maxItems: 1 + msi-parent: true + perst-gpios: description: GPIO controlled connection to PERST# signal maxItems: 1 @@ -171,6 +174,7 @@ allOf: enum: - qcom,pcie-ipq6018 - qcom,pcie-ipq8074-gen3 + - qcom,pcie-ipq9574 then: properties: reg: @@ -382,6 +386,39 @@ allOf: - const: ahb # AHB Reset - const: axi_m_sticky # AXI Master Sticky reset + - if: + properties: + compatible: + contains: + enum: + - qcom,pcie-ipq9574 + then: + properties: + clocks: + minItems: 6 + maxItems: 6 + clock-names: + items: + - const: ahb # AHB clock + - const: aux # Auxiliary clock + - const: axi_m # AXI Master clock + - const: axi_s # AXI Slave clock + - const: axi_bridge # AXI bridge clock + - const: rchng + resets: + minItems: 8 + maxItems: 8 + reset-names: + items: + - const: pipe # PIPE reset + - const: sticky # Core Sticky reset + - const: axi_s_sticky # AXI Slave Sticky reset + - const: axi_s # AXI Slave reset + - const: axi_m_sticky # AXI Master Sticky reset + - const: axi_m # AXI Master reset + - const: aux # AUX Reset + - const: ahb # AHB Reset + - if: properties: compatible: @@ -767,6 +804,7 @@ allOf: - qcom,pcie-ipq8064v2 - qcom,pcie-ipq8074 - qcom,pcie-ipq8074-gen3 + - qcom,pcie-ipq9574 - qcom,pcie-qcs404 then: required: @@ -862,6 +900,16 @@ allOf: items: - const: msi + - if: + properties: + compatible: + contains: + enum: + - qcom,pcie-ipq9574 + then: + required: + - msi-parent + unevaluatedProperties: false examples: -- 2.17.1