Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2922074ybv; Sun, 9 Feb 2020 10:35:18 -0800 (PST) X-Google-Smtp-Source: APXvYqyqvDkkNY3HZ1IZPn618zCWRYVRREWiqaeiHqq5QeUGELYiEmFar2CuMqPjAaF2Zky6krdl X-Received: by 2002:a9d:7dc9:: with SMTP id k9mr7565919otn.117.1581273317952; Sun, 09 Feb 2020 10:35:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581273317; cv=none; d=google.com; s=arc-20160816; b=dJodOT+dV98tqSwXpU35m7wDdQUbbI2MwCpl9z9yugDA3d9hpT1V9zm/ake5746T5L 6e6JlYJMFlTMluVBHI6a088e4FO0MqjtiPqbWn9gxILm1eI4rHOicFZqdbGP4uFDbOrt IYGHQ+CD6AsIY6Ob7F8jqWj46eL4OdtIdos0RE3JTxvCmYnJ5Tvlr4rl9jR/WZH1T/aA VuHpwN6WOOVBAWJfOTp6Avmr7DzNBs5hEtcfJrIzag+4Sgqt8qIv33W0mbRRWc3BcHed kDUPV551zz//uQ+GYJU3cbuf6EY0nGjtlvrygWi46lBA+WWICsr02nGxAoxxBkn6BAdl tx9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dmarc-filter:dkim-signature; bh=+1DKsfHKqf3VdpYQ4VsopZ1BmdGLhw90hpkP2xTJYT8=; b=VuvyTRzNgL6HpHQ67ZtBeTYwIBYvqp96GOP5LW3QqQT4uSC3XXH16W04WCWuTxi6lM oWGJmpzSxmrA+gsc9vwUpneTGDqLh0iRW/w9hGjrOmn+Qyhgjqt6PlNIcaXKI420tlfc J1Y3MPVFXbjE7oYCSLR5hgH+0ohoQMaIKCTfFvAV52qkuRRVD9mCUn4GTMSNphMdmZQ2 /8hLsG68r4gGTTDOkLrboFGQY5oPFUXQ2YkfsJUBVhQJH2j4aFnXnu03/IDAAmxx3dvE 34cTEMJOAM+742ev7AlSFkUYx7fjDV66gE3TuA/HGpdZTFuRbVgQDTKq5JiN/AUA+z7X UCVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=PN69v0S5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f14si3559998oto.46.2020.02.09.10.35.06; Sun, 09 Feb 2020 10:35:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=PN69v0S5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727927AbgBISep (ORCPT + 99 others); Sun, 9 Feb 2020 13:34:45 -0500 Received: from mail25.static.mailgun.info ([104.130.122.25]:25495 "EHLO mail25.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727918AbgBISen (ORCPT ); Sun, 9 Feb 2020 13:34:43 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1581273283; h=Content-Transfer-Encoding: MIME-Version: References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=+1DKsfHKqf3VdpYQ4VsopZ1BmdGLhw90hpkP2xTJYT8=; b=PN69v0S53jYjb8prVM5dvoDm86TQ96bi7p54BW9ofjRhOE6MP2acMuKoVjdg/gzt3DLuTpCe 9b77/3C3tepGpm5knLHuXR3MTt508mKA2UKDI3P05rzrm2nRQjHncJVQKfxyk/Tshd1hQ/Pn wEw00IXy0RC3QPlUVtdd55GT0i0= X-Mailgun-Sending-Ip: 104.130.122.25 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5e4050c1.7faeb7359e30-smtp-out-n01; Sun, 09 Feb 2020 18:34:41 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id A5937C447A0; Sun, 9 Feb 2020 18:34:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.0 Received: from blr-ubuntu-87.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sibis) by smtp.codeaurora.org (Postfix) with ESMTPSA id 509B2C447A3; Sun, 9 Feb 2020 18:34:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 509B2C447A3 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=sibis@codeaurora.org From: Sibi Sankar To: robh+dt@kernel.org, georgi.djakov@linaro.org, evgreen@chromium.org Cc: bjorn.andersson@linaro.org, agross@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, mark.rutland@arm.com, daidavid1@codeaurora.org, saravanak@google.com, mka@chromium.org, linux-pm@vger.kernel.org, Odelu Kukatla , Sibi Sankar Subject: [PATCH v3 3/6] dt-bindings: interconnect: Update Qualcomm SDM845 DT bindings Date: Mon, 10 Feb 2020 00:04:08 +0530 Message-Id: <20200209183411.17195-4-sibis@codeaurora.org> X-Mailer: git-send-email 2.22.1 In-Reply-To: <20200209183411.17195-1-sibis@codeaurora.org> References: <20200209183411.17195-1-sibis@codeaurora.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: David Dai 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 Signed-off-by: Odelu Kukatla Signed-off-by: Sibi Sankar --- .../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 11a495dbfc520..8b087e0b0b811 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-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. + + qcom,bcm-voter-names: + $ref: /schemas/types.yaml#/definitions/string-array + description: | + Names for each of the qcom,bcm-voters specified. + 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