Skip to content

Commit 79d65fd

Browse files
SherrySun5gregkh
authored andcommitted
tty: serial: fsl_lpuart: increase maximum uart_nr to 12
Some SoCs like the i.MX943 have aliases for up to 12 UARTs, need to increase UART_NR from 8 to 12 to support lpuart9-12 to avoid initialization failures. Signed-off-by: Sherry Sun <sherry.sun@nxp.com> Link: https://lore.kernel.org/r/20250103071154.3070924-1-sherry.sun@nxp.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 2c1fd53 commit 79d65fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/tty/serial/fsl_lpuart.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@
245245

246246
#define DRIVER_NAME "fsl-lpuart"
247247
#define DEV_NAME "ttyLP"
248-
#define UART_NR 8
248+
#define UART_NR 12
249249

250250
/* IMX lpuart has four extra unused regs located at the beginning */
251251
#define IMX_REG_OFF 0x10

0 commit comments

Comments
 (0)