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

Message ID 20231005144934.169356-1-benjamin.gaignard@collabora.com
State New
Headers
Series dt-bindings: media: rockchip: Add resets property into decoder node |

Commit Message

Benjamin Gaignard Oct. 5, 2023, 2:49 p.m. UTC
  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(+)
  

Comments

Krzysztof Kozlowski Oct. 5, 2023, 2:51 p.m. UTC | #1
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
  

Patch

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