[PATCH 0/3] xen/arm: add i.MX lpuart and i.MX8QM initial support

Peng Fan (OSS) posted 3 patches 2 years, 2 months ago
Test gitlab-ci passed
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20220228010711.11566-1-peng.fan@oss.nxp.com
There is a newer version of this series
xen/arch/arm/Kconfig.debug              |  21 ++
xen/arch/arm/arm64/debug-imx-lpuart.inc |  48 ++++
xen/arch/arm/platforms/Makefile         |   1 +
xen/arch/arm/platforms/imx8qm.c         |  44 ++++
xen/drivers/char/Kconfig                |   8 +
xen/drivers/char/Makefile               |   1 +
xen/drivers/char/imx-lpuart.c           | 303 ++++++++++++++++++++++++
xen/include/xen/imx-lpuart.h            |  64 +++++
8 files changed, 490 insertions(+)
create mode 100644 xen/arch/arm/arm64/debug-imx-lpuart.inc
create mode 100644 xen/arch/arm/platforms/imx8qm.c
create mode 100644 xen/drivers/char/imx-lpuart.c
create mode 100644 xen/include/xen/imx-lpuart.h
[PATCH 0/3] xen/arm: add i.MX lpuart and i.MX8QM initial support
Posted by Peng Fan (OSS) 2 years, 2 months ago
From: Peng Fan <peng.fan@nxp.com>

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 (3):
  xen/arm: Add i.MX lpuart driver
  xen/arm: Add i.MX lpuart early printk support
  xen/arm: Add i.MX8QM platform support

 xen/arch/arm/Kconfig.debug              |  21 ++
 xen/arch/arm/arm64/debug-imx-lpuart.inc |  48 ++++
 xen/arch/arm/platforms/Makefile         |   1 +
 xen/arch/arm/platforms/imx8qm.c         |  44 ++++
 xen/drivers/char/Kconfig                |   8 +
 xen/drivers/char/Makefile               |   1 +
 xen/drivers/char/imx-lpuart.c           | 303 ++++++++++++++++++++++++
 xen/include/xen/imx-lpuart.h            |  64 +++++
 8 files changed, 490 insertions(+)
 create mode 100644 xen/arch/arm/arm64/debug-imx-lpuart.inc
 create mode 100644 xen/arch/arm/platforms/imx8qm.c
 create mode 100644 xen/drivers/char/imx-lpuart.c
 create mode 100644 xen/include/xen/imx-lpuart.h

-- 
2.30.0
Re: [PATCH 0/3] xen/arm: add i.MX lpuart and i.MX8QM initial support
Posted by Jan Beulich 2 years, 2 months ago
On 28.02.2022 02:07, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
> 
> 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 (3):
>   xen/arm: Add i.MX lpuart driver
>   xen/arm: Add i.MX lpuart early printk support
>   xen/arm: Add i.MX8QM platform support
> 
>  xen/arch/arm/Kconfig.debug              |  21 ++
>  xen/arch/arm/arm64/debug-imx-lpuart.inc |  48 ++++
>  xen/arch/arm/platforms/Makefile         |   1 +
>  xen/arch/arm/platforms/imx8qm.c         |  44 ++++
>  xen/drivers/char/Kconfig                |   8 +
>  xen/drivers/char/Makefile               |   1 +
>  xen/drivers/char/imx-lpuart.c           | 303 ++++++++++++++++++++++++
>  xen/include/xen/imx-lpuart.h            |  64 +++++
>  8 files changed, 490 insertions(+)
>  create mode 100644 xen/arch/arm/arm64/debug-imx-lpuart.inc
>  create mode 100644 xen/arch/arm/platforms/imx8qm.c
>  create mode 100644 xen/drivers/char/imx-lpuart.c
>  create mode 100644 xen/include/xen/imx-lpuart.h

I guess the latter two additions want to be accompanied by an update to
./MAINTAINERS' ARM section.

Jan
RE: [PATCH 0/3] xen/arm: add i.MX lpuart and i.MX8QM initial support
Posted by Peng Fan 2 years, 2 months ago
> Subject: Re: [PATCH 0/3] xen/arm: add i.MX lpuart and i.MX8QM initial
> support
> 
> On 28.02.2022 02:07, Peng Fan (OSS) wrote:
> > From: Peng Fan <peng.fan@nxp.com>
> >
> > 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 (3):
> >   xen/arm: Add i.MX lpuart driver
> >   xen/arm: Add i.MX lpuart early printk support
> >   xen/arm: Add i.MX8QM platform support
> >
> >  xen/arch/arm/Kconfig.debug              |  21 ++
> >  xen/arch/arm/arm64/debug-imx-lpuart.inc |  48 ++++
> >  xen/arch/arm/platforms/Makefile         |   1 +
> >  xen/arch/arm/platforms/imx8qm.c         |  44 ++++
> >  xen/drivers/char/Kconfig                |   8 +
> >  xen/drivers/char/Makefile               |   1 +
> >  xen/drivers/char/imx-lpuart.c           | 303
> ++++++++++++++++++++++++
> >  xen/include/xen/imx-lpuart.h            |  64 +++++
> >  8 files changed, 490 insertions(+)
> >  create mode 100644 xen/arch/arm/arm64/debug-imx-lpuart.inc
> >  create mode 100644 xen/arch/arm/platforms/imx8qm.c  create mode
> > 100644 xen/drivers/char/imx-lpuart.c  create mode 100644
> > xen/include/xen/imx-lpuart.h
> 
> I guess the latter two additions want to be accompanied by an update
> to ./MAINTAINERS' ARM section.

I'll address this in v2. Let me wait more comments and address together.

Thanks,
Peng.

> 
> Jan