Re: [PATCH v6 05/27] dt-bindings: microchip: atmel,at91rm9200-tcb: add sam9x7 compatible

From: Rob Herring
Date: Tue Jul 30 2024 - 15:04:22 EST


On Mon, Jul 29, 2024 at 12:36:49PM +0530, Varshini Rajendran wrote:
> Add support for sam9x7 device compatible.

How is this device similar to sama5d2? IOW, why is the fallback
appropriate?

>
> Signed-off-by: Varshini Rajendran <varshini.rajendran@xxxxxxxxxxxxx>
> ---
> Changes in v6:
>
> - New patch in v6 to document tcb compatible.
> ---
> .../soc/microchip/atmel,at91rm9200-tcb.yaml | 20 ++++++++++++-------
> 1 file changed, 13 insertions(+), 7 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml b/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml
> index a46411149571..2c7275c4503b 100644
> --- a/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml
> +++ b/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml
> @@ -15,13 +15,19 @@ description: |
>
> properties:
> compatible:
> - items:
> - - enum:
> - - atmel,at91rm9200-tcb
> - - atmel,at91sam9x5-tcb
> - - atmel,sama5d2-tcb
> - - const: simple-mfd
> - - const: syscon
> + oneOf:
> + - items:
> + - enum:
> + - atmel,at91rm9200-tcb
> + - atmel,at91sam9x5-tcb
> + - atmel,sama5d2-tcb
> + - const: simple-mfd
> + - const: syscon
> + - items:
> + - const: microchip,sam9x7-tcb
> + - const: atmel,sama5d2-tcb
> + - const: simple-mfd
> + - const: syscon
>
> reg:
> maxItems: 1
> --
> 2.25.1
>