]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
serial: amba-pl011: Introduce skip_ibrd_fbrd vendor flag
authorKartik Rajput <kkartik@nvidia.com>
Wed, 25 Feb 2026 06:59:11 +0000 (12:29 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Mar 2026 14:06:39 +0000 (15:06 +0100)
commit42157639ddc797053e0f16e6fe0f6b64034fe559
tree65796b198b9ce7d6f329fa1d93fd2c9b55af0325
parentcc8de922bb8e3f4349e355de72bf2b3ef840c430
serial: amba-pl011: Introduce skip_ibrd_fbrd vendor flag

The NVIDIA Tegra264 UART has a broken fractional baud rate
divisor register. Using IBRD and FBRD may cause the baud rate
to fall outside the required tolerance.

Introduce the skip_ibrd_fbrd vendor flag to skip IBRD/FBRD
programming. When set, the baud rate is derived directly from the
UART clock rate using a fixed divisor.

Signed-off-by: Kartik Rajput <kkartik@nvidia.com>
Link: https://patch.msgid.link/20260225065915.341522-2-kkartik@nvidia.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/amba-pl011.c