From: Vinod Koul <vkoul@kernel.org>
To: Stephen Boyd <sboyd@kernel.org>
Cc: linux-arm-msm@vger.kernel.org,
Bjorn Andersson <andersson@kernel.org>,
Vinod Koul <vkoul@kernel.org>,
linux-kernel@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
devicetree@vger.kernel.org, Rob Herring <robh@kernel.org>
Subject: [PATCH v5 1/2] dt-bindings: spmi: Add qcom,bus-id
Date: Wed, 14 Sep 2022 22:22:11 +0530 [thread overview]
Message-ID: <20220914165212.3705892-2-vkoul@kernel.org> (raw)
In-Reply-To: <20220914165212.3705892-1-vkoul@kernel.org>
For 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>
Acked-by: Rob Herring <robh@kernel.org>
---
.../devicetree/bindings/spmi/qcom,spmi-pmic-arb.yaml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb.yaml b/Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb.yaml
index fee4f0eb4665..f983b4af6db9 100644
--- a/Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb.yaml
+++ b/Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb.yaml
@@ -85,6 +85,14 @@ properties:
description: >
which of the PMIC Arb provided channels to use for accesses
+ qcom,bus-id:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ minimum: 0
+ maximum: 1
+ description: >
+ SPMI bus instance. only applicable to PMIC arbiter version 7 and beyond.
+ Supported values, 0 = primary bus, 1 = secondary bus
+
required:
- compatible
- reg-names
@@ -113,5 +121,7 @@ examples:
interrupt-controller;
#interrupt-cells = <4>;
+
+ qcom,bus-id = <0>;
};
--
2.37.3
next prev parent reply other threads:[~2022-09-14 16:52 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-14 16:52 [PATCH v5 0/2] spmi: pmic-arb: Add support for PMIC v7 Vinod Koul
2022-09-14 16:52 ` Vinod Koul [this message]
2022-09-15 9:51 ` [PATCH v5 1/2] dt-bindings: spmi: Add qcom,bus-id Krzysztof Kozlowski
2022-09-15 11:59 ` Rob Herring
2022-09-16 4:40 ` Vinod Koul
2022-09-16 18:30 ` Bjorn Andersson
2022-09-14 16:52 ` [PATCH v5 2/2] spmi: pmic-arb: Add support for PMIC v7 Vinod Koul
2022-09-16 18:32 ` Bjorn Andersson
2022-09-21 15:15 ` [PATCH v5 0/2] " Vinod Koul
2022-10-03 5:57 ` Vinod Koul
2022-11-03 14:27 ` Vinod Koul
2022-11-18 19:24 ` Melody Olvera
2022-11-20 10:48 ` Krzysztof Kozlowski
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=20220914165212.3705892-2-vkoul@kernel.org \
--to=vkoul@kernel.org \
--cc=andersson@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=robh@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