From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 681B8C33CB1 for ; Wed, 15 Jan 2020 14:49:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 37CA0214AF for ; Wed, 15 Jan 2020 14:49:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579099788; bh=60sOzP0xSDoq3RuFeWje/iUxHpy096wz+O8EnFB9oyI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=nT+eM1O8iQJjwt7bF5i/kW8bhdw4Kp6EFnefr6HRMfSebEVY2qZ6I6reZuA2ffTWc xzS0T+y6UnGMjeh9fxNqJKLtGBn73KQBQJCm+di+PIqIz0ZH+FbVBYuTnauWROenEK 4/iQZMUeMEKabMRoX207uUBx6u0hhEdBBqZaj+As= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729160AbgAOOtq (ORCPT ); Wed, 15 Jan 2020 09:49:46 -0500 Received: from mail-ot1-f66.google.com ([209.85.210.66]:44527 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729072AbgAOOtq (ORCPT ); Wed, 15 Jan 2020 09:49:46 -0500 Received: by mail-ot1-f66.google.com with SMTP id h9so16252613otj.11 for ; Wed, 15 Jan 2020 06:49:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=H1ze89BBE7QI+NzTkr8tdkM1RIqde14fHEiBxrkkmaI=; b=g1Ah9ClvwY76F9EYj8pzFljSm3vEDuHPbUDF8RTPeVSTLeaBw8popUBwhUBZ1PVleR tIN7ghz4BE7R7oxUXWskDE89CQOnMVXOPoRZPDV+voseOxc6eUxPffE9nwpjrtzpHAK+ besXcpMMsDyjqjFZR+vda0/+KBCZ0VnXzzZqialqXyTaY8wZkajZ1zxmBxiXh8FVNjso Mbrwm4PGZ8zsdKoJeDKQiLB+MuqAJOtrpPVS8qE79e+yvCARxfvcJTwcSjk+H/U2bbA/ RdLFvNdoPGPMWdkWYaFq76lTqPN+61wCthd7wvKV+sxmk/lyJuXEqLB3Kl8l9PVAnQLw XSeA== X-Gm-Message-State: APjAAAWIIuReEt2cOCUThgtc94Y4Kr8GLWDVtOuGF358NhZFmveROiU5 ieyC7mzML6jWxA6b4v1yeqCDHl0= X-Google-Smtp-Source: APXvYqyZKRzPysuzL74DARoQmUPIwM9Lg1B+yloZTfAV+hUECRhJ0ItjdbPvxseZ9GeRs+kF/Ahf+w== X-Received: by 2002:a9d:75c5:: with SMTP id c5mr2950856otl.172.1579099784619; Wed, 15 Jan 2020 06:49:44 -0800 (PST) Received: from rob-hp-laptop (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id k17sm5788825oic.45.2020.01.15.06.49.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jan 2020 06:49:43 -0800 (PST) Received: from rob (uid 1000) (envelope-from rob@rob-hp-laptop) id 220379 by rob-hp-laptop (DragonFly Mail Agent v0.11); Wed, 15 Jan 2020 08:49:42 -0600 Date: Wed, 15 Jan 2020 08:49:42 -0600 From: Rob Herring To: David Dai Cc: georgi.djakov@linaro.org, bjorn.andersson@linaro.org, evgreen@google.com, sboyd@kernel.org, ilina@codeaurora.org, seansw@qti.qualcomm.com, elder@linaro.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [PATCH v2 3/6] dt-bindings: interconnect: Update Qualcomm SDM845 DT bindings Message-ID: <20200115144942.GA15075@bogus> References: <1578630784-962-1-git-send-email-daidavid1@codeaurora.org> <1578630784-962-4-git-send-email-daidavid1@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1578630784-962-4-git-send-email-daidavid1@codeaurora.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 09, 2020 at 08:33:01PM -0800, David Dai wrote: > Redefine the Network-on-Chip devices to more accurately describe > the interconnect topology on Qualcomm's SDM845 platform. Each > interconnect device can communicate with different instances of the > RPMh hardware which are described as RSCs(Resource State Coordinators). > > Signed-off-by: David Dai > --- > .../bindings/interconnect/qcom,sdm845.yaml | 49 ++++++++++++++++++---- > 1 file changed, 40 insertions(+), 9 deletions(-) > > diff --git a/Documentation/devicetree/bindings/interconnect/qcom,sdm845.yaml b/Documentation/devicetree/bindings/interconnect/qcom,sdm845.yaml > index 61e0097..6741a12 100644 > --- a/Documentation/devicetree/bindings/interconnect/qcom,sdm845.yaml > +++ b/Documentation/devicetree/bindings/interconnect/qcom,sdm845.yaml > @@ -13,21 +13,44 @@ description: | > SDM845 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 reside within > - an RPMh device node pertaining to their RSC and each provider maps to a > - single RPMh resource. > + 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. > > properties: > + reg: > + maxItems: 1 > + > compatible: > enum: > - - qcom,sdm845-rsc-hlos > + - qcom,sdm845-aggre1-noc > + - qcom,sdm845-aggre2-noc > + - qcom,sdm845-config-noc > + - qcom,sdm845-dc-noc > + - qcom,sdm845-gladiator-noc > + - qcom,sdm845-mem-noc > + - qcom,sdm845-mmss-noc > + - qcom,sdm845-system-noc > > '#interconnect-cells': > const: 1 > > + qcom,bcm-voter-names: > + items: > + - const: apps > + - const: disp If these are always the names, why do you need them? > + > + qcom,bcm-voters: > + $ref: /schemas/types.yaml#/definitions/phandle-array > + description: | > + List of phandles to qcom,bcm-voter nodes that are required by > + this interconnect to send RPMh commands. Is the max length 2? > + > required: > - compatible > + - reg > - '#interconnect-cells' > + - qcom,bcm-voters > > additionalProperties: false > > @@ -35,9 +58,17 @@ examples: > - | > #include > > - apps_rsc: rsc { > - rsc_hlos: interconnect { > - compatible = "qcom,sdm845-rsc-hlos"; > - #interconnect-cells = <1>; > - }; > + mem_noc: interconnect@1380000 { > + compatible = "qcom,sdm845-mem-noc"; > + reg = <0 0x01380000 0 0x27200>; > + #interconnect-cells = <1>; > + qcom,bcm-voters = <&apps_bcm_voter>; > + }; > + > + mmss_noc: interconnect@1740000 { > + compatible = "qcom,sdm845-mmss-noc"; > + reg = <0 0x01740000 0 0x1c1000>; > + #interconnect-cells = <1>; > + qcom,bcm-voter-names = "apps", "disp"; > + qcom,bcm-voters = <&apps_bcm_voter>, <&disp_bcm_voter>; > }; > -- > The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, > a Linux Foundation Collaborative Project >