Re: [PATCH v1 16/24] dt-bindings: crypto: meson: add new compatibles

From: Rob Herring
Date: Wed Jan 10 2024 - 20:44:55 EST


On Wed, Jan 10, 2024 at 11:11:32PM +0300, Alexey Romanov wrote:
> Now we can use crypto driver at G12A/G12B/S4/A1/SM1/AXG.
>
> Signed-off-by: Alexey Romanov <avromanov@xxxxxxxxxxxxxxxxx>
> ---
> .../devicetree/bindings/crypto/amlogic,gxl-crypto.yaml | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml b/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml
> index 948e11ebe4ee..317003505510 100644
> --- a/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml
> +++ b/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml
> @@ -13,6 +13,8 @@ properties:
> compatible:
> items:
> - const: amlogic,gxl-crypto
> + - const: amlogic,g12a-crypto
> + - const: amlogic,axg-crypto

You need an 'enum'.

>
> reg:
> maxItems: 1
> --
> 2.30.1
>