[PATCH v6 085/102] x86: apl: Add UART driver

Bin Meng bmeng.cn at gmail.com
Sun Dec 8 09:07:30 CET 2019


On Sat, Dec 7, 2019 at 12:54 PM Simon Glass <sjg at chromium.org> wrote:
>
> Add a driver for the Apollo Lake UART. It uses the standard ns16550 device
> but also sets up the input clock with LPSS and supports configuration via
> of-platdata.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v6:
> - Drop code to handle !CONFIG_OF_TRANSLATE case
> - Update comment to reference board_debug_uart_init() (its in a later patch)
>
> Changes in v5: None
> Changes in v4:
> - Add an extra comment to apl_uart_init()
> - Tidy up header guards
> - apollolake -> Apollo Lake
>
> Changes in v3:
> - Use the LPSS code from a separate file
>
> Changes in v2: None
>
>  arch/x86/cpu/apollolake/Makefile            |   1 +
>  arch/x86/cpu/apollolake/uart.c              | 133 ++++++++++++++++++++
>  arch/x86/include/asm/arch-apollolake/uart.h |  20 +++
>  3 files changed, 154 insertions(+)
>  create mode 100644 arch/x86/cpu/apollolake/uart.c
>  create mode 100644 arch/x86/include/asm/arch-apollolake/uart.h
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list