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

[xen master] xen/drivers: imx-lpuart: Replace iMX8QM compatible with iMX8QXP



commit 2f85a6d9f5bda5368ea75d81bef63b06598093a9
Author:     John Ernberg <john.ernberg@xxxxxxxx>
AuthorDate: Mon Apr 8 16:11:35 2024 +0000
Commit:     Stefano Stabellini <stefano.stabellini@xxxxxxx>
CommitDate: Tue Apr 9 14:27:52 2024 -0700

    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>
    Reviewed-by: Peng Fan <peng.fan@xxxxxxx>
---
 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 */ },
 };
 
--
generated by git-patchbot for /home/xen/git/xen.git#master



 


Rackspace

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