mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: dts: microchip: sama7d65: fix uart fifo size to 32
@ 2025-11-14 10:33 nicolas.ferre
  2025-11-14 10:33 ` [PATCH 2/2] ARM: dts: microchip: sama7g5: " nicolas.ferre
  2025-11-14 12:16 ` [PATCH 1/2] ARM: dts: microchip: sama7d65: " Claudiu Beznea
  0 siblings, 2 replies; 4+ messages in thread
From: nicolas.ferre @ 2025-11-14 10:33 UTC (permalink / raw)
  To: Alexandre Belloni, Claudiu Beznea
  Cc: linux-arm-kernel, linux-kernel, Ryan Wanner, Cristian Birsan,
	Nicolas Ferre, stable

From: Nicolas Ferre <nicolas.ferre@microchip.com>

On some flexcom nodes related to uart, the fifo sizes were wrong: fix
them to 32 data.  Note that product datasheet is being reviewed to fix
inconsistency, but this value is validated by product's designers.

Fixes: 261dcfad1b59 ("ARM: dts: microchip: add sama7d65 SoC DT")
Fixes: b51e4aea3ecf ("ARM: dts: microchip: sama7d65: Add FLEXCOMs to sama7d65 SoC")
Cc: <stable@vger.kernel.org> # 6.16+
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
---
 arch/arm/boot/dts/microchip/sama7d65.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/microchip/sama7d65.dtsi b/arch/arm/boot/dts/microchip/sama7d65.dtsi
index e53e2dd6d530..cd2cf9a6f40b 100644
--- a/arch/arm/boot/dts/microchip/sama7d65.dtsi
+++ b/arch/arm/boot/dts/microchip/sama7d65.dtsi
@@ -557,7 +557,7 @@ uart4: serial@200 {
 				dma-names = "tx", "rx";
 				atmel,use-dma-rx;
 				atmel,use-dma-tx;
-				atmel,fifo-size = <16>;
+				atmel,fifo-size = <32>;
 				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
 				status = "disabled";
 			};
@@ -618,7 +618,7 @@ uart6: serial@200 {
 				clocks = <&pmc PMC_TYPE_PERIPHERAL 40>;
 				clock-names = "usart";
 				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
-				atmel,fifo-size = <16>;
+				atmel,fifo-size = <32>;
 				status = "disabled";
 			};
 		};
@@ -643,7 +643,7 @@ uart7: serial@200 {
 				dma-names = "tx", "rx";
 				atmel,use-dma-rx;
 				atmel,use-dma-tx;
-				atmel,fifo-size = <16>;
+				atmel,fifo-size = <32>;
 				atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
 				status = "disabled";
 			};
-- 
2.43.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 2/2] ARM: dts: microchip: sama7g5: fix uart fifo size to 32
  2025-11-14 10:33 [PATCH 1/2] ARM: dts: microchip: sama7d65: fix uart fifo size to 32 nicolas.ferre
@ 2025-11-14 10:33 ` nicolas.ferre
  2025-11-14 12:17   ` Claudiu Beznea
  2025-11-14 12:16 ` [PATCH 1/2] ARM: dts: microchip: sama7d65: " Claudiu Beznea
  1 sibling, 1 reply; 4+ messages in thread
From: nicolas.ferre @ 2025-11-14 10:33 UTC (permalink / raw)
  To: Alexandre Belloni, Claudiu Beznea
  Cc: linux-arm-kernel, linux-kernel, Ryan Wanner, Cristian Birsan,
	Nicolas Ferre, stable

From: Nicolas Ferre <nicolas.ferre@microchip.com>

On some flexcom nodes related to uart, the fifo sizes were wrong: fix
them to 32 data.

Fixes: 7540629e2fc7 ("ARM: dts: at91: add sama7g5 SoC DT and sama7g5-ek")
Cc: <stable@vger.kernel.org> # 5.15+
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
---
 arch/arm/boot/dts/microchip/sama7g5.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/microchip/sama7g5.dtsi b/arch/arm/boot/dts/microchip/sama7g5.dtsi
index 381cbcfcb34a..03ef3d9aaeec 100644
--- a/arch/arm/boot/dts/microchip/sama7g5.dtsi
+++ b/arch/arm/boot/dts/microchip/sama7g5.dtsi
@@ -824,7 +824,7 @@ uart4: serial@200 {
 				dma-names = "tx", "rx";
 				atmel,use-dma-rx;
 				atmel,use-dma-tx;
-				atmel,fifo-size = <16>;
+				atmel,fifo-size = <32>;
 				status = "disabled";
 			};
 		};
@@ -850,7 +850,7 @@ uart7: serial@200 {
 				dma-names = "tx", "rx";
 				atmel,use-dma-rx;
 				atmel,use-dma-tx;
-				atmel,fifo-size = <16>;
+				atmel,fifo-size = <32>;
 				status = "disabled";
 			};
 		};
-- 
2.43.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] ARM: dts: microchip: sama7d65: fix uart fifo size to 32
  2025-11-14 10:33 [PATCH 1/2] ARM: dts: microchip: sama7d65: fix uart fifo size to 32 nicolas.ferre
  2025-11-14 10:33 ` [PATCH 2/2] ARM: dts: microchip: sama7g5: " nicolas.ferre
@ 2025-11-14 12:16 ` Claudiu Beznea
  1 sibling, 0 replies; 4+ messages in thread
From: Claudiu Beznea @ 2025-11-14 12:16 UTC (permalink / raw)
  To: nicolas.ferre, Alexandre Belloni
  Cc: linux-arm-kernel, linux-kernel, Ryan Wanner, Cristian Birsan, stable



On 11/14/25 12:33, nicolas.ferre@microchip.com wrote:
> From: Nicolas Ferre <nicolas.ferre@microchip.com>
> 
> On some flexcom nodes related to uart, the fifo sizes were wrong: fix
> them to 32 data.  Note that product datasheet is being reviewed to fix
> inconsistency, but this value is validated by product's designers.
> 
> Fixes: 261dcfad1b59 ("ARM: dts: microchip: add sama7d65 SoC DT")
> Fixes: b51e4aea3ecf ("ARM: dts: microchip: sama7d65: Add FLEXCOMs to sama7d65 SoC")
> Cc: <stable@vger.kernel.org> # 6.16+
> Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>

Applied to at91-dt, thanks!

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] ARM: dts: microchip: sama7g5: fix uart fifo size to 32
  2025-11-14 10:33 ` [PATCH 2/2] ARM: dts: microchip: sama7g5: " nicolas.ferre
@ 2025-11-14 12:17   ` Claudiu Beznea
  0 siblings, 0 replies; 4+ messages in thread
From: Claudiu Beznea @ 2025-11-14 12:17 UTC (permalink / raw)
  To: nicolas.ferre, Alexandre Belloni
  Cc: linux-arm-kernel, linux-kernel, Ryan Wanner, Cristian Birsan, stable



On 11/14/25 12:33, nicolas.ferre@microchip.com wrote:
> From: Nicolas Ferre <nicolas.ferre@microchip.com>
> 
> On some flexcom nodes related to uart, the fifo sizes were wrong: fix
> them to 32 data.
> 
> Fixes: 7540629e2fc7 ("ARM: dts: at91: add sama7g5 SoC DT and sama7g5-ek")
> Cc: <stable@vger.kernel.org> # 5.15+
> Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Applied to at91-dt, thanks!

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-11-14 12:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-14 10:33 [PATCH 1/2] ARM: dts: microchip: sama7d65: fix uart fifo size to 32 nicolas.ferre
2025-11-14 10:33 ` [PATCH 2/2] ARM: dts: microchip: sama7g5: " nicolas.ferre
2025-11-14 12:17   ` Claudiu Beznea
2025-11-14 12:16 ` [PATCH 1/2] ARM: dts: microchip: sama7d65: " Claudiu Beznea

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®