Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6398811rwr; Mon, 1 May 2023 23:06:02 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4D15F/oCD7MX0AMpDJnPF0bPS4rWBEzN8W2OSAYb8xAvXt/7hwffEpQdYa78MCVS2VNtfC X-Received: by 2002:a17:902:e802:b0:1ab:d2c:a1a6 with SMTP id u2-20020a170902e80200b001ab0d2ca1a6mr837951plg.69.1683007562453; Mon, 01 May 2023 23:06:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683007562; cv=none; d=google.com; s=arc-20160816; b=Ir5fYxmvrDX6pLiYssqkk5xIMVfsBELdMrFysd96WsK4hJRODVo2THqeMxb9bv0ZRy FgBS8heteMJKNgh1f5iZDwRdnAtrNIdoFbunC9HzTfksDlxJxPaNV7ZFJJVzFpTFoZn8 bbSUnhzQlKCG0tRZ93PxxU+x0K0Rp+FrhhXg/Zk6pu5H2ltquEX5+MjPdYyVTwxmGE+u T3jTLSiUmXutc3f8L9gBanfwbuAEVYk6ZmIonCD2di46RsH7U5LcEgIpVkeJX0wSx9rm y7KOOTrDQFv/ZiZi/c3PJpZrAT8ZaUONPZmW600x60nvM1bk+RxptzeOgLvaNkNT1wMM LZGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=PrAFe7ea7BirIRPVaDBoFpQItMlnOPom8nGljtcwk9Y=; b=ZgruaYPiLE+HJuwK717g7N2ogsUf+m6PjwwzOjPJuf42y34iBNGsVxXtKE4nyaMrGE ExUlbvRB3r+tj9AGzZ5R4ms39sMqSICGCPEJ3JA6pHVriQJ5eJ8lpndxbcpqYMS0Yx1r K2rL5mdl8CDMTO0BK1ZR4fBNeXOvlI3r9mLw2OubfT9U/GX9BhnnKAJsMq1W877+i/r2 GTZFEyqtomNsxRoJofReKzpzc1r0vyVx9Uk5I/M9HPDBN5L36UoqCqztFSFEb6EPqHhI LI+GmMG92gUDdWMwrHSNn8mrOzztTrqDtrwT9xcUx/6xh9nthLf6/75otYSzFqVqA9i5 igGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=FqKeMCvI; 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 f9-20020a170902ce8900b001aaee36e272si5336139plg.477.2023.05.01.23.05.48; Mon, 01 May 2023 23:06:02 -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=FqKeMCvI; 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 S233560AbjEBFjX (ORCPT + 99 others); Tue, 2 May 2023 01:39:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230004AbjEBFjU (ORCPT ); Tue, 2 May 2023 01:39:20 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8269AE52; Mon, 1 May 2023 22:39:19 -0700 (PDT) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3425GU1H031986; Tue, 2 May 2023 05:39:13 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=PrAFe7ea7BirIRPVaDBoFpQItMlnOPom8nGljtcwk9Y=; b=FqKeMCvI3uJXUuU0UL20EgdHCgG/UUKE+x3ZWZIIvg7ugm5ceZ59U5jPsJ8nmds5n8fC /zUaYt9fZeVuU6UWbA+L39Rdo4oQDEH+u6XkVkv0Oj3gdY5j83doBObdqotzQMyB5GEX KuUdF8rnTK+h9trR3sFIurrZD+n+hrzz8L0Q32ag4R/9XluL9kKv6pwEZKpt5erJ6XuV 5hJB09GMedTci0y4b7rfiURg7tKAurer5kAqm9tlWeRX5k8BiXC+FF9RMrUokAJuDhdE J8lV96P+PPknawqZ++B1ZQAfLpuZUfkKH3+2m+xVmntnYV593WETLPb8VHWJhtavnrb+ kw== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3q8ufc5dpj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 02 May 2023 05:39:13 +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 3425cwn5010848 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 2 May 2023 05:38:58 GMT Received: from [10.242.243.253] (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; Mon, 1 May 2023 22:38:50 -0700 Message-ID: Date: Tue, 2 May 2023 11:08:39 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH V3 3/6] dt-bindings: PCI: qcom: Add IPQ9574 To: Rob Herring CC: , , , , , , , , , , , , , , , , , , , , References: <20230421124938.21974-1-quic_devipriy@quicinc.com> <20230421124938.21974-4-quic_devipriy@quicinc.com> <20230425173330.GA1985131-robh@kernel.org> Content-Language: en-US From: Devi Priya In-Reply-To: <20230425173330.GA1985131-robh@kernel.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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: Rrfp5iF_YPZ1tvVUs0Qeb6soHz_aEy6n X-Proofpoint-GUID: Rrfp5iF_YPZ1tvVUs0Qeb6soHz_aEy6n X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-02_02,2023-04-27_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 mlxlogscore=999 adultscore=0 malwarescore=0 clxscore=1015 priorityscore=1501 suspectscore=0 spamscore=0 bulkscore=0 lowpriorityscore=0 impostorscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2305020049 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On 4/25/2023 11:03 PM, Rob Herring wrote: > On Fri, Apr 21, 2023 at 06:19:35PM +0530, Devi Priya wrote: >> Add bindings for PCIe hosts on IPQ9574 platform and allow >> msi-parent property. > > Go see the long discussion about why msi-parent with msi-map is wrong. > If something changed, explain that here. Sure, okay Thanks, Devi Priya > >> >> Signed-off-by: Devi Priya >> --- >> Changes in V3: >> - Rebased on linux-next/master >> >> .../devicetree/bindings/pci/qcom,pcie.yaml | 40 +++++++++++++++++++ >> 1 file changed, 40 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml >> index 81971be4e554..a92cecc5fe6f 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 >> @@ -138,6 +141,8 @@ anyOf: >> - required: >> - msi-map >> - msi-map-mask >> + - required: >> + - msi-parent >> >> allOf: >> - $ref: /schemas/pci/pci-bus.yaml# >> @@ -171,6 +176,7 @@ allOf: >> enum: >> - qcom,pcie-ipq6018 >> - qcom,pcie-ipq8074-gen3 >> + - qcom,pcie-ipq9574 >> then: >> properties: >> reg: >> @@ -382,6 +388,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 +806,7 @@ allOf: >> - qcom,pcie-ipq8064v2 >> - qcom,pcie-ipq8074 >> - qcom,pcie-ipq8074-gen3 >> + - qcom,pcie-ipq9574 >> - qcom,pcie-qcs404 >> then: >> required: >> -- >> 2.17.1 >>