Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2921843ybv; Sun, 9 Feb 2020 10:34:58 -0800 (PST) X-Google-Smtp-Source: APXvYqy+4sP9r0bCeQpIz+CWV8hITjC+/w9bfjRR8mFlzWFLjFXB6DhZIqgA/h4pDKWqkERDKZ9m X-Received: by 2002:a05:6830:22cc:: with SMTP id q12mr7893094otc.110.1581273298338; Sun, 09 Feb 2020 10:34:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581273298; cv=none; d=google.com; s=arc-20160816; b=b66o5SXwohf+VG2lDrHrVtE+plKG3Ri6eucw2RXLT9le3VeROd18ESI4ONI3yAcJY5 lbOt3QfUwjf+Vlqd044xUUoK6+6W/CPuhBuGuYc6pTIqIYl+gNJLXw6JVSqr89Unmap9 eOgn4S5NLnJy7Wr2wsvai26kn0L8c2LDM5WqJ5N8juQsZ1Yj9Xb9y2f7sV0spKrROpN1 Wd70xOrET6asvXuovT/EVkZpsHp6Rh7HCDAIjadk/GyMJ9FYnPPtYv7eKlO2ZuMbcfX4 Tetrf/H1QGUAOVgkotz4MboqNBELvV4VqvjabNBcji9ZiTT0SsmC1hMur508hgygo4Qd 9FVQ== 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=WEUzY0FPO/OVyoym48sbVljLfX7T73LcByjAThJDfHs=; b=sDZjzztbjKH02pUsuRiCTzUtlnzoUDYXJffYkn25xKtauy2ulNFtBSL/4gFOy3zHl6 ia7h7AIvynqHWgsfkyzYZkD83WiDLcfgly7J+EMcNJwqeU1GO848s5N/RZxKz5ttaJLf +O3RdhTlQSH+AIbyE1wtySnQB9kBk5acgf8HvWFYCPabKYz43oPPqx/paj7heAKn+7aM GNHLxmcuKR49DcMUqBkRiXkgt4VV28PgrPnDzRQehBmEsn2JUyarcq3ym3WsSgANA1jO KdVNgC1WNmX6JlcExQVburn05g6cTTCxC6yW7iN/q1t5hmOsdM9WE78CNBpeKX1coROp IluA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=RhxZ4zcJ; 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 m26si3717870otr.159.2020.02.09.10.34.47; Sun, 09 Feb 2020 10:34:58 -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=RhxZ4zcJ; 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 S1727880AbgBISed (ORCPT + 99 others); Sun, 9 Feb 2020 13:34:33 -0500 Received: from mail26.static.mailgun.info ([104.130.122.26]:64859 "EHLO mail26.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727865AbgBISed (ORCPT ); Sun, 9 Feb 2020 13:34:33 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1581273273; h=Content-Transfer-Encoding: MIME-Version: References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=WEUzY0FPO/OVyoym48sbVljLfX7T73LcByjAThJDfHs=; b=RhxZ4zcJqG7d7Zw0bNKFmfuk8ClXAgGsJp/4+ovo5azVyruwTUmb/r5agUPPhB5soZNjlKFA mwRXMgyGSk3T6XIfOw4livxhxGnLWXnW0gG98g4EHiKyN/31+BKOSnua0j0/8LrgthEBwghc 6OkoTgdbs9CbtxRGvzx8omPmciY= X-Mailgun-Sending-Ip: 104.130.122.26 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 5e4050b7.7f41f9985c70-smtp-out-n02; Sun, 09 Feb 2020 18:34:31 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 851FBC447A4; Sun, 9 Feb 2020 18:34:31 +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 D8C0CC433A2; Sun, 9 Feb 2020 18:34:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org D8C0CC433A2 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, Rob Herring , Odelu Kukatla , Sibi Sankar Subject: [PATCH v3 1/6] dt-bindings: interconnect: Convert qcom,sdm845 to DT schema Date: Mon, 10 Feb 2020 00:04:06 +0530 Message-Id: <20200209183411.17195-2-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 Convert the qcom,sdm845 interconnect provider binding to DT schema. Signed-off-by: David Dai Reviewed-by: Rob Herring Signed-off-by: Odelu Kukatla Signed-off-by: Sibi Sankar --- .../bindings/interconnect/qcom,sdm845.txt | 24 ----------- .../bindings/interconnect/qcom,sdm845.yaml | 43 +++++++++++++++++++ 2 files changed, 43 insertions(+), 24 deletions(-) delete mode 100644 Documentation/devicetree/bindings/interconnect/qcom,sdm845.txt create mode 100644 Documentation/devicetree/bindings/interconnect/qcom,sdm845.yaml diff --git a/Documentation/devicetree/bindings/interconnect/qcom,sdm845.txt b/Documentation/devicetree/bindings/interconnect/qcom,sdm845.txt deleted file mode 100644 index 5c4f1d9116307..0000000000000 --- a/Documentation/devicetree/bindings/interconnect/qcom,sdm845.txt +++ /dev/null @@ -1,24 +0,0 @@ -Qualcomm SDM845 Network-On-Chip interconnect driver binding ------------------------------------------------------------ - -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. - -Required properties : -- compatible : shall contain only one of the following: - "qcom,sdm845-rsc-hlos" -- #interconnect-cells : should contain 1 - -Examples: - -apps_rsc: rsc { - rsc_hlos: interconnect { - compatible = "qcom,sdm845-rsc-hlos"; - #interconnect-cells = <1>; - }; -}; - diff --git a/Documentation/devicetree/bindings/interconnect/qcom,sdm845.yaml b/Documentation/devicetree/bindings/interconnect/qcom,sdm845.yaml new file mode 100644 index 0000000000000..11a495dbfc520 --- /dev/null +++ b/Documentation/devicetree/bindings/interconnect/qcom,sdm845.yaml @@ -0,0 +1,43 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interconnect/qcom,sdm845.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm SDM845 Network-On-Chip Interconnect + +maintainers: + - Georgi Djakov + +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. + +properties: + compatible: + enum: + - qcom,sdm845-rsc-hlos + + '#interconnect-cells': + const: 1 + +required: + - compatible + - '#interconnect-cells' + +additionalProperties: false + +examples: + - | + #include + + apps_rsc: rsc { + rsc_hlos: interconnect { + compatible = "qcom,sdm845-rsc-hlos"; + #interconnect-cells = <1>; + }; + }; -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project