Re: [PATCH v3 1/4] dt-bindings: rockchip-rga: Add PX30 compatible

From: Johan Jonker
Date: Thu Apr 30 2020 - 17:24:23 EST


Hi Paul,

>
> Add a new compatible for the PX30 Rockchip SoC, which also features
> a RGA block. It is compatible with the RK3288 RGA block.
>
> Signed-off-by: Paul Kocialkowski <paul.kocialkowski@xxxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/media/rockchip-rga.yaml | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/media/rockchip-rga.yaml b/Documentation/devicetree/bindings/media/rockchip-rga.yaml
> index dd645ddccb07..740586299da9 100644
> --- a/Documentation/devicetree/bindings/media/rockchip-rga.yaml
> +++ b/Documentation/devicetree/bindings/media/rockchip-rga.yaml
> @@ -23,6 +23,9 @@ properties:


> - items:
> - const: rockchip,rk3228-rga
> - const: rockchip,rk3288-rga
> + - items:
> + - const: rockchip,px30-rga
> + - const: rockchip,rk3288-rga

Use enum.

- items:
- enum:
- rockchip,px30-rga
- rockchip,rk3228-rga
- const: rockchip,rk3288-rga

>
> reg:
> maxItems: 1
> --
> 2.26.0