linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] serial: sprd: Support 12 uart ports
@ 2023-08-07  8:07 Wenhua Lin
  2023-08-07  8:41 ` Baolin Wang
  0 siblings, 1 reply; 6+ messages in thread
From: Wenhua Lin @ 2023-08-07  8:07 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby, Orson Zhai, Baolin Wang,
	Chunyan Zhang
  Cc: linux-serial, linux-kernel, wenhua lin, Wenhua Lin, Xiongpeng Wu

From: Wenhua Lin <wenhua.lin@unisoc.com>

Support 12 uart ports, which can solve the problem
of insufficient uart ports.

Signed-off-by: Wenhua Lin <wenhua.lin@unisoc.com>
---
 drivers/tty/serial/sprd_serial.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/serial/sprd_serial.c b/drivers/tty/serial/sprd_serial.c
index b58f51296ace..2774df490899 100644
--- a/drivers/tty/serial/sprd_serial.c
+++ b/drivers/tty/serial/sprd_serial.c
@@ -22,7 +22,7 @@
 #include <linux/tty_flip.h>
 
 /* device name */
-#define UART_NR_MAX		8
+#define UART_NR_MAX		12
 #define SPRD_TTY_NAME		"ttyS"
 #define SPRD_FIFO_SIZE		128
 #define SPRD_DEF_RATE		26000000
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-08-09 11:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-07  8:07 [PATCH] serial: sprd: Support 12 uart ports Wenhua Lin
2023-08-07  8:41 ` Baolin Wang
2023-08-09  5:52   ` wenhua lin
2023-08-09  6:23     ` Chunyan Zhang
2023-08-09  6:26     ` Baolin Wang
2023-08-09 11:27       ` wenhua lin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).