diff mbox series

[3/8] dt-bindings: rng: atmel,at91-trng: document sama7g5 TRNG

Message ID 20211227183251.132525-3-krzysztof.kozlowski@canonical.com (mailing list archive)
State New, archived
Headers show
Series [1/8] dt-bindings: rng: apm, x-gene-rng: convert APM RNG to dtschema | expand

Commit Message

Krzysztof Kozlowski Dec. 27, 2021, 6:32 p.m. UTC
Add compatbile for Microchip sama7g5 TRNG.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
 .../devicetree/bindings/rng/atmel,at91-trng.yaml      | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

Comments

Nicolas Ferre Jan. 3, 2022, 5:35 p.m. UTC | #1
On 27/12/2021 at 19:32, Krzysztof Kozlowski wrote:
> Add compatbile for Microchip sama7g5 TRNG.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>

As far as I understand:
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>

Thanks for having taken care of this.
Best regards,
   Nicolas

> ---
>   .../devicetree/bindings/rng/atmel,at91-trng.yaml      | 11 ++++++++---
>   1 file changed, 8 insertions(+), 3 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/rng/atmel,at91-trng.yaml b/Documentation/devicetree/bindings/rng/atmel,at91-trng.yaml
> index 0324e863dab8..c1527637eb74 100644
> --- a/Documentation/devicetree/bindings/rng/atmel,at91-trng.yaml
> +++ b/Documentation/devicetree/bindings/rng/atmel,at91-trng.yaml
> @@ -13,9 +13,14 @@ maintainers:
> 
>   properties:
>     compatible:
> -    enum:
> -      - atmel,at91sam9g45-trng
> -      - microchip,sam9x60-trng
> +    oneOf:
> +      - enum:
> +          - atmel,at91sam9g45-trng
> +          - microchip,sam9x60-trng
> +      - items:
> +          - enum:
> +              - microchip,sama7g5-trng
> +          - const: atmel,at91sam9g45-trng
> 
>     clocks:
>       maxItems: 1
> --
> 2.32.0
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/rng/atmel,at91-trng.yaml b/Documentation/devicetree/bindings/rng/atmel,at91-trng.yaml
index 0324e863dab8..c1527637eb74 100644
--- a/Documentation/devicetree/bindings/rng/atmel,at91-trng.yaml
+++ b/Documentation/devicetree/bindings/rng/atmel,at91-trng.yaml
@@ -13,9 +13,14 @@  maintainers:
 
 properties:
   compatible:
-    enum:
-      - atmel,at91sam9g45-trng
-      - microchip,sam9x60-trng
+    oneOf:
+      - enum:
+          - atmel,at91sam9g45-trng
+          - microchip,sam9x60-trng
+      - items:
+          - enum:
+              - microchip,sama7g5-trng
+          - const: atmel,at91sam9g45-trng
 
   clocks:
     maxItems: 1