From 341a22fa056ddc01341b5e2a1ca0dbe61fbdb1ea Mon Sep 17 00:00:00 2001 From: Jyothi Kumar Seerapu Date: Fri, 23 May 2025 16:07:21 +0530 Subject: [PATCH] serial: qcom-geni: Add support for 8 Mbps baud rate Current GENI UART driver supports Max Baud rate up to 4 Mbps. Add support to increase maximum baud rate to 8 Mbps. Signed-off-by: Jyothi Kumar Seerapu Reviewed-by: Dmitry Baryshkov Link: https://lore.kernel.org/r/20250523103721.5042-1-quic_jseerapu@quicinc.com Signed-off-by: Greg Kroah-Hartman --- drivers/tty/serial/qcom_geni_serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/qcom_geni_serial.c b/drivers/tty/serial/qcom_geni_serial.c index 0293b6210aa67..8ba6df8abd4d9 100644 --- a/drivers/tty/serial/qcom_geni_serial.c +++ b/drivers/tty/serial/qcom_geni_serial.c @@ -1303,7 +1303,7 @@ static void qcom_geni_serial_set_termios(struct uart_port *uport, unsigned long timeout; /* baud rate */ - baud = uart_get_baud_rate(uport, termios, old, 300, 4000000); + baud = uart_get_baud_rate(uport, termios, old, 300, 8000000); sampling_rate = UART_OVERSAMPLING; /* Sampling rate is halved for IP versions >= 2.5 */ -- 2.47.3