[PATCH v1] serial: msm-geni: configure RX watermark register

Simon Glass sjg at chromium.org
Wed Apr 22 00:49:21 CEST 2026


On 2026-04-21T04:45:55, Gurumoorthy Santhakumar
<gurumoorthy.santhakumar at oss.qualcomm.com> wrote:
> serial: msm-geni: configure RX watermark register
>
> The SE_GENI_RX_WATERMARK_REG was not being programmed in the RX
> setup paths. Set it to DEF_RX_WM (2) in qcom_geni_serial_start_rx(),
> msm_geni_serial_setup_rx() and _debug_uart_init() to align with the
> Linux kernel driver behaviour.
>
> Without this, the RX FIFO watermark interrupt threshold is left at
> its hardware reset value, which may differ from the expected value
> and can cause RX data loss or missed watermark interrupts.
>
> Link: https://lore.kernel.org/all/20200227132223.864425794@linuxfoundation.org/
> Signed-off-by: Timple Raj M <quic_timple at quicinc.com>
> Signed-off-by: Gurumoorthy Santhakumar <gurumoorthy.santhakumar at oss.qualcomm.com>
>
> drivers/serial/serial_msm_geni.c | 4 ++++
>  1 file changed, 4 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list