[PATCH v1 1/5] dt-bindings: interconnect: Update property for icc-rpm path tag

From: Leo Yan
Date: Sat Apr 16 2022 - 11:40:51 EST


To support path tag in icc-rpm driver, the "#interconnect-cells"
property is updated as enumerate values: 1 or 2. Setting to 1 means
it is compatible with old DT binding that interconnect path doesn't
contain tag, if set to 2 for "#interconnect-cells" property, then the
second specifier in the interconnect path indicates the voting is for
which buckets.

Signed-off-by: Leo Yan <leo.yan@xxxxxxxxxx>
---
Documentation/devicetree/bindings/interconnect/qcom,rpm.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/interconnect/qcom,rpm.yaml b/Documentation/devicetree/bindings/interconnect/qcom,rpm.yaml
index 89853b482513..7464a50804db 100644
--- a/Documentation/devicetree/bindings/interconnect/qcom,rpm.yaml
+++ b/Documentation/devicetree/bindings/interconnect/qcom,rpm.yaml
@@ -118,7 +118,7 @@ allOf:
- qcom,msm8939-snoc-mm

'#interconnect-cells':
- const: 1
+ enum: [ 1, 2 ]

clock-names:
items:
--
2.25.1