xtensa: Tweak xuartps UART driver Rx watermark for Cadence CSP config.
authorScott Telford <stelford@cadence.com>
Thu, 15 Sep 2016 15:26:45 +0000 (16:26 +0100)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 19 Sep 2016 18:51:32 +0000 (11:51 -0700)
Add module parameter xilinx_uartps.rx_trigger_level=32 to command line
options for CSP to set Rx watermark for xuartps driver lower than the
default value, to avoid UART overruns at 115200 bps.

Signed-off-by: Scott Telford <stelford@cadence.com>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/boot/dts/csp.dts

index 197aead..4082f26 100644 (file)
@@ -7,7 +7,7 @@
        interrupt-parent = <&pic>;
 
        chosen {
-               bootargs = "earlycon=cdns,0xfd000000,115200 console=tty0 console=ttyPS0,115200 root=/dev/ram0 rw earlyprintk loglevel=8 nohz=off ignore_loglevel";
+               bootargs = "earlycon=cdns,0xfd000000,115200 console=tty0 console=ttyPS0,115200 root=/dev/ram0 rw earlyprintk xilinx_uartps.rx_trigger_level=32 loglevel=8 nohz=off ignore_loglevel";
        };
 
        memory@0 {