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

[PATCH V3 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: Thu, 7 Apr 2022 10:44:16 +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=tMtO8m5P0hklnRQ8pvPMxCuv6RmFAE2YYFGpQFQtUYs=; b=fKBCh8Fi5ZzQdwuLJ8s0n/fzlEaStCEKYCUl/s7lHkpe1OV7pLI9nNzA/YoKJCbiIwBZzFtZxuFPgWQc9YVGEAwTwIOxngyUQ0Rewc1LpZI8EJ7s1P3fGPeZj8MwugXU5SVxBQ7V8qTXiUWlOVCTAQTconf2IHCwKH8Lx3wlEheICC7RBralaR5SIcpO5dvwBztkdrK2kfyRhyqh7CtXQvfCYOkoLlsEGToVRB6WYTE4ukvJGmqtaJ2ttjZpyCiDb++zkK6VLAdpH8c50H56YHaoxj5LCOEhFPUVrka8MGog25AlYY96RGWJRVrqJ53240y+KH0LfpgMPUiaG47ddg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dcXLPsOLv94e2IW82L1h/Y7RYtcm9tq5eCu+hyxklA+StRobFfiVnIXrrYDjXbNtE9srGtM/2qQ5Kn1lh5iwoe37GTefdPUA6QrgeYbMD+OrdN63+uih8OhK9ZQqkuyY0hqLPpLD9X6POQsF+AJYyCaM8XXdjpP9vkOrLqcZDKtAlKJ0d57ilkWmF9an6UdAAurTIQ9jeO7VdOALUelLjZ72b9vJFGg4plCj/x0VfSK5AKClJ1aiTnniXXiC8ZnnDDCP+1OazSrv+UuMkof6U+x1L9sesk63Vd8+a8ErAWi012RLUnd+XWegnHbVaDsI0NdOrsc7AwxTlXzSsAfdXg==
  • 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: Thu, 07 Apr 2022 02:03:39 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

From: Peng Fan <peng.fan@xxxxxxx>

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 |  52 +++++
 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           | 276 ++++++++++++++++++++++++
 6 files changed, 414 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®.