- refresh, rebase and reorder patches - JH7110 media drivers have been dropped for now - JH7110 E24 and mailbox drivers were added - JH7100 DMA- and errata-patches have been dropped as they were upstreamed Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
28 lines
792 B
Diff
28 lines
792 B
Diff
From bb3c832bd58bd2bca5f7f99bd19a0fe6ad3cf1a4 Mon Sep 17 00:00:00 2001
|
|
From: Samin Guo <samin.guo@starfivetech.com>
|
|
Date: Fri, 8 Jan 2021 03:11:04 +0800
|
|
Subject: [PATCH 1003/1021] drivers/tty/serial/8250: update driver for JH7100
|
|
|
|
---
|
|
drivers/tty/serial/8250/8250_port.c | 8 ++++++++
|
|
1 file changed, 8 insertions(+)
|
|
|
|
--- a/drivers/tty/serial/8250/8250_port.c
|
|
+++ b/drivers/tty/serial/8250/8250_port.c
|
|
@@ -68,8 +68,16 @@ static const struct serial8250_config ua
|
|
},
|
|
[PORT_16550] = {
|
|
.name = "16550",
|
|
+#ifdef CONFIG_SOC_STARFIVE
|
|
+ .fifo_size = 16,
|
|
+ .tx_loadsz = 16,
|
|
+ .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_00,
|
|
+ .rxtrig_bytes = {1, 4, 8, 14},
|
|
+ .flags = UART_CAP_FIFO,
|
|
+#else
|
|
.fifo_size = 1,
|
|
.tx_loadsz = 1,
|
|
+#endif
|
|
},
|
|
[PORT_16550A] = {
|
|
.name = "16550A",
|