]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit88bb93705da00fe0447a445717de9c3faeeaeda0
tree854388cb84a0d0bef6c97a3e62940ff5d448356e
parent0d896825d02b6b6d79fa0428580ef50537a3e005
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