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

[PATCH V4 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: Fri, 8 Apr 2022 22:09:30 +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=Wj4aoEwaCJpMNFh0cDJdxM3bLEEMVtTQDia5GLR+WRc=; b=FIBKKl0nqzHoi4+5ClCfQnz/7lGR9a9Xyoqbgn8IzLb3Y74AiLXZem3S5Pd85iVnsivRU5gQmMjNbSjm+U1DVuTY/YNEqG2Bioa/Y2p4o6JxX23aWiSDF7QpPM9HuanGUw1XMFaq0+PIK/Xv4CmRwDKgMoy4YHutSqzkZMFjzmXN9RAEGcW732xoYujmWHLgc3h9RMTwKieOyv2ae7LP6Ba0bNYqbp5WTWIBB9vkG7KDARxjFMiM2fB3DOyQF+aIOw3ZOgLKI0w7BGszuLvn7VE2+1h+y9nukNhmLCS1QCZFkV8pdpPAa40E0OBBHbGaqd5XXVyJpjT1QVWKBMUybg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ey3UXQUWn+D59xWuPlAthpB9zY+zMTYoDhXvDiY4q8tIIarN8aowGy5DqAz2EUjhovxYiUhRM+xKTga6YpudDuTBSdtCoYfU8K7Rj7IlOkzNQKQZjqmxlxU/zgdF87oCAcFwhvqlsU8zJKPDEvVEzBPxLlEkM2d74axGi4JQ02AMK+c0lbQhIUvbthfLPWx8HcCwuMMidJF0S003teAadWOdtxQ0yhl7b38Ay7RmCvdPFe8akqbw9dGN4nL+LOojLkayg42scDhOHOaSzs8hdQou1YQ0lCXJKuALcW1sw8hEXAlPBf8n7hqzk2MR5kHMso+M97BDLeAd+Px19NrcGA==
  • 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: Fri, 08 Apr 2022 13:28:44 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

From: Peng Fan <peng.fan@xxxxxxx>

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 |  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®.