Message ID | 20220201134108.2677578-2-vkoul@kernel.org (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | spmi: pmic-arb: Add support for PMIC v7 | expand |
On Tue, 01 Feb 2022 19:11:07 +0530, Vinod Koul wrote: > 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(+) > Acked-by: Rob Herring <robh@kernel.org>
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>; + };
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(+)