Message ID | 20230728102740.266612-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:27, Varshini Rajendran wrote: > Add sam9x7 compatible to DT bindings documentation. > Please use subject prefixes matching the subsystem. You can get them for example with `git log --oneline -- DIRECTORY_OR_FILE` on the directory your patch is touching. > Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com> > --- > .../devicetree/bindings/sound/atmel,sama5d2-classd.yaml | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/sound/atmel,sama5d2-classd.yaml b/Documentation/devicetree/bindings/sound/atmel,sama5d2-classd.yaml > index 43d04702ac2d..ae3162fcfe02 100644 > --- a/Documentation/devicetree/bindings/sound/atmel,sama5d2-classd.yaml > +++ b/Documentation/devicetree/bindings/sound/atmel,sama5d2-classd.yaml > @@ -18,7 +18,12 @@ description: > > properties: > compatible: > - const: atmel,sama5d2-classd > + oneOf: > + - items: No need for items here. > + - const: atmel,sama5d2-classd > + - items: > + - const: microchip,sam9x7-classd > + - const: atmel,sama5d2-classd Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/sound/atmel,sama5d2-classd.yaml b/Documentation/devicetree/bindings/sound/atmel,sama5d2-classd.yaml index 43d04702ac2d..ae3162fcfe02 100644 --- a/Documentation/devicetree/bindings/sound/atmel,sama5d2-classd.yaml +++ b/Documentation/devicetree/bindings/sound/atmel,sama5d2-classd.yaml @@ -18,7 +18,12 @@ description: properties: compatible: - const: atmel,sama5d2-classd + oneOf: + - items: + - const: atmel,sama5d2-classd + - items: + - const: microchip,sam9x7-classd + - const: atmel,sama5d2-classd reg: maxItems: 1
Add sam9x7 compatible to DT bindings documentation. Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com> --- .../devicetree/bindings/sound/atmel,sama5d2-classd.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)