[PATCH] dt-bindings: media: rockchip: Add resets property into decoder node

Benjamin Gaignard posted 1 patch 2 years, 2 months ago
There is a newer version of this series
Documentation/devicetree/bindings/media/rockchip-vpu.yaml | 3 +++
1 file changed, 3 insertions(+)
[PATCH] dt-bindings: media: rockchip: Add resets property into decoder node
Posted by Benjamin Gaignard 2 years, 2 months ago
RK3588 AV1 decoder hardware block have resets lines and driver code
already support it.
Update yaml file to be aligned with this feature.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
---
 Documentation/devicetree/bindings/media/rockchip-vpu.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/media/rockchip-vpu.yaml b/Documentation/devicetree/bindings/media/rockchip-vpu.yaml
index 772ec3283bc6..52c7c840455f 100644
--- a/Documentation/devicetree/bindings/media/rockchip-vpu.yaml
+++ b/Documentation/devicetree/bindings/media/rockchip-vpu.yaml
@@ -68,6 +68,9 @@ properties:
   iommus:
     maxItems: 1
 
+  resets:
+    maxItems: 4
+
 required:
   - compatible
   - reg
-- 
2.39.2
Re: [PATCH] dt-bindings: media: rockchip: Add resets property into decoder node
Posted by Krzysztof Kozlowski 2 years, 2 months ago
On 05/10/2023 16:49, Benjamin Gaignard wrote:
> RK3588 AV1 decoder hardware block have resets lines and driver code
> already support it.
> Update yaml file to be aligned with this feature.
> 
> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
> ---
>  Documentation/devicetree/bindings/media/rockchip-vpu.yaml | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/media/rockchip-vpu.yaml b/Documentation/devicetree/bindings/media/rockchip-vpu.yaml
> index 772ec3283bc6..52c7c840455f 100644
> --- a/Documentation/devicetree/bindings/media/rockchip-vpu.yaml
> +++ b/Documentation/devicetree/bindings/media/rockchip-vpu.yaml
> @@ -68,6 +68,9 @@ properties:
>    iommus:
>      maxItems: 1
>  
> +  resets:
> +    maxItems: 4

You need to describe items.

Best regards,
Krzysztof