[Letux-kernel] X1600 / LX16 support - here: UART issue
Paul Boddie
paul at boddie.org.uk
Thu Feb 29 19:18:13 CET 2024
On Thursday, 29 February 2024 19:09:51 CET H. Nikolaus Schaller wrote:
>
> But we only have 4 UARTs in device tree?
[...]
> Any ideas?
The number of UARTs is defined in the kernel configuration:
CONFIG_SERIAL_8250_NR_UARTS=5
CONFIG_SERIAL_8250_RUNTIME_UARTS=5
See also:
drivers/tty/serial/8250/Kconfig
drivers/tty/serial/8250/8250_core.c
I imagine that the CI20's configuration has five UARTs and that the LX16
configuration needs to be changed to only define four. Yes, the device tree
should arguably control all of this instead.
Paul
More information about the Letux-kernel
mailing list