On Sat, Dec 7, 2019 at 12:54 PM Simon Glass <s...@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 <s...@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...@gmail.com>