tty: serial: fsl_lpuart: add LS1028A earlycon support
authorMichael Walle <michael@walle.cc>
Fri, 6 Mar 2020 21:44:33 +0000 (22:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Mar 2020 09:02:00 +0000 (10:02 +0100)
commite33253f3b74b5fb2a3436c26c56252a3a8159228
tree854388cb84a0d0bef6c97a3e62940ff5d448356e
parentc2f448cff22a7ed09281f02bde084b0ce3bc61ed
tty: serial: fsl_lpuart: add LS1028A earlycon support

Add a early_console_setup() for the LS1028A SoC with 32bit, little
endian access. If the bootloader does a fixup of the clock-frequency
node the baudrate divisor register will automatically be set.

Signed-off-by: Michael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20200306214433.23215-5-michael@walle.cc
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/fsl_lpuart.c