2022-04-25 20:12:30

by Christopher Obbard

[permalink] [raw]
Subject: [PATCH v3 1/3] media: dt-bindings: media: rockchip-vdec: Add RK3328 compatible

Document the RK3328 compatible for rockchip-vdec. The driver shares
the same base functionality as the RK3399 hardware so make sure that
the RK3399 compatible is also included in the device tree.

Signed-off-by: Christopher Obbard <[email protected]>
---
Documentation/devicetree/bindings/media/rockchip,vdec.yaml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/media/rockchip,vdec.yaml b/Documentation/devicetree/bindings/media/rockchip,vdec.yaml
index 089f11d21b25..3bcfb8e12333 100644
--- a/Documentation/devicetree/bindings/media/rockchip,vdec.yaml
+++ b/Documentation/devicetree/bindings/media/rockchip,vdec.yaml
@@ -18,7 +18,9 @@ properties:
oneOf:
- const: rockchip,rk3399-vdec
- items:
- - const: rockchip,rk3228-vdec
+ - enum:
+ - rockchip,rk3228-vdec
+ - rockchip,rk3328-vdec
- const: rockchip,rk3399-vdec

reg:
--
2.34.1


2022-04-26 17:22:06

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH v3 1/3] media: dt-bindings: media: rockchip-vdec: Add RK3328 compatible

On 25/04/2022 20:45, Christopher Obbard wrote:
> Document the RK3328 compatible for rockchip-vdec. The driver shares
> the same base functionality as the RK3399 hardware so make sure that
> the RK3399 compatible is also included in the device tree.
>
> Signed-off-by: Christopher Obbard <[email protected]>


Acked-by: Krzysztof Kozlowski <[email protected]>


Best regards,
Krzysztof

2022-04-28 11:17:24

by Hans Verkuil

[permalink] [raw]
Subject: Re: [PATCH v3 1/3] media: dt-bindings: media: rockchip-vdec: Add RK3328 compatible

On 25/04/2022 20:45, Christopher Obbard wrote:
> Document the RK3328 compatible for rockchip-vdec. The driver shares
> the same base functionality as the RK3399 hardware so make sure that
> the RK3399 compatible is also included in the device tree.
>
> Signed-off-by: Christopher Obbard <[email protected]>

I'm merging this bindings change in the media subsystem, so the other two
patches can be be merged for 5.19 by whoever maintains those dts files.

Regards,

Hans

> ---
> Documentation/devicetree/bindings/media/rockchip,vdec.yaml | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/media/rockchip,vdec.yaml b/Documentation/devicetree/bindings/media/rockchip,vdec.yaml
> index 089f11d21b25..3bcfb8e12333 100644
> --- a/Documentation/devicetree/bindings/media/rockchip,vdec.yaml
> +++ b/Documentation/devicetree/bindings/media/rockchip,vdec.yaml
> @@ -18,7 +18,9 @@ properties:
> oneOf:
> - const: rockchip,rk3399-vdec
> - items:
> - - const: rockchip,rk3228-vdec
> + - enum:
> + - rockchip,rk3228-vdec
> + - rockchip,rk3328-vdec
> - const: rockchip,rk3399-vdec
>
> reg: