[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: sstabellini@xxxxxxxxxx, julien@xxxxxxx, Volodymyr_Babchuk@xxxxxxxx, bertrand.marquis@xxxxxxx
  • From: "Peng Fan (OSS)" <peng.fan@xxxxxxxxxxx>
  • Date: Tue, 19 Apr 2022 12:39:25 +0800
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=NW+IeDtv+aHj2fsuq/n5j2nV/+ehu+PafuZidkG7D6s=; b=P8fdRKT2SP0BW9Y1KK4TaIN//+QyOi4XEje12NY84k6FJ5MP5U/WF1dMcXVpDTYzfjzddCvNafp0RK/TA34oExbvIGHJ1VFuYLleXATe0rAbulC1Mx7OO1TdgM3vuan+F7AsbsvLbi3tPimyqoZuvQW11rd0SqD5FWDlrmYk75bupeeRG32gUo9L5gXLcoXAdyUmqLrd2w0B1bVxtqgfUy1foi94QgAD7KZNHpPhY+9QzegvzghdyoEVF0/zTB9kYtxhw1W5oPYJhsQJ+HqavUhSv0lIQRvFYePP1KO364BXKY6JJAZ8Kv1Y4wRdPSw0RXXSuwQhwHdXTMQlgIBKwA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ms5MPjiKHs/bSApzkHqv1Ogk0aPJb2izRpxIikKp5v4RkBfwANCf4jO03cLaUXDaoI+m/92DUrhHqrUC03/TphhJcbVLFFssDiNGmsNISMSgrzYz7XPgki+aZT2M1egjImXfznuVroJF6RojdbN4BhZN09d7z5hgky6yCB0ffTJ4+cMBeAVer/F/X8JESiZ4nE7rajCPTdDMGVCo2MSFAqD3MfLoc+Ji0ptPNkJwWV0qRQTMVZBR1A59wzI5EfHUkE8CT77tJ+jYl2sEy/rO3nflYxJ4Sl4cRwAIoWKgS2DvF2+b34n2MTDAOIxJ8Ug5sp6SnFc8+Qt9bzp1NK/c0A==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com;
  • Cc: andrew.cooper3@xxxxxxxxxx, george.dunlap@xxxxxxxxxx, jbeulich@xxxxxxxx, wl@xxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx, van.freenix@xxxxxxxxx, michal.orzel@xxxxxxx, Peng Fan <peng.fan@xxxxxxx>
  • Delivery-date: Tue, 19 Apr 2022 03:58:27 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

From: Peng Fan <peng.fan@xxxxxxx>

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




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.