2023-07-28 11:10:15

by Varshini Rajendran

[permalink] [raw]
Subject: [PATCH v3 25/50] dt-bindings: serial: atmel,at91-usart: add compatible for sam9x7

Add sam9x7 compatible to DT bindings documentation.

Signed-off-by: Varshini Rajendran <[email protected]>
---
.../devicetree/bindings/serial/atmel,at91-usart.yaml | 9 +++++++++
1 file changed, 9 insertions(+)

diff --git a/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml b/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml
index 30b2131b5860..42644d0f1104 100644
--- a/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml
+++ b/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml
@@ -17,6 +17,7 @@ properties:
- atmel,at91rm9200-usart
- atmel,at91sam9260-usart
- microchip,sam9x60-usart
+ - microchip,sam9x7-usart
- items:
- const: atmel,at91rm9200-dbgu
- const: atmel,at91rm9200-usart
@@ -28,6 +29,14 @@ properties:
- const: microchip,sam9x60-usart
- const: atmel,at91sam9260-dbgu
- const: atmel,at91sam9260-usart
+ - items:
+ - const: microchip,sam9x7-usart
+ - const: atmel,at91sam9260-usart
+ - items:
+ - const: microchip,sam9x7-dbgu
+ - const: microchip,sam9x7-usart
+ - const: atmel,at91sam9260-dbgu
+ - const: atmel,at91sam9260-usart

reg:
maxItems: 1
--
2.25.1



2023-07-28 13:24:42

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH v3 25/50] dt-bindings: serial: atmel,at91-usart: add compatible for sam9x7

On 28/07/2023 12:27, Varshini Rajendran wrote:
> Add sam9x7 compatible to DT bindings documentation.
>
> Signed-off-by: Varshini Rajendran <[email protected]>
> ---
> .../devicetree/bindings/serial/atmel,at91-usart.yaml | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml b/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml
> index 30b2131b5860..42644d0f1104 100644
> --- a/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml
> +++ b/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml
> @@ -17,6 +17,7 @@ properties:
> - atmel,at91rm9200-usart
> - atmel,at91sam9260-usart
> - microchip,sam9x60-usart
> + - microchip,sam9x7-usart

This looks wrong. Conflicts with further entry.

> - items:
> - const: atmel,at91rm9200-dbgu
> - const: atmel,at91rm9200-usart
> @@ -28,6 +29,14 @@ properties:
> - const: microchip,sam9x60-usart
> - const: atmel,at91sam9260-dbgu
> - const: atmel,at91sam9260-usart
> + - items:
> + - const: microchip,sam9x7-usart
> + - const: atmel,at91sam9260-usart

So is it or is it not compatible with at91sam9260?



Best regards,
Krzysztof