Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4669400rwb; Mon, 21 Nov 2022 10:17:29 -0800 (PST) X-Google-Smtp-Source: AA0mqf6b9Sq3Q/KNAGrsS+FWW+u5r9a3UuNOvHf68Uu7BS45ArWCD7/jnpTLs4oZUYnrPzpyVztD X-Received: by 2002:a05:6402:294d:b0:467:6b55:3cf5 with SMTP id ed13-20020a056402294d00b004676b553cf5mr17782031edb.22.1669054649726; Mon, 21 Nov 2022 10:17:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669054649; cv=none; d=google.com; s=arc-20160816; b=GlsvXDedGLR040sS/ovPl71X+ZvDPuDwFlqq9jBLU7OIVg44yJ9h9h1PC2ZqPEqg6W CY1mO/ZQMGZr0+NFQu6h22YfJbXnzR79mfs8bAnxACSMEbajfVa+d0faKCPM/JccX6Ze cYyY+s4RWre7STN1brOE1XNgjEnwf31hZE2oKeza/Vho+CuWbmPqFfL8B/7z/5MxdlGy bKms3ca9vPQMI9xymOdpbbNM1+uZOu4L2KCglGGDQH0VxR67tkG9mLShq2/u8lk95a0J /Tebpycsu5lphaq1UCDmZcPDB/iJSD4NJml2QHCR5YTEAcQuGk/q78EsknAXZXfKfEvS Wk6g== 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=iKJ1+VaYR1MdhFNUFPa6qE5TM94xohJmtN9FFeR/poo=; b=U+ZQ9UrFAxp1mar8pXCYp9dNrwQHjOxi9EPSgYRmKlE0yDIALe6ppdYgc8+rWoJHQB 8t0WaxsSmEF2UOI/nlRcJO68FOnW9bVRLzOp88+JhLHJh0+jKvruoIGSY66q5L9SgJqW QyKf0Hbozw6vavRbC8K/S97bY2dHYAox2h9PaNbNWVBg3wpSRX2/SCOjhT1nVKFhZosY Btzkt7A0TkoSUeguAP5Ou20UuWgVjnoTHD8NQeencsPb7mMBapnSkOIp2bu+KjeN/7NW gJ5r35dkpPtSNMgB0n1r1elmqQQNxCAcdKmYjU3pTTq1Kf1s/2JJgfh59oy18GFNOeTW m8WQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=MPve2WOZ; 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 wu7-20020a170906eec700b007ae1723e8d7si11548384ejb.610.2022.11.21.10.16.58; Mon, 21 Nov 2022 10:17:29 -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=MPve2WOZ; 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 S229810AbiKURil (ORCPT + 91 others); Mon, 21 Nov 2022 12:38:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229541AbiKURij (ORCPT ); Mon, 21 Nov 2022 12:38:39 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CB726321; Mon, 21 Nov 2022 09:38:38 -0800 (PST) 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 2ALGmAb9006091; Mon, 21 Nov 2022 17:38:29 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=iKJ1+VaYR1MdhFNUFPa6qE5TM94xohJmtN9FFeR/poo=; b=MPve2WOZ6VYSELO/qKFgvdNnlSuXDaPoEntMLR7i+uPKj+8AnbvlyrF+E4aSnx1Ljxs0 PBM6OMNUGm0sU2Rlz8rozEd5W9GpQ4ftOZdAACdHFoai9PfKQLuuBLj4a5bMhRXdhGvS Gug9vEDWtCh1VapUYckH9eRQJfgim7qUmat1VJGcbrLlXdHsU0XVVSo05iM5Ky/807zp xWi/M3Ef0JuiPCx7ve+uCo+w/ceN+dEu6O1piMiTyonypoH/CkgUE/IN5lYNwe+Y/c/P gHd16bRDsyyX3IyVrXLFOogY3jMk5AxKs6YlO/d0H+hP0Sm1QY9Tiwhp6lkZmfUlsJpW eg== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3kxrpb520v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 21 Nov 2022 17:38:28 +0000 Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 2ALHcRaH021333 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 21 Nov 2022 17:38:27 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:38:26 -0800 Message-ID: <07461501-775f-805e-01ba-dd927df57075@quicinc.com> Date: Mon, 21 Nov 2022 11:38:25 -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 To: Georgi Djakov , Andy Gross , "Bjorn Andersson" , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski CC: Odelu Kukatla , , , , References: <20221118182245.31035-1-quic_molvera@quicinc.com> <20221118182245.31035-2-quic_molvera@quicinc.com> <3bc11449-bd5f-f4c4-98da-ebc0d7c8b309@kernel.org> Content-Language: en-US From: Melody Olvera In-Reply-To: <3bc11449-bd5f-f4c4-98da-ebc0d7c8b309@kernel.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit 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: kJ_1_NB7RnLQ-lXtjVe0kdIcX-pRFFzt X-Proofpoint-GUID: kJ_1_NB7RnLQ-lXtjVe0kdIcX-pRFFzt 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_14,2022-11-18_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 mlxscore=0 lowpriorityscore=0 suspectscore=0 bulkscore=0 malwarescore=0 priorityscore=1501 mlxlogscore=999 phishscore=0 clxscore=1015 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2211210134 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/21/2022 9:23 AM, Georgi Djakov wrote: > Hi Melody, > > On 18.11.22 20: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 > > This email is not valid anymore, so please replace it with djakov@kernel.org. Sounds good. Melody > > Thanks, > Georgi > >> +  - 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 >> + >> +  '#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>; >> +      }; >> diff --git a/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml b/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml >> index a429a1ed1006..bd474f49deb0 100644 >> --- a/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml >> +++ b/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml >> @@ -123,11 +123,9 @@ properties: >>         - qcom,sm8350-system-noc >>         - qcom,sm8450-aggre1-noc >>         - qcom,sm8450-aggre2-noc >> -      - qcom,sm8450-clk-virt >>         - qcom,sm8450-config-noc >>         - qcom,sm8450-gem-noc >>         - qcom,sm8450-lpass-ag-noc >> -      - qcom,sm8450-mc-virt >>         - qcom,sm8450-mmss-noc >>         - qcom,sm8450-nsp-noc >>         - qcom,sm8450-pcie-anoc >