Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4456355rwb; Mon, 21 Nov 2022 07:49:34 -0800 (PST) X-Google-Smtp-Source: AA0mqf7/zyFLarIezSVhW03n2SSSZsJC/8sP87mVbGq9GU/ycyir57NylHvU6/1+NBjJ1ZKbIPJM X-Received: by 2002:a17:907:2991:b0:782:6505:dec6 with SMTP id eu17-20020a170907299100b007826505dec6mr15763535ejc.505.1669045774210; Mon, 21 Nov 2022 07:49:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669045774; cv=none; d=google.com; s=arc-20160816; b=uhD+x+YkbsW2Kxv1CyWWygv9MrSjqSorSi+eT+ycBUPK61nVrS8CUvmjngIcLqir67 5BmRScB3F3jkF62uscWaLDO9N4NoCu6/6rSwApwSoVGt9GSlaV8eIHZ0zcYvSkO5IY5U +Pbif9Ag19yjX/aDanWI09EF26wcdvYLN0UGg+GaZYq7H4SZPw9R3Ng3vJY4OGU0RfVk 6zA+XD/5Lt5eh+FeDWY5WyihhLTEKfvm1yxcQqri3KK5lAxewZdgVdraUNWexd+DsHCC DwTSJyHRs/FjZNEOprGMzlx0PXCn6dWo/hYAxvvTCRHklqR8R2tiKZ6hNS6+q6XF7crm pgig== 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:mime-version:date :message-id:dkim-signature; bh=fdTWsSYpLjzBtyWVpaLx9MCdJ2+v4ILUIbbHea7vDi8=; b=EnJnvHmWmfrlQx5wdXtoN9VusEEzi+LeUi1gdomwNfvYP/PV8waP5Hkm/+i6AiVgOp 5nZeym+ADBYm1jCOmZVil54x8TVBgqPovGsD+ttkx4uRigNXcIQ5doVI8AP+5NvE90Rz 8pAPmftLntUmyVDNS/BnZ3IQVqk07vjzBkXRtXss9JimZuiVFm3KJHbEGpZgu9aHM0Rb yIZcP89oxCpMMSoAoyK6S3UtyX9EPC0gQxk4HYtGjBnlbqM3UmA6aNBYmhKlfSN6jGW3 wfa5zAEjOGBGGD16cEklHmDoY4Oh0sIX/pCM27WHB5uDdpCuJbKsHTbw4K1aMls3I1P8 NdQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JhTVilP0; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b11-20020a056402350b00b0045c31d9643bsi10667334edd.2.2022.11.21.07.49.07; Mon, 21 Nov 2022 07:49:34 -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=@kernel.org header.s=k20201202 header.b=JhTVilP0; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232317AbiKUPYQ (ORCPT + 91 others); Mon, 21 Nov 2022 10:24:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232338AbiKUPXt (ORCPT ); Mon, 21 Nov 2022 10:23:49 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10B67C77F; Mon, 21 Nov 2022 07:23:41 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A004A612A0; Mon, 21 Nov 2022 15:23:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EDA66C433C1; Mon, 21 Nov 2022 15:23:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669044220; bh=QQw8NxuV8G4Qi2Nafk+TR8YSN0dQyB1OpYIiPoiXKG4=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=JhTVilP0jmaBMOHakjdhfUVVZlW4tP3isgRF5S8XzQvcJPkJTcTUijQsfSr/i+m8n S31YVTsEx9jpFiAwhSQp950pCO00gvQdISUOvATioTlGkhbbtM8MZXENUQQvcuUSJ7 +s4w5qP0uIryz9YnR0kO39Do1eKUkpZ2ZzYID/JC5OGnO1XpnDywdN5yYzjxB466p/ a5pSKrm+LeYQZVmcbqVq98hoEXJJQ+AZVX9B1xW80wOvpDve+SNJRSzne49eIZ8qy0 Y4Rii3W2Qy6gy5gTd4+WyjloZ7cta1dqSPfhBhcUrHNRVG0X7e2wtf6rs3usPUWgnT xyEWr2PIA9J4Q== Message-ID: <3bc11449-bd5f-f4c4-98da-ebc0d7c8b309@kernel.org> Date: Mon, 21 Nov 2022 17:23:33 +0200 MIME-Version: 1.0 Subject: Re: [PATCH v4 1/3] dt-bindings: interconnect: Add rpmh virt devices To: Melody Olvera , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: Odelu Kukatla , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221118182245.31035-1-quic_molvera@quicinc.com> <20221118182245.31035-2-quic_molvera@quicinc.com> Content-Language: en-US From: Georgi Djakov In-Reply-To: <20221118182245.31035-2-quic_molvera@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 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. 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