tty: serial: atmel: add earlycon support
authorMichael Walle <michael@walle.cc>
Thu, 17 Feb 2022 09:46:20 +0000 (10:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Feb 2022 18:47:42 +0000 (19:47 +0100)
commitaab68e959b37eddfe6b1640636457e960f66db2c
tree6632bdbdd619a93f26f92184a3465600ed512d52
parent802d00bd774b77fe132e9e83462b96fb9919411c
tty: serial: atmel: add earlycon support

Add early console support which relies on the bootloader for the
initialization of the UART.
Please note, that the compatibles are taken from at91-usart MFD
driver.

Tested-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Acked-by: Richard Genoud <richard.genoud@gmail.com>
Signed-off-by: Michael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20220217094620.1148571-1-michael@walle.cc
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/Kconfig
drivers/tty/serial/atmel_serial.c