[U-Boot] [PATCH v5 14/18] serial: MediaTek: add high-speed uart driver for MediaTek SoCs

Simon Glass sjg at chromium.org
Thu Nov 15 19:21:04 UTC 2018


On 14 November 2018 at 18:08, Ryder Lee <ryder.lee at mediatek.com> wrote:
>
> 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 at mediatek.com>
> Tested-by: Ryder Lee <ryder.lee at mediatek.com>
> ---
> Changes since v5: Add a specific driver for MTK UART
> Changes since v4: None
> ---
>  drivers/serial/Kconfig      |  20 ++++
>  drivers/serial/Makefile     |   1 +
>  drivers/serial/serial_mtk.c | 268 ++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 289 insertions(+)
>  create mode 100644 drivers/serial/serial_mtk.c

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list