serial: 16550: Add Ingenic JZ4780 support
authorMarek Vasut <marex@denx.de>
Thu, 1 Dec 2016 01:06:31 +0000 (02:06 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 19 Dec 2016 17:26:37 +0000 (12:26 -0500)
commit0b060eefd951fc111ecb77c7b1932b158e6a4f2c
treee021c5358869fb75c9f6c863e401fc276fdbb6bb
parent79fd9281880974f076c5b4b354b57faa6e0cc146
serial: 16550: Add Ingenic JZ4780 support

Add compatibility string for the Ingenic JZ4780 SoC, the necessary
UART enable bit into FCR and register shift. Neither are encoded
in the DTS coming from Linux, so we need to support it this way.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Tom Rini <trini@konsulko.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Cc: Paul Burton <paul.burton@imgtec.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/serial/ns16550.c
include/ns16550.h