diff mbox series

[v2,2/7] dt-bindings: media: mtk-vcodec-encoder: add dma-ranges

Message ID 20231215104551.233679-2-eugen.hristev@collabora.com (mailing list archive)
State New, archived
Headers show
Series [v2,1/7] media: mediatek: vcodec: fix possible unbalanced PM counter | expand

Commit Message

Eugen Hristev Dec. 15, 2023, 10:45 a.m. UTC
As IOMMUs are supported, dma-ranges is not mentioned but
additionalProperties=false, thus we have an error when adding dma-ranges.
Add dma-ranges as a possible property because this may be present.

Signed-off-by: Eugen Hristev <eugen.hristev@collabora.com>
---
Changes in v2:
- none.
 .../devicetree/bindings/media/mediatek,vcodec-encoder.yaml      | 2 ++
 1 file changed, 2 insertions(+)

Comments

Rob Herring (Arm) Dec. 15, 2023, 7:58 p.m. UTC | #1
On Fri, 15 Dec 2023 12:45:46 +0200, Eugen Hristev wrote:
> As IOMMUs are supported, dma-ranges is not mentioned but
> additionalProperties=false, thus we have an error when adding dma-ranges.
> Add dma-ranges as a possible property because this may be present.
> 
> Signed-off-by: Eugen Hristev <eugen.hristev@collabora.com>
> ---
> Changes in v2:
> - none.
>  .../devicetree/bindings/media/mediatek,vcodec-encoder.yaml      | 2 ++
>  1 file changed, 2 insertions(+)
> 

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

Patch

diff --git a/Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml b/Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml
index a2051b31fa29..403530de5624 100644
--- a/Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml
+++ b/Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml
@@ -38,6 +38,8 @@  properties:
     minItems: 1
     maxItems: 5
 
+  dma-ranges: true
+
   assigned-clocks: true
 
   assigned-clock-parents: true