Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4389567pxk; Wed, 30 Sep 2020 01:19:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTT7xSLenuVOyd15dWKLHCLmemINeliDaJHaobDwWrk2T0FqgLLiRzsrT5mKla9pGLVcBD X-Received: by 2002:a17:906:d7a4:: with SMTP id pk4mr1627554ejb.260.1601453995715; Wed, 30 Sep 2020 01:19:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601453995; cv=none; d=google.com; s=arc-20160816; b=f5eVDan0WTyXlDTa0YjOLjJM2J3U7ObzxvEPZYTeM3wIxstwISV0JA6lTIlWyw6eDE Qsf0LroHS6OfI9pjotip8RMyNqlRCh5gMZYYYTh+Lo4rgcyAcLEDY9Qx1CD6k0B4xPba CCLHvC4S6RNS1YFtabTjlOz0hRCn21N0bWbcLma3BCStChaBSRj1q1VegNcOxDNSIGOj pNIOEzJsRWhH/bivP0aum/S06r0a3xop0bnh4CTozzYKeyOiKbeT/q2zvLJLEKoWMw4n FuknIt96Bcq5Oxnzdbca2JolpmQ4t7awM4EpaLinJpt/Z2f02lF26guHmrY0fxTTJ/br TPeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=BGhR3ixFZ3T1rH5pcCCHtcmssYCPj4zheAYYg6rvF9s=; b=jzAPTIJphJVtyXAHC4yETMo85VvsE92rCL7Py5TlUJXRTY9WCWE+ZixndI+/nvzoSW hfGa2M1uC5vpCHAhY4NwQuhMHTIgcNB7zj+upaPaMG+wA3ovsnXI/ZBIdoQ+3LymqPvx XdYM4l2WHalebyc0FUy56W7kkUBRLE8Jc9W9s43vKEpn4gAXr0J/MM4gwj/XHPXQYPcI qbsrYi9sVNUc4Q4V9oyXmT+3P5rt+zOrcKm6oqeUdyFTYs6Ram/24rnMtKJA02MMPM27 p/hz8mBhcBGbMu8zPNx51UNIZk1C7gL3FK20zH+aMs87X7SBp6L240sgQFCMHUntn0k7 xteA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=J5Akn54z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h6si411747ejk.553.2020.09.30.01.19.33; Wed, 30 Sep 2020 01:19:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=J5Akn54z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728758AbgI3IR2 (ORCPT + 99 others); Wed, 30 Sep 2020 04:17:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728728AbgI3IRZ (ORCPT ); Wed, 30 Sep 2020 04:17:25 -0400 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2EEBDC061755 for ; Wed, 30 Sep 2020 01:17:24 -0700 (PDT) Received: by mail-pl1-x642.google.com with SMTP id y20so565639pll.12 for ; Wed, 30 Sep 2020 01:17:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=BGhR3ixFZ3T1rH5pcCCHtcmssYCPj4zheAYYg6rvF9s=; b=J5Akn54ze8Y63+8WnmQlq/AJxOdu2JqyJr1upEfhpWHwn0fiNjCsWcnlnHUQWk4t9h FNSGRADj/H4UN9auwEVyRAXiJ5EHbRh3ro0EgHptp42tOwbvbDZMYIMSYUyeEe1mYt0m FjlJ3T+n/swndo493fW64XJQQddoSQ7lz73v+rnwpsD208nNjPD2OpnuQlyNchPPzp1+ HdC2PBdndyXAx+e1rxClcov3xwo9UTHz2mjR4kXiwlXbhXUc3PcXy6Gz1AvYtlrHzPIN AX7pfYSd71l19MJcF6+SDDkCwlUYoXIKbB6i7FrUN3ChkGbkzPuJlOz6jw4DXi34Jt37 q2IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=BGhR3ixFZ3T1rH5pcCCHtcmssYCPj4zheAYYg6rvF9s=; b=BT/WmU1U9WYkKvRO80jwpireM6x4c9iec/fZ0bQOIuI2kYdkjXY2EdW4rRWvhV03yG b0pcds8a2yXm1tT+O11+imiQZLt9I+hc8Wy2IGh2yZX6wejd4SrpIx+G0pg3TpgwNfzX PPmxGZLuVxiab4Jho7wLxTNo6TIDywn+q/o8AKllAezGbj/+FlG6z9FdWQKakK8qNtML yWrSXZ7ZXIDMsz/fu9tJqNvXcSZHmI9y24+pH2oB1Vty6LUr+HwcZPWP39ZXRTQAyz7e wpgYGXtamNHLBEdElSkepejhOZmAKrMJlxJ/N3ltYBnBDsrCycbBGzI10vTXchaAqgw3 o27g== X-Gm-Message-State: AOAM533tqbeebvubta4AZAR+FIciyPL4zVsrRy9bALzKPpj8od9EqJkV sUJhLGjsMnbkKXCwxspv2YmmFg== X-Received: by 2002:a17:902:267:b029:d2:6180:4a46 with SMTP id 94-20020a1709020267b02900d261804a46mr1289126plc.26.1601453843645; Wed, 30 Sep 2020 01:17:23 -0700 (PDT) Received: from localhost.localdomain (li519-153.members.linode.com. [66.175.222.153]) by smtp.gmail.com with ESMTPSA id q15sm1385345pje.29.2020.09.30.01.17.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Sep 2020 01:17:23 -0700 (PDT) From: Jun Nie To: devicetree@vger.kernel.org, georgi.djakov@linaro.org, bjorn.andersson@linaro.org, agross@kernel.org, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, robh@kernel.org Cc: shawn.guo@linaro.org, Jun Nie Subject: [PATCH 3/5] dt-bindings: interconnect: single yaml file for RPM interconnect drivers Date: Wed, 30 Sep 2020 16:16:43 +0800 Message-Id: <20200930081645.3434-4-jun.nie@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200930081645.3434-1-jun.nie@linaro.org> References: <20200930081645.3434-1-jun.nie@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org MSM8916 and QCS404 bindings are almost identical, so combine them into one. This will make it easier to add interconnect bindings for more SoC with RPM. Signed-off-by: Jun Nie --- .../bindings/interconnect/qcom,qcs404.yaml | 77 ------------------- .../{qcom,msm8916.yaml => qcom,rpm.yaml} | 24 +++--- 2 files changed, 14 insertions(+), 87 deletions(-) delete mode 100644 Documentation/devicetree/bindings/interconnect/qcom,qcs404.yaml rename Documentation/devicetree/bindings/interconnect/{qcom,msm8916.yaml => qcom,rpm.yaml} (76%) diff --git a/Documentation/devicetree/bindings/interconnect/qcom,qcs404.yaml b/Documentation/devicetree/bindings/interconnect/qcom,qcs404.yaml deleted file mode 100644 index 3fbb8785fbc9..000000000000 --- a/Documentation/devicetree/bindings/interconnect/qcom,qcs404.yaml +++ /dev/null @@ -1,77 +0,0 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/interconnect/qcom,qcs404.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm QCS404 Network-On-Chip interconnect - -maintainers: - - Georgi Djakov - -description: | - The Qualcomm QCS404 interconnect providers support adjusting the - bandwidth requirements between the various NoC fabrics. - -properties: - reg: - maxItems: 1 - - compatible: - enum: - - qcom,qcs404-bimc - - qcom,qcs404-pcnoc - - qcom,qcs404-snoc - - '#interconnect-cells': - const: 1 - - clock-names: - items: - - const: bus - - const: bus_a - - clocks: - items: - - description: Bus Clock - - description: Bus A Clock - -required: - - compatible - - reg - - '#interconnect-cells' - - clock-names - - clocks - -additionalProperties: false - -examples: - - | - #include - - bimc: interconnect@400000 { - reg = <0x00400000 0x80000>; - compatible = "qcom,qcs404-bimc"; - #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_BIMC_CLK>, - <&rpmcc RPM_SMD_BIMC_A_CLK>; - }; - - pnoc: interconnect@500000 { - reg = <0x00500000 0x15080>; - compatible = "qcom,qcs404-pcnoc"; - #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_PNOC_CLK>, - <&rpmcc RPM_SMD_PNOC_A_CLK>; - }; - - snoc: interconnect@580000 { - reg = <0x00580000 0x23080>; - compatible = "qcom,qcs404-snoc"; - #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_SNOC_CLK>, - <&rpmcc RPM_SMD_SNOC_A_CLK>; - }; diff --git a/Documentation/devicetree/bindings/interconnect/qcom,msm8916.yaml b/Documentation/devicetree/bindings/interconnect/qcom,rpm.yaml similarity index 76% rename from Documentation/devicetree/bindings/interconnect/qcom,msm8916.yaml rename to Documentation/devicetree/bindings/interconnect/qcom,rpm.yaml index e1009ae4e8f7..e9f856357822 100644 --- a/Documentation/devicetree/bindings/interconnect/qcom,msm8916.yaml +++ b/Documentation/devicetree/bindings/interconnect/qcom,rpm.yaml @@ -1,28 +1,32 @@ # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) %YAML 1.2 --- -$id: http://devicetree.org/schemas/interconnect/qcom,msm8916.yaml# +$id: http://devicetree.org/schemas/interconnect/qcom,rpm.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: Qualcomm MSM8916 Network-On-Chip interconnect +title: Qualcomm RPM Network-On-Chip Interconnect maintainers: - Georgi Djakov description: | - The Qualcomm MSM8916 interconnect providers support adjusting the - bandwidth requirements between the various NoC fabrics. + RPM interconnect providers support system bandwidth requirements through + RPM processor. The provider is able to communicate with the RPM through + the RPM shared memory device. properties: - compatible: - enum: - - qcom,msm8916-bimc - - qcom,msm8916-pcnoc - - qcom,msm8916-snoc - reg: maxItems: 1 + compatible: + enum: + - qcom,msm8916-bimc + - qcom,msm8916-pcnoc + - qcom,msm8916-snoc + - qcom,qcs404-bimc + - qcom,qcs404-pcnoc + - qcom,qcs404-snoc + '#interconnect-cells': const: 1 -- 2.17.1