From patchwork Thu Mar 28 16:34:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Ernberg X-Patchwork-Id: 13608980 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C74B9CD1283 for ; Thu, 28 Mar 2024 16:34:26 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.699122.1091713 (Exim 4.92) (envelope-from ) id 1rpshj-0005My-Ae; Thu, 28 Mar 2024 16:34:15 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 699122.1091713; Thu, 28 Mar 2024 16:34:15 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rpshj-0005Mp-7K; Thu, 28 Mar 2024 16:34:15 +0000 Received: by outflank-mailman (input) for mailman id 699122; Thu, 28 Mar 2024 16:34:13 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rpshh-0004sj-Df for xen-devel@lists.xenproject.org; Thu, 28 Mar 2024 16:34:13 +0000 Received: from mail.actia.se (mail.actia.se [212.181.117.226]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 01c374dd-ed21-11ee-a1ef-f123f15fe8a2; Thu, 28 Mar 2024 17:34:11 +0100 (CET) Received: from S036ANL.actianordic.se (10.12.31.117) by S036ANL.actianordic.se (10.12.31.117) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.37; Thu, 28 Mar 2024 17:34:08 +0100 Received: from S036ANL.actianordic.se ([fe80::e13e:1feb:4ea6:ec69]) by S036ANL.actianordic.se ([fe80::e13e:1feb:4ea6:ec69%4]) with mapi id 15.01.2507.037; Thu, 28 Mar 2024 17:34:08 +0100 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 01c374dd-ed21-11ee-a1ef-f123f15fe8a2 From: John Ernberg To: Julien Grall , Stefano Stabellini , Bertrand Marquis , "Michal Orzel" , Volodymyr Babchuk CC: Andrew Cooper , George Dunlap , Jan Beulich , "xen-devel@lists.xenproject.org" , Peng Fan , Jonas Blixt , John Ernberg , Julien Grall Subject: [PATCH v3 2/3] xen/drivers: imx-lpuart: Replace iMX8QM compatible with iMX8QXP Thread-Topic: [PATCH v3 2/3] xen/drivers: imx-lpuart: Replace iMX8QM compatible with iMX8QXP Thread-Index: AQHagS3BJCg2KK7t2Uy8sRQfsSm0XQ== Date: Thu, 28 Mar 2024 16:34:08 +0000 Message-ID: <20240328163351.64808-3-john.ernberg@actia.se> References: <20240328163351.64808-1-john.ernberg@actia.se> In-Reply-To: <20240328163351.64808-1-john.ernberg@actia.se> Accept-Language: en-US, sv-SE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.44.0 x-originating-ip: [10.12.12.11] x-esetresult: clean, is OK x-esetid: 37303A2958D729556C7D66 MIME-Version: 1.0 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 Acked-by: Julien Grall --- 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 522680a25c..9d0e0871f7 100644 --- a/xen/drivers/char/imx-lpuart.c +++ b/xen/drivers/char/imx-lpuart.c @@ -255,7 +255,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 */ }, };