* [PATCH] dt-bindings: interconnect: Fix the expected number of cells
@ 2021-01-21 14:53 Georgi Djakov
2021-02-09 16:04 ` Rob Herring
0 siblings, 1 reply; 2+ messages in thread
From: Georgi Djakov @ 2021-01-21 14:53 UTC (permalink / raw)
To: devicetree, robh+dt
Cc: okukatla, bjorn.andersson, linux-arm-msm, linux-pm, Georgi Djakov
"make dtbs_check" complains that the number of interconnect-cells
for some RPMh platforms is not "const: 1" (as defined in the schema).
That's because the interconnect-cells now can be 1 or 2, depending
on what is supported by the specific interconnect provider. Let's
reflect this in the schema.
Fixes: 9a34e7ad2e12 ("dt-bindings: interconnect: Document the support of optional path tag")
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
---
Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml b/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml
index f9b150b817d8..799e73cdb90b 100644
--- a/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml
+++ b/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml
@@ -73,7 +73,7 @@ properties:
- qcom,sm8250-system-noc
'#interconnect-cells':
- const: 1
+ enum: [ 1, 2 ]
qcom,bcm-voters:
$ref: /schemas/types.yaml#/definitions/phandle-array
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] dt-bindings: interconnect: Fix the expected number of cells
2021-01-21 14:53 [PATCH] dt-bindings: interconnect: Fix the expected number of cells Georgi Djakov
@ 2021-02-09 16:04 ` Rob Herring
0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2021-02-09 16:04 UTC (permalink / raw)
To: Georgi Djakov
Cc: linux-pm, devicetree, bjorn.andersson, linux-arm-msm, okukatla, robh+dt
On Thu, 21 Jan 2021 16:53:20 +0200, Georgi Djakov wrote:
> "make dtbs_check" complains that the number of interconnect-cells
> for some RPMh platforms is not "const: 1" (as defined in the schema).
>
> That's because the interconnect-cells now can be 1 or 2, depending
> on what is supported by the specific interconnect provider. Let's
> reflect this in the schema.
>
> Fixes: 9a34e7ad2e12 ("dt-bindings: interconnect: Document the support of optional path tag")
> Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
> ---
> Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-09 16:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-21 14:53 [PATCH] dt-bindings: interconnect: Fix the expected number of cells Georgi Djakov
2021-02-09 16:04 ` Rob Herring
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).