From patchwork Fri Dec 23 13:20:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 636437 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CC3CBC4332F for ; Fri, 23 Dec 2022 13:20:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236223AbiLWNUy (ORCPT ); Fri, 23 Dec 2022 08:20:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236241AbiLWNUu (ORCPT ); Fri, 23 Dec 2022 08:20:50 -0500 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E1712733 for ; Fri, 23 Dec 2022 05:20:46 -0800 (PST) Received: by mail-lj1-x235.google.com with SMTP id n1so5020764ljg.3 for ; Fri, 23 Dec 2022 05:20:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=KAqjOZmQgKpq60Hvn4MV1XO42eVbyH2AUxe/oo8PbSo=; b=iPbMYCW4kcVxICq2SMG51HRVwi9b1fAuglq/YZ9KmuY41FJF3IscgecvvVuMoXPk2Z KHQTokgaiDi3da8YzmIWqv2E1433lF8w77qA2wVwRDMBBgXtKqNvAjwae6Y8qQM0VIHc y9GbR5PRtFDyiZI5yiJQvLM2w46fbykxmPZYkzJ1qaiWIoX4nklIAQkoGXwsrKgUN3qC DalWUscp/lX6doZmF7LCQ4Aozn71POxyIwFeY3AF2G1b5mN7N3rvOhOTXgzGY/qe0a2S wcFozyi+Rcg9mv/CGYrh6/PuSpWMJRmeGVMylb0ze6SUzutPGcIVE6vn+CeJJY8miKEd 0/0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KAqjOZmQgKpq60Hvn4MV1XO42eVbyH2AUxe/oo8PbSo=; b=ezWvxD5u41S6+n/B8z6k0giIovrX0izuPK3om3uanXpV7DGvM6wkbUqC6QSkCTSGl0 p8/hVHkM9jteX90lVYoP1IWydqNN9wCR3kbadkruQHCLrWNFEAZfLV/DOgbT/uejX3yJ 4qYn9i1rHicjuHDp1mXJ8a5JhJueHKXSgdrXBmSItaDq0Yzbn5xcveVPDHVOwkIfLucQ 0c7n+9Z0tdJhTfPj86xGmR+L7H33ML4UijD3r5n1N1GzA8e5ZY6jvKYrJv7fygHeT10f J1K0/dvCWs7xeDkzBs+E7/IRbIQo9m2rcnl1Bp65kqlrEC6MJtPTU+l1wkez5chSTpVS Pkbg== X-Gm-Message-State: AFqh2kryRy9HFbDL3cMLG2azOCv3sMfxEeNQkgIzojV2Gxag5PFc3bWR EjmzVSrEB0t8nFnFQzP80EPgFg== X-Google-Smtp-Source: AMrXdXtE/yG/W2lBdxxiEduIdQ9CUndTh3wxJcNaAGJ0JB9jFBLOeqdQ3xWLW1v99YnSR1Jn3M+yiA== X-Received: by 2002:a2e:2e18:0:b0:279:2199:5787 with SMTP id u24-20020a2e2e18000000b0027921995787mr2442494lju.1.1671801644270; Fri, 23 Dec 2022 05:20:44 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id v11-20020a2ea60b000000b0026c2baa72d4sm426753ljp.27.2022.12.23.05.20.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Dec 2022 05:20:43 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Georgi Djakov , Rob Herring , Krzysztof Kozlowski , Odelu Kukatla , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/3] dt-bindings: interconnect: split SC8280XP to own schema Date: Fri, 23 Dec 2022 14:20:39 +0100 Message-Id: <20221223132040.80858-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221223132040.80858-1-krzysztof.kozlowski@linaro.org> References: <20221223132040.80858-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org SC8280XP comes with interconnects without IO address space, so split it from common file for easier maintenancen and to fix warnings like: sc8280xp-lenovo-thinkpad-x13s.dtb: interconnect-mc-virt: 'reg' is a required property Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../bindings/interconnect/qcom,rpmh.yaml | 12 ----- .../interconnect/qcom,sc8280xp-rpmh.yaml | 49 +++++++++++++++++++ 2 files changed, 49 insertions(+), 12 deletions(-) create mode 100644 Documentation/devicetree/bindings/interconnect/qcom,sc8280xp-rpmh.yaml diff --git a/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml b/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml index 4bdcc014c46b..448829ecf6b6 100644 --- a/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml +++ b/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml @@ -51,18 +51,6 @@ properties: - qcom,sc8180x-mmss-noc - qcom,sc8180x-qup-virt - qcom,sc8180x-system-noc - - qcom,sc8280xp-aggre1-noc - - qcom,sc8280xp-aggre2-noc - - qcom,sc8280xp-clk-virt - - qcom,sc8280xp-config-noc - - qcom,sc8280xp-dc-noc - - qcom,sc8280xp-gem-noc - - qcom,sc8280xp-lpass-ag-noc - - qcom,sc8280xp-mc-virt - - qcom,sc8280xp-mmss-noc - - qcom,sc8280xp-nspa-noc - - qcom,sc8280xp-nspb-noc - - qcom,sc8280xp-system-noc - qcom,sdm845-aggre1-noc - qcom,sdm845-aggre2-noc - qcom,sdm845-config-noc diff --git a/Documentation/devicetree/bindings/interconnect/qcom,sc8280xp-rpmh.yaml b/Documentation/devicetree/bindings/interconnect/qcom,sc8280xp-rpmh.yaml new file mode 100644 index 000000000000..6c2da03f0cd2 --- /dev/null +++ b/Documentation/devicetree/bindings/interconnect/qcom,sc8280xp-rpmh.yaml @@ -0,0 +1,49 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interconnect/qcom,sc8280xp-rpmh.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm RPMh Network-On-Chip Interconnect on SC8280XP + +maintainers: + - Bjorn Andersson + - Konrad Dybcio + +description: | + RPMh interconnect providers support system bandwidth requirements through + RPMh hardware accelerators known as Bus Clock Manager (BCM). + + See also:: include/dt-bindings/interconnect/qcom,sc8280xp.h + +properties: + compatible: + enum: + - qcom,sc8280xp-aggre1-noc + - qcom,sc8280xp-aggre2-noc + - qcom,sc8280xp-clk-virt + - qcom,sc8280xp-config-noc + - qcom,sc8280xp-dc-noc + - qcom,sc8280xp-gem-noc + - qcom,sc8280xp-lpass-ag-noc + - qcom,sc8280xp-mc-virt + - qcom,sc8280xp-mmss-noc + - qcom,sc8280xp-nspa-noc + - qcom,sc8280xp-nspb-noc + - qcom,sc8280xp-system-noc + +required: + - compatible + +allOf: + - $ref: qcom,rpmh-common.yaml# + +unevaluatedProperties: false + +examples: + - | + interconnect-0 { + compatible = "qcom,sc8280xp-aggre1-noc"; + #interconnect-cells = <2>; + qcom,bcm-voters = <&apps_bcm_voter>; + };