Message ID | 20240703102640.195431-1-varshini.rajendran@microchip.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 755ed2f3030450ee6f5c8d3a4c35345c16376771 |
Headers | show |
Series | Add support for sam9x7 SoC family | expand |
On Wed, Jul 03, 2024 at 03:56:40PM +0530, Varshini Rajendran wrote: > Add sam9x7 compatible to DT bindings documentation. > > Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com> > --- > Changes in v5: > - Corrected the order of bindings. > - sam9x60 bindings in the dts and dt documentation in future series. > --- > .../devicetree/bindings/serial/atmel,at91-usart.yaml | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml b/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml > index eb2992a447d7..f466c38518c4 100644 > --- a/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml > +++ b/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml > @@ -23,13 +23,20 @@ properties: > - const: atmel,at91sam9260-dbgu > - const: atmel,at91sam9260-usart > - items: > - - const: microchip,sam9x60-usart > + - enum: > + - microchip,sam9x60-usart > + - microchip,sam9x7-usart > - const: atmel,at91sam9260-usart > - items: > - const: microchip,sam9x60-dbgu > - const: microchip,sam9x60-usart > - const: atmel,at91sam9260-dbgu > - const: atmel,at91sam9260-usart > + - items: > + - const: microchip,sam9x7-dbgu > + - const: atmel,at91sam9260-dbgu > + - const: microchip,sam9x7-usart I still think that this particular compatible shouldn't be here, but I did say I would accept this version. Acked-by: Conor Dooley <conor.dooley@microchip.com> Thanks, Conor. > + - const: atmel,at91sam9260-usart > > reg: > maxItems: 1 > -- > 2.25.1 >
diff --git a/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml b/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml index eb2992a447d7..f466c38518c4 100644 --- a/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml +++ b/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml @@ -23,13 +23,20 @@ properties: - const: atmel,at91sam9260-dbgu - const: atmel,at91sam9260-usart - items: - - const: microchip,sam9x60-usart + - enum: + - microchip,sam9x60-usart + - microchip,sam9x7-usart - const: atmel,at91sam9260-usart - items: - const: microchip,sam9x60-dbgu - const: microchip,sam9x60-usart - const: atmel,at91sam9260-dbgu - const: atmel,at91sam9260-usart + - items: + - const: microchip,sam9x7-dbgu + - const: atmel,at91sam9260-dbgu + - const: microchip,sam9x7-usart + - const: atmel,at91sam9260-usart reg: maxItems: 1
Add sam9x7 compatible to DT bindings documentation. Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com> --- Changes in v5: - Corrected the order of bindings. - sam9x60 bindings in the dts and dt documentation in future series. --- .../devicetree/bindings/serial/atmel,at91-usart.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)