2023-07-28 10:56:28

by Varshini Rajendran

[permalink] [raw]
Subject: [PATCH v3 24/50] dt-bindings: rtt: at91rm9260: add sam9x7 compatible

Add compatible for SAM9X7 RTT.

Signed-off-by: Varshini Rajendran <[email protected]>
---
.../devicetree/bindings/rtc/atmel,at91sam9260-rtt.yaml | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/rtc/atmel,at91sam9260-rtt.yaml b/Documentation/devicetree/bindings/rtc/atmel,at91sam9260-rtt.yaml
index b80b85c394ac..8426810518e1 100644
--- a/Documentation/devicetree/bindings/rtc/atmel,at91sam9260-rtt.yaml
+++ b/Documentation/devicetree/bindings/rtc/atmel,at91sam9260-rtt.yaml
@@ -21,6 +21,9 @@ properties:
- items:
- const: microchip,sam9x60-rtt
- const: atmel,at91sam9260-rtt
+ - items:
+ - const: microchip,sam9x7-rtt
+ - const: atmel,at91sam9260-rtt
- items:
- const: microchip,sama7g5-rtt
- const: microchip,sam9x60-rtt
--
2.25.1



2023-07-28 13:26:21

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH v3 24/50] dt-bindings: rtt: at91rm9260: add sam9x7 compatible

On 28/07/2023 12:27, Varshini Rajendran wrote:
> Add compatible for SAM9X7 RTT.
>
> Signed-off-by: Varshini Rajendran <[email protected]>
> ---
> .../devicetree/bindings/rtc/atmel,at91sam9260-rtt.yaml | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/rtc/atmel,at91sam9260-rtt.yaml b/Documentation/devicetree/bindings/rtc/atmel,at91sam9260-rtt.yaml
> index b80b85c394ac..8426810518e1 100644
> --- a/Documentation/devicetree/bindings/rtc/atmel,at91sam9260-rtt.yaml
> +++ b/Documentation/devicetree/bindings/rtc/atmel,at91sam9260-rtt.yaml
> @@ -21,6 +21,9 @@ properties:
> - items:
> - const: microchip,sam9x60-rtt
> - const: atmel,at91sam9260-rtt
> + - items:
> + - const: microchip,sam9x7-rtt

Make it part of a enum with sam9x60.

> + - const: atmel,at91sam9260-rtt
> - items:
> - const: microchip,sama7g5-rtt
> - const: microchip,sam9x60-rtt

Best regards,
Krzysztof