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

RE: [PATCH v4 2/3] xen/drivers: imx-lpuart: Replace iMX8QM compatible with iMX8QXP


  • To: John Ernberg <john.ernberg@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
  • From: Peng Fan <peng.fan@xxxxxxx>
  • Date: Mon, 8 Apr 2024 23:38:27 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=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=gaY7V/sBDnPDLN5/NgSC9ZPe7xS95w4QXBn7FxcCV3g=; b=OPxLyA8ob8QiYGjoH9M0lyZO4AlzvKKAW6fbRQE3S8Y33T0tsGdaT6MDFPEAEkhTm8W7D5CFuonAK6uaxdfHhAGsi+I77ShcseS8aqAx6MDifpcEVWiXLqNwwy3ZNkM6tzbMhSSOeTaRstgeO5JOKgPisqXJLZnZwVEW3OFEl7ALqtKr3zYcs1P4WChbwWhvOOJNvbYU7edCCiGv2YfOlOW1qVsm4XxR3rk+B2dWYzMQaaHu13vnFa9utMXzoRA2xd2bcWIT36+Vudwwz12IRzbwsCTFZH+z/r2BA42mAnE1DkwS6W0VgeuDPE5SKtnA3HpyKPnYRmiVE07wmPSBuQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hO8qy7GA593B148Rj7+Z4svQxsbczff1T6uy+mYK/PzivKs6PRe9CoNqivEYtRz0xXwQBQ3cG7aQLZV4YgS5/Og7ubba63DTxgoed8+EC0h+bLNYC2+RrkapnzlxgIL1Phw7TJbheBCX+VPBJYn3ifE0YOzrZguBffRTs84w/UatYqzScNS/tk18ToG+5skWzszW1WSFg9Tq4EnIHRb6djwXSZ+ZBZ35kOyFeOd0mJ3/j0TVGBXcAw94ha2f9G+Qfrc5nc7lnFe+Iv22M7SLE2CiqsCEvPjT/4iMB9H/DL/H9GNMtihRfK1l94MDTeHBglnduO7G8kXHSv+QcHjSMg==
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Jonas Blixt <jonas.blixt@xxxxxxxx>, Julien Grall <jgrall@xxxxxxxxxx>
  • Delivery-date: Mon, 08 Apr 2024 23:38:48 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHaic9t9NatChHdRkuf/zCq/htzErFfB/9A
  • Thread-topic: [PATCH v4 2/3] xen/drivers: imx-lpuart: Replace iMX8QM compatible with iMX8QXP

> Subject: [PATCH v4 2/3] xen/drivers: imx-lpuart: Replace iMX8QM compatible
> with iMX8QXP
> 
> Allow the uart to probe also with iMX8QXP. The ip-block is the same as in the
> QM.
> 
> Since the fsl,imx8qm-lpuart compatible in Linux exists in name only and is not
> used in the driver any iMX8QM device tree that can boot Linux must set
> fsl,imx8qxp-lpuart compatible as well as the QM one.
> 
> Thus we replace the compatible rather than adding just another one.
> 
> Signed-off-by: John Ernberg <john.ernberg@xxxxxxxx>
> Acked-by: Julien Grall <jgrall@xxxxxxxxxx>
> 
> ---
> 
> v4:
>  - no changes
> 
> v3:
>  - no changes
> 
> v2:
>  - Replace the compatible rather than adding to the list (Julien Grall)
>  - Reword commit message to reflect the above.
>  - Collect Julien's ack
> ---
>  xen/drivers/char/imx-lpuart.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/xen/drivers/char/imx-lpuart.c b/xen/drivers/char/imx-lpuart.c
> index 7770d158bf..cf034d7ed0 100644
> --- a/xen/drivers/char/imx-lpuart.c
> +++ b/xen/drivers/char/imx-lpuart.c
> @@ -236,7 +236,7 @@ static int __init imx_lpuart_init(struct
> dt_device_node *dev,
> 
>  static const struct dt_device_match imx_lpuart_dt_compat[] __initconst =  {
> -    DT_MATCH_COMPATIBLE("fsl,imx8qm-lpuart"),
> +    DT_MATCH_COMPATIBLE("fsl,imx8qxp-lpuart"),
>      { /* sentinel */ },

Reviewed-by: Peng Fan <peng.fan@xxxxxxx>
>  };
> 
> --
> 2.44.0



 


Rackspace

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