Message ID | 20230728102256.265291-1-varshini.rajendran@microchip.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v3,01/50] dt-bindings: microchip: atmel,at91rm9200-tcb: add sam9x60, sam9x7 compatible | expand |
On 28/07/2023 12:22, Varshini Rajendran wrote: > Add sam9x60, sam9x7 compatible string support in the schema file. > > Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com> > --- > .../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
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
Add sam9x60, sam9x7 compatible string support in the schema file. Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com> --- .../soc/microchip/atmel,at91rm9200-tcb.yaml | 21 ++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-)