]> git.dujemihanovic.xyz Git - u-boot.git/commit
serial: MediaTek: add high-speed uart driver for MediaTek SoCs
authorRyder Lee <ryder.lee@mediatek.com>
Thu, 15 Nov 2018 02:08:02 +0000 (10:08 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 29 Nov 2018 04:04:53 +0000 (23:04 -0500)
commit849b11605ae6afe4b0d146b64f4eaaa9af0a5071
tree7b9cbf79531fffbd81f77fa75509fc791bb9175d
parent9dec738a8b843bcdcf22ed3e11c59255e9f79d2b
serial: MediaTek: add high-speed uart driver for MediaTek SoCs

Many SoCs from MediaTek have a high-speed uart. This UART is compatible
with the ns16550 in legacy mode. It has extra registers for high-speed
mode which can reach a maximum baudrate at 921600.

However this UART will no longer be compatible if it's in high-speed mode.
Some BootROM of MediaTek's SoCs will change the UART into high-speed mode
and the U-Boot must use this driver to initialize the UART.

Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
Tested-by: Ryder Lee <ryder.lee@mediatek.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/serial/Kconfig
drivers/serial/Makefile
drivers/serial/serial_mtk.c [new file with mode: 0644]