mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vinod Koul <vkoul@kernel.org>
To: Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh+dt@kernel.org>,
	David Collins <quic_collinsd@quicinc.com>
Cc: linux-arm-msm@vger.kernel.org,
	Bjorn Andersson <bjorn.andersson@linaro.org>,
	Vinod Koul <vkoul@kernel.org>,
	Linus Walleij <linus.walleij@linaro.org>,
	David Dai <daidavid1@codeaurora.org>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 2/3] dt-bindings: spmi: Add qcom,bus-id
Date: Mon, 31 Jan 2022 22:54:49 +0530	[thread overview]
Message-ID: <20220131172450.2528065-3-vkoul@kernel.org> (raw)
In-Reply-To: <20220131172450.2528065-1-vkoul@kernel.org>

PMIC arbiter version 7 and beyond we need to define if we are using
primary or secondary bus, so add a new property of qcom,bus-id

Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
 .../devicetree/bindings/spmi/qcom,spmi-pmic-arb.yaml     | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb.yaml b/Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb.yaml
index 0c094a03fb10..958ecc306fa9 100644
--- a/Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb.yaml
+++ b/Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb.yaml
@@ -67,6 +67,13 @@ properties:
       PMIC Arb which provides channels to use for accesses. Valid values 0 to 5
     $ref: /schemas/types.yaml#/definitions/uint32-array
 
+  qcom,bus-id:
+    description: |
+      SPMI bus instance. only applicable to PMIC arbiter version 7 and beyond.
+      Supported values, 0 = primary bus, 1 = secondary bus
+    $ref: /schemas/types.yaml#/definitions/uint32-array
+
+
 required:
   - compatible
   - reg
@@ -106,6 +113,8 @@ examples:
         qcom,ee = <0>;
         qcom,channel = <0>;
 
+        qcom,bus-id = <0>;
+
         pmic@0 {
           reg = <0 0>;
           /* pmic properties */
-- 
2.31.1


  parent reply	other threads:[~2022-01-31 17:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-31 17:24 [PATCH 0/3] spmi: pmic-arb: Add support for PMIC v7 and yamlify binding Vinod Koul
2022-01-31 17:24 ` [PATCH 1/3] dt-bindings: spmi: convert Qualcomm SPMI PMIC ARB to dtschema Vinod Koul
2022-01-31 23:02   ` Subbaraman Narayanamurthy
2022-02-01  5:53     ` Vinod Koul
2022-02-01 15:33   ` Rob Herring
2022-01-31 17:24 ` Vinod Koul [this message]
2022-01-31 17:24 ` [PATCH 3/3] spmi: pmic-arb: Add support for PMIC v7 Vinod Koul
2022-01-31 23:04   ` Subbaraman Narayanamurthy
2022-02-01  5:54     ` Vinod Koul

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220131172450.2528065-3-vkoul@kernel.org \
    --to=vkoul@kernel.org \
    --cc=bjorn.andersson@linaro.org \
    --cc=daidavid1@codeaurora.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=quic_collinsd@quicinc.com \
    --cc=robh+dt@kernel.org \
    --cc=sboyd@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome