[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH V5 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, 14 Apr 2022 15:44:50 +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=SeH0WJvPHx8xXkKGkPt9WDGrUtOayTZIRZa7m1vrAa0=; b=Q/CecqEcJboauitMNUwL+gBtNrEDYAPaPxEpjOrDOOydJ3nvQ9jGRseG8HyAdI+Ke0ab1VC6aZYRIB82oSWZNeU4XfYVcbbNRWWPGj3FAIhsGVlXPR0SbS2vSIOPl1OZ3t6oVrENlbobdhYu7PG1N1Cd8g4Rzp/VkcCOVnOimI1EjheCJWb5Ci4H8zkhe6eABC1ntzHCzcA18lkgChAtSOoZ1KlZRw7OYRCdvaENJiXqHAV7PwEPKzBndxTx/MWQea4MxU/9hccFJL40b2WpvHvQ5Qd6l20uxGQ9k2mQUutIM2TJ2VSHLoHkRkNnqFwOnFhe7/oBYyl79gl2gIYtwg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nDjml8HlNc2QmUS484OkRShGsDVbKlijdbGKi+gFE9WwvbuGA74WVh6swiqSfdQMgnnMNeBcw9Q9HEr/n0UABAt7wuwa8TiNmQQZkBCkXdgwpAcYCE3+5eMFcEeVJ54XjwM76EQ+PMICkVkjVT6ZpZGqCU0T1Vy76opPFXCZynvOGEmt0Rn4slEEOsuZmhBDkemu31skpIBhH8FClKIa4vJNIo+Hz6qXIGdkJ9KJ7p+fQ5+NV5p4DEOEDQL2UT33nlI/J6UAJ8ltA9cfkpspkBO+17Ej3X4PqfkcaULl5kRIK7SrmFy83264GgfJagE3deBAJiKNSgzkq3jaw9RkqA==
- 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, 14 Apr 2022 07:03:50 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
From: Peng Fan <peng.fan@xxxxxxx>
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 | 276 ++++++++++++++++++++++++
6 files changed, 410 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
|