diff mbox series

[v2,2/3] media: dt-bindings: media: mediatek: vcodec: Adding racing control register base

Message ID 20221110102834.8946-2-yunfei.dong@mediatek.com
State New
Headers show
Series [v2,1/3] media: dt-bindings: media: mediatek: vcodec: Fix clock num not correctly | expand

Commit Message

Yunfei Dong (董云飞) Nov. 10, 2022, 10:28 a.m. UTC
Need to add racing control register base in device node for mt8195 support
inner racing mode. Removing 'maxItems' and adding 'minItems'.

Adding description for each reg.

Signed-off-by: Yunfei Dong <yunfei.dong@mediatek.com>
---
compared with v1:
- add description for 'VDEC_SYS'
- add description for 'VDEC_RACING_CTRL'
- add description for 'VDEC_MISC'
- change maxItems -> minItems according to AngeloGioacchino's suggestion
- Fix dt_binding_check fail
---
 .../bindings/media/mediatek,vcodec-subdev-decoder.yaml    | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-decoder.yaml b/Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-decoder.yaml
index 794012853834..9af58db294d3 100644
--- a/Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-decoder.yaml
+++ b/Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-decoder.yaml
@@ -61,7 +61,10 @@  properties:
       - mediatek,mt8195-vcodec-dec
 
   reg:
-    maxItems: 1
+    minItems: 1
+    items:
+      - description: VDEC_SYS register space
+      - description: VDEC_RACING_CTRL register space
 
   iommus:
     minItems: 1
@@ -115,6 +118,7 @@  patternProperties:
 
       reg:
         maxItems: 1
+        description: VDEC_MISC register space
 
       iommus:
         minItems: 1
@@ -154,6 +158,7 @@  patternProperties:
 
       reg:
         maxItems: 1
+        description: VDEC_MISC register space
 
       interrupts:
         maxItems: 1
@@ -195,6 +200,7 @@  patternProperties:
 
       reg:
         maxItems: 1
+        description: VDEC_MISC register space
 
       interrupts:
         maxItems: 1