diff mbox series

[3/8] media: dt-bindings: qcom,msm8996-venus: document interconnects

Message ID 20221227144102.79391-3-krzysztof.kozlowski@linaro.org
State Accepted
Commit 3ef86da7e24db3da914e6e3cbca8303b390d1042
Headers show
Series None | expand

Commit Message

Krzysztof Kozlowski Dec. 27, 2022, 2:40 p.m. UTC
Venus on Qualcomm MSM8996 defines interconnects:

  apq8096-db820c.dtb: video-codec@c00000: Unevaluated properties are not allowed ('interconnect-names', 'interconnects' were unexpected)

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../devicetree/bindings/media/qcom,msm8996-venus.yaml     | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Rob Herring Jan. 8, 2023, 6:21 p.m. UTC | #1
On Tue, 27 Dec 2022 15:40:57 +0100, Krzysztof Kozlowski wrote:
> Venus on Qualcomm MSM8996 defines interconnects:
> 
>   apq8096-db820c.dtb: video-codec@c00000: Unevaluated properties are not allowed ('interconnect-names', 'interconnects' were unexpected)
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  .../devicetree/bindings/media/qcom,msm8996-venus.yaml     | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/media/qcom,msm8996-venus.yaml b/Documentation/devicetree/bindings/media/qcom,msm8996-venus.yaml
index 4a68f924ad9e..3a4d817e544e 100644
--- a/Documentation/devicetree/bindings/media/qcom,msm8996-venus.yaml
+++ b/Documentation/devicetree/bindings/media/qcom,msm8996-venus.yaml
@@ -33,6 +33,14 @@  properties:
       - const: bus
       - const: mbus
 
+  interconnects:
+    maxItems: 2
+
+  interconnect-names:
+    items:
+      - const: video-mem
+      - const: cpu-cfg
+
   iommus:
     maxItems: 20