Add sam9x60, sam9x7 compatible string support in the schema file.
Signed-off-by: Varshini Rajendran <[email protected]>
---
.../soc/microchip/atmel,at91rm9200-tcb.yaml | 21 ++++++++++++-------
1 file changed, 14 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..912aea5abcf0 100644
--- a/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml
+++ b/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml
@@ -15,13 +15,20 @@ 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
+ - microchip,sam9x60-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
On 28/07/2023 12:22, Varshini Rajendran wrote:
> Add sam9x60, sam9x7 compatible string support in the schema file.
>
> Signed-off-by: Varshini Rajendran <[email protected]>
> ---
> .../soc/microchip/atmel,at91rm9200-tcb.yaml | 21 ++++++++++++-------
> 1 file changed, 14 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..912aea5abcf0 100644
> --- a/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml
> +++ b/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml
> @@ -15,13 +15,20 @@ 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
> + - microchip,sam9x60-tcb
That's not matching existing DTS.
Best regards,
Krzysztof