[v2,2/3] media: dt-bindings: media: mediatek: vcodec: Adding racing control register base
Commit Message
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(-)
Comments
On Thu, 10 Nov 2022 18:28:33 +0800, Yunfei Dong wrote:
> 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(-)
>
Reviewed-by: Rob Herring <robh@kernel.org>
@@ -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