Skip to content
Snippets Groups Projects
Commit 5a23de8f authored by Andrei Simion's avatar Andrei Simion Committed by Greg Kroah-Hartman
Browse files

ARM: dts: microchip: sam9x60: Add missing property atmel,usart-mode


[ Upstream commit 2f9d013a0c6f1b9109ada5acb28ee26eefc77c03 ]

Add the atmel,usart-mode property to the UART nodes. This ensures
compliance with the atmel,at91-usart.yaml schema and resolves the errors
below:
serial@200: $nodename:0: 'serial@200' does not match
'^spi(@.*|-([0-9]|[1-9][0-9]+))?$'
serial@200: atmel,use-dma-rx: False schema does not allow True
serial@200: atmel,use-dma-tx: False schema does not allow True
serial@200: atmel,fifo-size: False schema does not allow [[16]]

These errors indicate that the property
atmel,usart-mode = <AT91_USART_MODE_SERIAL> is missing for
UART nodes 0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, and 12.

Fixes: 99c80833 ("ARM: dts: at91: sam9x60: Add missing flexcom definitions")
Acked-by: default avatarNicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: default avatarAndrei Simion <andrei.simion@microchip.com>
Link: https://lore.kernel.org/r/20240912093307.40488-1-andrei.simion@microchip.com


[claudiu.beznea: move the atmel,usart-mode close to vendor specific
 properties to cope with DTS coding style]
Signed-off-by: default avatarClaudiu Beznea <claudiu.beznea@tuxon.dev>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 4cd94fc2
No related branches found
No related tags found
1 merge request!176🤖 Sync Bot: Update v6.12-ktn to Latest Stable Kernel (v6.12.4)
...@@ -186,6 +186,7 @@ AT91_XDMAC_DT_PER_IF(1) | ...@@ -186,6 +186,7 @@ AT91_XDMAC_DT_PER_IF(1) |
dma-names = "tx", "rx"; dma-names = "tx", "rx";
clocks = <&pmc PMC_TYPE_PERIPHERAL 13>; clocks = <&pmc PMC_TYPE_PERIPHERAL 13>;
clock-names = "usart"; clock-names = "usart";
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
atmel,use-dma-rx; atmel,use-dma-rx;
atmel,use-dma-tx; atmel,use-dma-tx;
atmel,fifo-size = <16>; atmel,fifo-size = <16>;
...@@ -388,6 +389,7 @@ AT91_XDMAC_DT_PER_IF(1) | ...@@ -388,6 +389,7 @@ AT91_XDMAC_DT_PER_IF(1) |
dma-names = "tx", "rx"; dma-names = "tx", "rx";
clocks = <&pmc PMC_TYPE_PERIPHERAL 32>; clocks = <&pmc PMC_TYPE_PERIPHERAL 32>;
clock-names = "usart"; clock-names = "usart";
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
atmel,use-dma-rx; atmel,use-dma-rx;
atmel,use-dma-tx; atmel,use-dma-tx;
atmel,fifo-size = <16>; atmel,fifo-size = <16>;
...@@ -439,6 +441,7 @@ AT91_XDMAC_DT_PER_IF(1) | ...@@ -439,6 +441,7 @@ AT91_XDMAC_DT_PER_IF(1) |
dma-names = "tx", "rx"; dma-names = "tx", "rx";
clocks = <&pmc PMC_TYPE_PERIPHERAL 33>; clocks = <&pmc PMC_TYPE_PERIPHERAL 33>;
clock-names = "usart"; clock-names = "usart";
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
atmel,use-dma-rx; atmel,use-dma-rx;
atmel,use-dma-tx; atmel,use-dma-tx;
atmel,fifo-size = <16>; atmel,fifo-size = <16>;
...@@ -598,6 +601,7 @@ AT91_XDMAC_DT_PER_IF(1) | ...@@ -598,6 +601,7 @@ AT91_XDMAC_DT_PER_IF(1) |
dma-names = "tx", "rx"; dma-names = "tx", "rx";
clocks = <&pmc PMC_TYPE_PERIPHERAL 9>; clocks = <&pmc PMC_TYPE_PERIPHERAL 9>;
clock-names = "usart"; clock-names = "usart";
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
atmel,use-dma-rx; atmel,use-dma-rx;
atmel,use-dma-tx; atmel,use-dma-tx;
atmel,fifo-size = <16>; atmel,fifo-size = <16>;
...@@ -649,6 +653,7 @@ AT91_XDMAC_DT_PER_IF(1) | ...@@ -649,6 +653,7 @@ AT91_XDMAC_DT_PER_IF(1) |
dma-names = "tx", "rx"; dma-names = "tx", "rx";
clocks = <&pmc PMC_TYPE_PERIPHERAL 10>; clocks = <&pmc PMC_TYPE_PERIPHERAL 10>;
clock-names = "usart"; clock-names = "usart";
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
atmel,use-dma-rx; atmel,use-dma-rx;
atmel,use-dma-tx; atmel,use-dma-tx;
atmel,fifo-size = <16>; atmel,fifo-size = <16>;
...@@ -700,6 +705,7 @@ AT91_XDMAC_DT_PER_IF(1) | ...@@ -700,6 +705,7 @@ AT91_XDMAC_DT_PER_IF(1) |
dma-names = "tx", "rx"; dma-names = "tx", "rx";
clocks = <&pmc PMC_TYPE_PERIPHERAL 11>; clocks = <&pmc PMC_TYPE_PERIPHERAL 11>;
clock-names = "usart"; clock-names = "usart";
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
atmel,use-dma-rx; atmel,use-dma-rx;
atmel,use-dma-tx; atmel,use-dma-tx;
atmel,fifo-size = <16>; atmel,fifo-size = <16>;
...@@ -751,6 +757,7 @@ AT91_XDMAC_DT_PER_IF(1) | ...@@ -751,6 +757,7 @@ AT91_XDMAC_DT_PER_IF(1) |
dma-names = "tx", "rx"; dma-names = "tx", "rx";
clocks = <&pmc PMC_TYPE_PERIPHERAL 5>; clocks = <&pmc PMC_TYPE_PERIPHERAL 5>;
clock-names = "usart"; clock-names = "usart";
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
atmel,use-dma-rx; atmel,use-dma-rx;
atmel,use-dma-tx; atmel,use-dma-tx;
atmel,fifo-size = <16>; atmel,fifo-size = <16>;
...@@ -821,6 +828,7 @@ AT91_XDMAC_DT_PER_IF(1) | ...@@ -821,6 +828,7 @@ AT91_XDMAC_DT_PER_IF(1) |
dma-names = "tx", "rx"; dma-names = "tx", "rx";
clocks = <&pmc PMC_TYPE_PERIPHERAL 6>; clocks = <&pmc PMC_TYPE_PERIPHERAL 6>;
clock-names = "usart"; clock-names = "usart";
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
atmel,use-dma-rx; atmel,use-dma-rx;
atmel,use-dma-tx; atmel,use-dma-tx;
atmel,fifo-size = <16>; atmel,fifo-size = <16>;
...@@ -891,6 +899,7 @@ AT91_XDMAC_DT_PER_IF(1) | ...@@ -891,6 +899,7 @@ AT91_XDMAC_DT_PER_IF(1) |
dma-names = "tx", "rx"; dma-names = "tx", "rx";
clocks = <&pmc PMC_TYPE_PERIPHERAL 7>; clocks = <&pmc PMC_TYPE_PERIPHERAL 7>;
clock-names = "usart"; clock-names = "usart";
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
atmel,use-dma-rx; atmel,use-dma-rx;
atmel,use-dma-tx; atmel,use-dma-tx;
atmel,fifo-size = <16>; atmel,fifo-size = <16>;
...@@ -961,6 +970,7 @@ AT91_XDMAC_DT_PER_IF(1) | ...@@ -961,6 +970,7 @@ AT91_XDMAC_DT_PER_IF(1) |
dma-names = "tx", "rx"; dma-names = "tx", "rx";
clocks = <&pmc PMC_TYPE_PERIPHERAL 8>; clocks = <&pmc PMC_TYPE_PERIPHERAL 8>;
clock-names = "usart"; clock-names = "usart";
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
atmel,use-dma-rx; atmel,use-dma-rx;
atmel,use-dma-tx; atmel,use-dma-tx;
atmel,fifo-size = <16>; atmel,fifo-size = <16>;
...@@ -1086,6 +1096,7 @@ AT91_XDMAC_DT_PER_IF(1) | ...@@ -1086,6 +1096,7 @@ AT91_XDMAC_DT_PER_IF(1) |
dma-names = "tx", "rx"; dma-names = "tx", "rx";
clocks = <&pmc PMC_TYPE_PERIPHERAL 15>; clocks = <&pmc PMC_TYPE_PERIPHERAL 15>;
clock-names = "usart"; clock-names = "usart";
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
atmel,use-dma-rx; atmel,use-dma-rx;
atmel,use-dma-tx; atmel,use-dma-tx;
atmel,fifo-size = <16>; atmel,fifo-size = <16>;
...@@ -1137,6 +1148,7 @@ AT91_XDMAC_DT_PER_IF(1) | ...@@ -1137,6 +1148,7 @@ AT91_XDMAC_DT_PER_IF(1) |
dma-names = "tx", "rx"; dma-names = "tx", "rx";
clocks = <&pmc PMC_TYPE_PERIPHERAL 16>; clocks = <&pmc PMC_TYPE_PERIPHERAL 16>;
clock-names = "usart"; clock-names = "usart";
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
atmel,use-dma-rx; atmel,use-dma-rx;
atmel,use-dma-tx; atmel,use-dma-tx;
atmel,fifo-size = <16>; atmel,fifo-size = <16>;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment