ARM: dts: microchip: at91sam9x5ek: Use DMA for DBGU serial port
authorEzra Buehler <ezra.buehler@husqvarnagroup.com>
Tue, 2 Jan 2024 16:18:38 +0000 (17:18 +0100)
committerClaudiu Beznea <claudiu.beznea@tuxon.dev>
Sat, 3 Feb 2024 17:00:16 +0000 (19:00 +0200)
The UART controller does not seem to be fast enough to receive data (at
115200 baud) without dropping bytes when DMA is disabled.

This has often been noticed when pasting SSH keys into the serial
console (ttyS0). Only after multiple tries, the long strings would be
successfully transferred without missing characters.

Co-developed-by: Michael Zimmermann <michael.zimmermann@grandcentrix.net>
Signed-off-by: Michael Zimmermann <michael.zimmermann@grandcentrix.net>
Signed-off-by: Ezra Buehler <ezra.buehler@husqvarnagroup.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20240102161839.702625-2-ezra.buehler@husqvarna.com
[claudiu.beznea: s/Co-Developed-by/Co-developed-by to make checkpatch.pl
 happy, s/at91/microchip in commit title]
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
arch/arm/boot/dts/microchip/at91sam9x5ek.dtsi

index 5f4eaa618ab47c7ee5b5cb3a43170544afbbc730..9618b8d965b0c6975de0bf59901a211b1388c73c 100644 (file)
@@ -39,6 +39,8 @@
 };
 
 &dbgu {
+       atmel,use-dma-rx;
+       atmel,use-dma-tx;
        status = "okay";
 };