dt-bindings: spmi: Add qcom,bus-id

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>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221110100755.4032505-2-vkoul@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Vinod Koul 2022-11-10 15:37:54 +05:30 коммит произвёл Greg Kroah-Hartman
Родитель 02c39bbb36
Коммит 2d2879e183
1 изменённых файлов: 10 добавлений и 0 удалений

Просмотреть файл

@ -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>;
};