ARM: dts: Disable DMA support on the BK4 vf610 device's fsl_lpuart
authorLukasz Majewski <lukma@denx.de>
Thu, 10 Oct 2019 09:08:02 +0000 (11:08 +0200)
committerShawn Guo <shawnguo@kernel.org>
Fri, 25 Oct 2019 08:52:13 +0000 (16:52 +0800)
This change disables the DMA support (RX/TX) on the NXP's fsl_lpuart
driver - the PIO mode is used instead. This change is necessary for better
robustness of BK4's device use cases with many potentially interrupted
short serial transfers.

Without it the driver hangs when some distortion happens on UART lines.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Suggested-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/vf610-bk4.dts

index 0f3870d..830c854 100644 (file)
 &uart0 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_uart0>;
+       /delete-property/dma-names;
        status = "okay";
 };
 
 &uart1 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_uart1>;
+       /delete-property/dma-names;
        status = "okay";
 };
 
 &uart2 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_uart2>;
+       /delete-property/dma-names;
        status = "okay";
 };
 
 &uart3 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_uart3>;
+       /delete-property/dma-names;
        status = "okay";
 };