[PATCH v1] serial: qcom-geni: Add support for 8 Mbps baud rate

Jyothi Kumar Seerapu posted 1 patch 7 months ago
drivers/tty/serial/qcom_geni_serial.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH v1] serial: qcom-geni: Add support for 8 Mbps baud rate
Posted by Jyothi Kumar Seerapu 7 months ago
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 <quic_jseerapu@quicinc.com>
---
 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 a80ce7aaf309..a86b84d7b134 100644
--- a/drivers/tty/serial/qcom_geni_serial.c
+++ b/drivers/tty/serial/qcom_geni_serial.c
@@ -1287,7 +1287,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.17.1
Re: [PATCH v1] serial: qcom-geni: Add support for 8 Mbps baud rate
Posted by Dmitry Baryshkov 6 months, 4 weeks ago
On Fri, May 23, 2025 at 04:07:21PM +0530, Jyothi Kumar Seerapu wrote:
> 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 <quic_jseerapu@quicinc.com>
> ---
>  drivers/tty/serial/qcom_geni_serial.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>

-- 
With best wishes
Dmitry