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 v3 1/2] dt-bindings: spmi: Add qcom,bus-id
Date: Tue, 1 Feb 2022 19:11:07 +0530 [thread overview]
Message-ID: <20220201134108.2677578-2-vkoul@kernel.org> (raw)
In-Reply-To: <20220201134108.2677578-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 | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb.yaml b/Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb.yaml
index 55d379c85fd9..cf17301fbb62 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
@@ -116,5 +124,8 @@ examples:
interrupt-controller;
#interrupt-cells = <4>;
+
+ qcom,bus-id = <0>;
+
};
--
2.31.1
next prev parent reply other threads:[~2022-02-01 13:41 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-01 13:41 [PATCH v3 0/2] spmi: pmic-arb: Add support for PMIC v7 Vinod Koul
2022-02-01 13:41 ` Vinod Koul [this message]
2022-02-07 21:45 ` [PATCH v3 1/2] dt-bindings: spmi: Add qcom,bus-id Rob Herring
2022-02-01 13:41 ` [PATCH v3 2/2] spmi: pmic-arb: Add support for PMIC v7 Vinod Koul
2022-06-20 19:30 ` Dmitry Baryshkov
2022-08-29 22:45 ` Dmitry Baryshkov
2022-02-22 16:53 ` [PATCH v3 0/2] " Vinod Koul
2022-05-01 19:41 ` Dmitry Baryshkov
2022-06-18 15:29 ` Dmitry Baryshkov
2022-06-28 12:46 ` Linus Walleij
2022-08-29 22:25 ` Stephen Boyd
2022-08-30 4:36 ` Vinod Koul
2022-08-30 21:11 ` Stephen Boyd
2022-09-14 11:23 ` 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=20220201134108.2677578-2-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;
as well as URLs for NNTP newsgroup(s).