Message ID | 20220416154013.1357444-2-leo.yan@linaro.org |
---|---|
State | New |
Headers | show |
Series | interconnect: qcom: icc-rpm: Support voting bucket | expand |
On Sat, Apr 16, 2022 at 11:40:09PM +0800, Leo Yan wrote: > 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@linaro.org> > --- > 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 ] Describe what each cell value is here. > > clock-names: > items: > -- > 2.25.1 > >
On Tue, Apr 26, 2022 at 01:59:31PM -0500, Rob Herring wrote: > On Sat, Apr 16, 2022 at 11:40:09PM +0800, Leo Yan wrote: > > 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@linaro.org> > > --- > > 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 ] > > Describe what each cell value is here. Will do. Thanks, Leo
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:
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@linaro.org> --- Documentation/devicetree/bindings/interconnect/qcom,rpm.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)