drivers: ti: uart: Add TI specific 16550 initialization
authorBenjamin Fair <b-fair@ti.com>
Fri, 14 Oct 2016 01:13:33 +0000 (01:13 +0000)
committerAndrew F. Davis <afd@ti.com>
Mon, 11 Jun 2018 19:26:32 +0000 (14:26 -0500)
commit529b541e8b81f68bb6ee3c6ecdb43b5cbe0a9d70
treecadc10f646fc59c247530c65dd45ff78088d8e6a
parent11bebd7cab0873d04ad8f1d3ccd538f4d5b80ccb
drivers: ti: uart: Add TI specific 16550 initialization

On TI platforms the UART is disabled by default and must be explicitly
enabled using the MDR1 register.

NOTE: The original definition of
http://www.ti.com/lit/ds/symlink/pc16550d.pdf has no MDR register, but
many TI SoCs implementing 16550 do have a quirky MDR register
implemented. So, this should be enabled with TI_16550_MDR_QUIRK

NOTE: In such implementation, the CSR register does not exist.

Signed-off-by: Benjamin Fair <b-fair@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Andrew F. Davis <afd@ti.com>
drivers/ti/uart/aarch64/16550_console.S
include/drivers/ti/uart/uart_16550.h