diff mbox series

dt-bindings: interconnect: Fix the expected number of cells

Message ID 20210121145320.2383-1-georgi.djakov@linaro.org
State Accepted
Commit 1a41bd2220934fc382cd83d3edcd7fdb2455dd98
Headers show
Series dt-bindings: interconnect: Fix the expected number of cells | expand

Commit Message

Georgi Djakov Jan. 21, 2021, 2:53 p.m. UTC
"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(-)

Comments

Rob Herring (Arm) Feb. 9, 2021, 4:04 p.m. UTC | #1
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!
patchwork-bot+linux-arm-msm@kernel.org March 1, 2021, 7:59 p.m. UTC | #2
Hello:

This patch was applied to qcom/linux.git (refs/heads/for-next):

On Thu, 21 Jan 2021 16:53:20 +0200 you 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.

> 

> [...]


Here is the summary with links:
  - dt-bindings: interconnect: Fix the expected number of cells
    https://git.kernel.org/qcom/c/1a41bd222093

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
diff mbox series

Patch

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