mbox series

[V6,0/2] xen/arm: add i.MX lpuart and i.MX8QM initial support

Message ID 20220419043927.23542-1-peng.fan@oss.nxp.com (mailing list archive)
Headers show
Series xen/arm: add i.MX lpuart and i.MX8QM initial support | expand

Message

Peng Fan (OSS) April 19, 2022, 4:39 a.m. UTC
From: Peng Fan <peng.fan@nxp.com>

V6:
 Fix a stale variable check per Stefano's comments.

V5:
 Align code
 drop early_uart_init

V4:
 Wrong v3 version, some BIT definition are mixed in patch 1,2. 

V3:
 Addressed Michal's comments.
 Add Henry's T-b

V2:
 Per Julien's comments, fix coding style issue, drop unneeded code

Add i.MX lpuart driver and i.MX8QM platform support.
 - lpuart is the uart IP used in i.MX8QM/QXP/93.
 - Very basic i.MX8QM platform support.

Peng Fan (2):
  xen/arm: Add i.MX lpuart driver
  xen/arm: Add i.MX lpuart early printk support

 xen/arch/arm/Kconfig.debug              |  14 ++
 xen/arch/arm/arm64/debug-imx-lpuart.inc |  48 +++++
 xen/arch/arm/include/asm/imx-lpuart.h   |  64 ++++++
 xen/drivers/char/Kconfig                |   7 +
 xen/drivers/char/Makefile               |   1 +
 xen/drivers/char/imx-lpuart.c           | 275 ++++++++++++++++++++++++
 6 files changed, 409 insertions(+)
 create mode 100644 xen/arch/arm/arm64/debug-imx-lpuart.inc
 create mode 100644 xen/arch/arm/include/asm/imx-lpuart.h
 create mode 100644 xen/drivers/char/imx-lpuart.c

Comments

Stefano Stabellini April 20, 2022, 12:40 a.m. UTC | #1
I committed both patches, thanks!

On Tue, 19 Apr 2022, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
> 
> V6:
>  Fix a stale variable check per Stefano's comments.
> 
> V5:
>  Align code
>  drop early_uart_init
> 
> V4:
>  Wrong v3 version, some BIT definition are mixed in patch 1,2. 
> 
> V3:
>  Addressed Michal's comments.
>  Add Henry's T-b
> 
> V2:
>  Per Julien's comments, fix coding style issue, drop unneeded code
> 
> Add i.MX lpuart driver and i.MX8QM platform support.
>  - lpuart is the uart IP used in i.MX8QM/QXP/93.
>  - Very basic i.MX8QM platform support.
> 
> Peng Fan (2):
>   xen/arm: Add i.MX lpuart driver
>   xen/arm: Add i.MX lpuart early printk support
> 
>  xen/arch/arm/Kconfig.debug              |  14 ++
>  xen/arch/arm/arm64/debug-imx-lpuart.inc |  48 +++++
>  xen/arch/arm/include/asm/imx-lpuart.h   |  64 ++++++
>  xen/drivers/char/Kconfig                |   7 +
>  xen/drivers/char/Makefile               |   1 +
>  xen/drivers/char/imx-lpuart.c           | 275 ++++++++++++++++++++++++
>  6 files changed, 409 insertions(+)
>  create mode 100644 xen/arch/arm/arm64/debug-imx-lpuart.inc
>  create mode 100644 xen/arch/arm/include/asm/imx-lpuart.h
>  create mode 100644 xen/drivers/char/imx-lpuart.c
> 
> -- 
> 2.35.1
>