summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEzra Buehler <ezra.buehler@husqvarnagroup.com>2024-01-02 19:18:38 +0300
committerClaudiu Beznea <claudiu.beznea@tuxon.dev>2024-02-03 20:00:16 +0300
commitf8f4f44277028a41622c9b4ff3ee9fd22ec5d233 (patch)
tree5c5e71182f2bd8f757d856a18f75dae0bdf1125f
parent6613476e225e090cc9aad49be7fa504e290dd33d (diff)
downloadlinux-f8f4f44277028a41622c9b4ff3ee9fd22ec5d233.tar.xz
ARM: dts: microchip: at91sam9x5ek: Use DMA for DBGU serial port
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>
-rw-r--r--arch/arm/boot/dts/microchip/at91sam9x5ek.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/microchip/at91sam9x5ek.dtsi b/arch/arm/boot/dts/microchip/at91sam9x5ek.dtsi
index 5f4eaa618ab4..9618b8d965b0 100644
--- a/arch/arm/boot/dts/microchip/at91sam9x5ek.dtsi
+++ b/arch/arm/boot/dts/microchip/at91sam9x5ek.dtsi
@@ -39,6 +39,8 @@
};
&dbgu {
+ atmel,use-dma-rx;
+ atmel,use-dma-tx;
status = "okay";
};