mbox series

[0/2] Add UART support for i.MX 8M Mini EVKB

Message ID 20240402120557.1822253-1-olekstysh@gmail.com (mailing list archive)
Headers show
Series Add UART support for i.MX 8M Mini EVKB | expand

Message

Oleksandr Tyshchenko April 2, 2024, 12:05 p.m. UTC
From: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>

Hello all.

This small series contains early printk and full UART support
for i.MX 8M Mini EVKB [1].

Tested on i.MX 8M Mini only to which I had an access, but from my
understanding, this UART support should be suitable for other i.MX8M* SoCs
(those UART device tree nodes contain "fsl,imx6q-uart" compatible string).

[1] https://www.nxp.com/document/guide/getting-started-with-the-i-mx-8m-mini-evkb:GS-iMX-8M-Mini-EVK

Oleksandr Tyshchenko (2):
  xen/arm: Add i.MX UART early printk support
  xen/arm: Add i.MX UART driver

 MAINTAINERS                           |   1 +
 xen/arch/arm/Kconfig.debug            |  14 ++
 xen/arch/arm/arm64/debug-imx-uart.inc |  38 ++++
 xen/arch/arm/include/asm/imx-uart.h   |  76 +++++++
 xen/drivers/char/Kconfig              |   7 +
 xen/drivers/char/Makefile             |   1 +
 xen/drivers/char/imx-uart.c           | 299 ++++++++++++++++++++++++++
 7 files changed, 436 insertions(+)
 create mode 100644 xen/arch/arm/arm64/debug-imx-uart.inc
 create mode 100644 xen/arch/arm/include/asm/imx-uart.h
 create mode 100644 xen/drivers/char/imx-uart.c