Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4678027rwb; Mon, 21 Nov 2022 10:24:38 -0800 (PST) X-Google-Smtp-Source: AA0mqf6ZgD9efrbBjy/HawL25fXTjiriOqytk7QQwG2UrdDcJCMxHrjxBS0vr1rz0HNxCoDeAMnO X-Received: by 2002:a17:906:ce2a:b0:7b8:1ce3:448a with SMTP id sd10-20020a170906ce2a00b007b81ce3448amr528321ejb.13.1669055077908; Mon, 21 Nov 2022 10:24:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669055077; cv=none; d=google.com; s=arc-20160816; b=Ljy16gVrGI4TXKVWKJTSyR8pbHSdXLy8Emptl8i3ewAl7xJ9ugLzNnADUZmSRJv/0q Lls53r1wdtRTtlD1OTQWnKsDkhOeG2yXGHUDERVbs7p2UmwCm+2O48OpbcNmVeP6h7j4 KZofFkn+CUiaay6ABa/G4ISfYdjHmCfI1p2Vw7z8CtlSAWTpykXelhPN9kR9+0MvqNel ngCPX/rvHzeH4GH71IL5JOjkGpBF1PocoyrVsUaej1RiFAMtivhLFd4EyFqQV9ZuRxgj sZ1Y35KNKIs6OU6vufHaXrmPFsdqQhBs0SjtMHaMrC+62EoxgA85qFoZcRTj7LifSvko O1yg== 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 :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=J2ziprhOCt4/OvatyzdPhBuY3gPy2k6/KX5qdtMf480=; b=mFI60GLq11HS25BING5R/H7ll6Ebf9uofqqjXqi2mjUJstsWaBaKEj8wBOsR/IvsmI mOQftlbofFVo10SR6ner2zA5s7oXaXjVyjo/7ctx0vUIQ+JX7DNiSzuYbjhJ6dycezQ3 jna1vrd7qlcS/R8+Lkvb48x+YAT2IZt1+6ND0XX3fx6s8s7yn3alHwcEay+Tt2VMcfmE AA0ayL9vVlx2/jAJEu7ot1OGtJ8V7IW3Z70xdcedhRi8uzUfdTvkbXDw5u8K+Fp958sa XtLqDGLt32NIZU7/HqA1kdx9jqm6e4kShaZGnovfN9i9CqpY7c8bjnP9YDbs+xAM+8gM n79A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="CA/dXLLW"; 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 dt13-20020a170906b78d00b0073d9ea386d4si8178631ejb.983.2022.11.21.10.24.01; Mon, 21 Nov 2022 10:24:37 -0800 (PST) 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="CA/dXLLW"; 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 S229721AbiKURju (ORCPT + 91 others); Mon, 21 Nov 2022 12:39:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229509AbiKURjq (ORCPT ); Mon, 21 Nov 2022 12:39:46 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C075BC68BD; Mon, 21 Nov 2022 09:39:45 -0800 (PST) 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 2ALDoT2Y011758; Mon, 21 Nov 2022 17:39:42 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=J2ziprhOCt4/OvatyzdPhBuY3gPy2k6/KX5qdtMf480=; b=CA/dXLLW+fYX2Uy33B1wQvxEnF4/NNXPst33ir9C2UsvSGpDrA1+WLyFagvhPcdEetXn hLnwq7jTTCfNu8y2NVaPjRsYVyFzN6LEvzUPjMLrcSFfoaqD5ak2M5KBDtyGpdcjuj5c 75j7Q28ilznjyw8b56e3zEnGUgVIjVsHnfl3lwOc3ief8f+on0kksuAu6cxYWc9R2TC4 JqFRvoab25yeWQermcHyNIRFQiXrCv2wxlS5VLy0r3YZhJOaNmhEJHsHA7SicH1wdqpw ksoasLstc4yJMFdYYg2fHE3Xe9zhuwiYhBoRSOPvE6G7TCRfGmuIxWWiXTHGV3/rxhSk 8Q== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3kxrf5n8kb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 21 Nov 2022 17:39:42 +0000 Received: from nasanex01b.na.qualcomm.com (corens_vlan604_snip.qualcomm.com [10.53.140.1]) by NASANPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 2ALHdfYa024723 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 21 Nov 2022 17:39:41 GMT Received: from [10.110.33.239] (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.986.36; Mon, 21 Nov 2022 09:39:40 -0800 Message-ID: <3ada611b-96e0-5cf0-d79d-b90ca4202ddb@quicinc.com> Date: Mon, 21 Nov 2022 11:39:39 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH v4 1/3] dt-bindings: interconnect: Add rpmh virt devices Content-Language: en-US To: Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , Georgi Djakov , Rob Herring , Krzysztof Kozlowski CC: Odelu Kukatla , , , , References: <20221118182245.31035-1-quic_molvera@quicinc.com> <20221118182245.31035-2-quic_molvera@quicinc.com> <536af0d9-aa00-ddf1-753d-670ec2adef91@linaro.org> From: Melody Olvera In-Reply-To: <536af0d9-aa00-ddf1-753d-670ec2adef91@linaro.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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: tzr4wpSljmeffODI5sjKo2PDxzg0UEy- X-Proofpoint-ORIG-GUID: tzr4wpSljmeffODI5sjKo2PDxzg0UEy- X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-11-21_15,2022-11-18_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 adultscore=0 mlxlogscore=999 spamscore=0 suspectscore=0 bulkscore=0 impostorscore=0 lowpriorityscore=0 malwarescore=0 priorityscore=1501 clxscore=1015 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2211210136 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 11/20/2022 5:13 AM, Krzysztof Kozlowski wrote: > On 18/11/2022 19:22, Melody Olvera wrote: >> Add documentation for virtual rpmh devices. These interconnects >> are not controlled by the application processor and thus >> require separate bindings. Also, move compatibles for sm8450 to >> this document and add them for QDU1000/QRU1000 platforms. >> >> Signed-off-by: Melody Olvera >> --- >> .../bindings/interconnect/qcom,rpmh-virt.yaml | 55 +++++++++++++++++++ >> .../bindings/interconnect/qcom,rpmh.yaml | 2 - >> 2 files changed, 55 insertions(+), 2 deletions(-) >> create mode 100644 Documentation/devicetree/bindings/interconnect/qcom,rpmh-virt.yaml >> >> diff --git a/Documentation/devicetree/bindings/interconnect/qcom,rpmh-virt.yaml b/Documentation/devicetree/bindings/interconnect/qcom,rpmh-virt.yaml >> new file mode 100644 >> index 000000000000..5cbaa51df863 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/interconnect/qcom,rpmh-virt.yaml >> @@ -0,0 +1,55 @@ >> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/interconnect/qcom,rpmh-virt.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Qualcomm RPMh Virtual Network-On-Chip Interconnect >> + >> +maintainers: >> + - Georgi Djakov >> + - Odelu Kukatla >> + >> +description: | >> + RPMh interconnect providers support system bandwidth requirements through >> + RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is >> + able to communicate with the BCM through the Resource State Coordinator (RSC) >> + associated with each execution environment. Provider nodes must point to at >> + least one RPMh device child node pertaining to their RSC and each provider >> + can map to multiple RPMh resources. Virtual interconnect providers are not >> + controlled by AP and do not support QoS; they should not have associated >> + register regions. >> + >> +allOf: >> + - $ref: qcom,rpmh-common.yaml# >> + >> +properties: >> + compatible: >> + enum: >> + - qcom,qdu1000-clk-virt >> + - qcom,qdu1000-mc-virt >> + - qcom,sm8450-clk-virt >> + - qcom,sm8450-mc-virt > You should also move qcom,sdx65-mc-virt, qcom,sc8280xp-mc-virt, > qcom,sc8280xp-clk-virt and more. Ok. I wasn't sure since some of these entries don't seem to conform to these bindings, even though it seems they should. > >> + >> + '#interconnect-cells': true >> + >> +required: >> + - compatible >> + >> +unevaluatedProperties: false >> + >> +examples: >> + - | >> + #include >> + >> + clk_virt: interconnect-0 { >> + compatible = "qcom,sm8450-clk-virt"; >> + #interconnect-cells = <2>; >> + qcom,bcm-voters = <&apps_bcm_voter>; >> + }; >> + >> + mc_virt: interconnect-1 { >> + compatible = "qcom,sm8450-mc-virt"; >> + #interconnect-cells = <2>; >> + qcom,bcm-voters = <&apps_bcm_voter>; > These are exactly the same examples, so just keep one. Sounds good. Thanks, Melody > > Best regards, > Krzysztof >