Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/nxp Add i.mx6sx compatible entries to drivers t...



details:   https://anonhg.NetBSD.org/src/rev/969ab6cbf281
branches:  trunk
changeset: 374565:969ab6cbf281
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Thu May 04 13:29:33 2023 +0000

description:
Add i.mx6sx compatible entries to drivers that should work as is.

diffstat:

 sys/arch/arm/nxp/imx6_gpc.c    |  5 +++--
 sys/arch/arm/nxp/imx6_iomux.c  |  5 +++--
 sys/arch/arm/nxp/imx6_pcie.c   |  5 +++--
 sys/arch/arm/nxp/imx6_spi.c    |  5 +++--
 sys/arch/arm/nxp/imx6_usb.c    |  5 +++--
 sys/arch/arm/nxp/imx6_usbphy.c |  5 +++--
 sys/arch/arm/nxp/imx_sdhc.c    |  5 +++--
 7 files changed, 21 insertions(+), 14 deletions(-)

diffs (182 lines):

diff -r 228c9f30d392 -r 969ab6cbf281 sys/arch/arm/nxp/imx6_gpc.c
--- a/sys/arch/arm/nxp/imx6_gpc.c       Thu May 04 13:28:04 2023 +0000
+++ b/sys/arch/arm/nxp/imx6_gpc.c       Thu May 04 13:29:33 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: imx6_gpc.c,v 1.3 2021/01/27 03:10:20 thorpej Exp $     */
+/*     $NetBSD: imx6_gpc.c,v 1.4 2023/05/04 13:29:33 bouyer Exp $      */
 
 /*-
  * Copyright (c) 2019 Genetec Corporation.  All rights reserved.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: imx6_gpc.c,v 1.3 2021/01/27 03:10:20 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: imx6_gpc.c,v 1.4 2023/05/04 13:29:33 bouyer Exp $");
 
 #include "opt_fdt.h"
 
@@ -66,6 +66,7 @@ CFATTACH_DECL_NEW(imxgpc, sizeof(struct 
 
 static const struct device_compatible_entry compat_data[] = {
        { .compat = "fsl,imx6q-gpc" },
+       { .compat = "fsl,imx6sx-gpc" },
        DEVICE_COMPAT_EOL
 };
 
diff -r 228c9f30d392 -r 969ab6cbf281 sys/arch/arm/nxp/imx6_iomux.c
--- a/sys/arch/arm/nxp/imx6_iomux.c     Thu May 04 13:28:04 2023 +0000
+++ b/sys/arch/arm/nxp/imx6_iomux.c     Thu May 04 13:29:33 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: imx6_iomux.c,v 1.2 2021/01/27 03:10:20 thorpej Exp $   */
+/*     $NetBSD: imx6_iomux.c,v 1.3 2023/05/04 13:29:33 bouyer Exp $    */
 
 /*-
  * Copyright (c) 2019 Genetec Corporation.  All rights reserved.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: imx6_iomux.c,v 1.2 2021/01/27 03:10:20 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: imx6_iomux.c,v 1.3 2023/05/04 13:29:33 bouyer Exp $");
 
 #include "opt_fdt.h"
 
@@ -131,6 +131,7 @@ CFATTACH_DECL_NEW(imxiomux, sizeof(struc
 
 static const struct device_compatible_entry compat_data[] = {
        { .compat = "fsl,imx6q-iomuxc" },
+       { .compat = "fsl,imx6sx-iomuxc" },
        { .compat = "fsl,imx7d-iomuxc" },
        { .compat = "fsl,imx8mq-iomuxc" },
        DEVICE_COMPAT_EOL
diff -r 228c9f30d392 -r 969ab6cbf281 sys/arch/arm/nxp/imx6_pcie.c
--- a/sys/arch/arm/nxp/imx6_pcie.c      Thu May 04 13:28:04 2023 +0000
+++ b/sys/arch/arm/nxp/imx6_pcie.c      Thu May 04 13:29:33 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: imx6_pcie.c,v 1.6 2021/01/27 03:10:20 thorpej Exp $    */
+/*     $NetBSD: imx6_pcie.c,v 1.7 2023/05/04 13:29:33 bouyer Exp $     */
 
 /*-
  * Copyright (c) 2019 Genetec Corporation.  All rights reserved.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: imx6_pcie.c,v 1.6 2021/01/27 03:10:20 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: imx6_pcie.c,v 1.7 2023/05/04 13:29:33 bouyer Exp $");
 
 #include "opt_pci.h"
 #include "opt_fdt.h"
@@ -92,6 +92,7 @@ CFATTACH_DECL_NEW(imxpcie_fdt, sizeof(st
 static const struct device_compatible_entry compat_data[] = {
        { .compat = "fsl,imx6q-pcie",   .value = false },
        { .compat = "fsl,imx6qp-pcie",  .value = true },
+       { .compat = "fsl,imx6sx-pcie",  .value = true },
        DEVICE_COMPAT_EOL
 };
 
diff -r 228c9f30d392 -r 969ab6cbf281 sys/arch/arm/nxp/imx6_spi.c
--- a/sys/arch/arm/nxp/imx6_spi.c       Thu May 04 13:28:04 2023 +0000
+++ b/sys/arch/arm/nxp/imx6_spi.c       Thu May 04 13:29:33 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: imx6_spi.c,v 1.7 2021/01/27 03:10:20 thorpej Exp $     */
+/*     $NetBSD: imx6_spi.c,v 1.8 2023/05/04 13:29:33 bouyer Exp $      */
 
 /*-
  * Copyright (c) 2019 Genetec Corporation.  All rights reserved.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: imx6_spi.c,v 1.7 2021/01/27 03:10:20 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: imx6_spi.c,v 1.8 2023/05/04 13:29:33 bouyer Exp $");
 
 #include "opt_imxspi.h"
 
@@ -62,6 +62,7 @@ static const struct imx_spi_config imx6q
 
 static const struct device_compatible_entry compat_data[] = {
        { .compat = "fsl,imx6q-ecspi",  .data = &imx6q_spi_config },
+       { .compat = "fsl,imx6sx-ecspi", .data = &imx6q_spi_config },
        DEVICE_COMPAT_EOL
 };
 
diff -r 228c9f30d392 -r 969ab6cbf281 sys/arch/arm/nxp/imx6_usb.c
--- a/sys/arch/arm/nxp/imx6_usb.c       Thu May 04 13:28:04 2023 +0000
+++ b/sys/arch/arm/nxp/imx6_usb.c       Thu May 04 13:29:33 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: imx6_usb.c,v 1.6 2021/08/07 16:18:45 thorpej Exp $     */
+/*     $NetBSD: imx6_usb.c,v 1.7 2023/05/04 13:29:33 bouyer Exp $      */
 
 /*-
  * Copyright (c) 2019 Genetec Corporation.  All rights reserved.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: imx6_usb.c,v 1.6 2021/08/07 16:18:45 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: imx6_usb.c,v 1.7 2023/05/04 13:29:33 bouyer Exp $");
 
 #include "opt_fdt.h"
 
@@ -75,6 +75,7 @@ CFATTACH_DECL_NEW(imxusbc_fdt, sizeof(st
 
 static const struct device_compatible_entry compat_data[] = {
        { .compat = "fsl,imx6q-usb" },
+       { .compat = "fsl,imx6sx-usb" },
        { .compat = "fsl,imx7d-usb" },
        DEVICE_COMPAT_EOL
 };
diff -r 228c9f30d392 -r 969ab6cbf281 sys/arch/arm/nxp/imx6_usbphy.c
--- a/sys/arch/arm/nxp/imx6_usbphy.c    Thu May 04 13:28:04 2023 +0000
+++ b/sys/arch/arm/nxp/imx6_usbphy.c    Thu May 04 13:29:33 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: imx6_usbphy.c,v 1.2 2021/01/27 03:10:20 thorpej Exp $  */
+/*     $NetBSD: imx6_usbphy.c,v 1.3 2023/05/04 13:29:33 bouyer Exp $   */
 
 /*-
  * Copyright (c) 2019 Genetec Corporation.  All rights reserved.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: imx6_usbphy.c,v 1.2 2021/01/27 03:10:20 thorpej Exp $");
+__KERNEL_RCSID(1, "$NetBSD: imx6_usbphy.c,v 1.3 2023/05/04 13:29:33 bouyer Exp $");
 
 #include "opt_fdt.h"
 
@@ -63,6 +63,7 @@ CFATTACH_DECL_NEW(imxusbphy, sizeof(stru
 
 static const struct device_compatible_entry compat_data[] = {
        { .compat = "fsl,imx6q-usbphy" },
+       { .compat = "fsl,imx6sx-usbphy" },
        DEVICE_COMPAT_EOL
 };
 
diff -r 228c9f30d392 -r 969ab6cbf281 sys/arch/arm/nxp/imx_sdhc.c
--- a/sys/arch/arm/nxp/imx_sdhc.c       Thu May 04 13:28:04 2023 +0000
+++ b/sys/arch/arm/nxp/imx_sdhc.c       Thu May 04 13:29:33 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: imx_sdhc.c,v 1.7 2022/02/06 15:52:20 jmcneill Exp $    */
+/*     $NetBSD: imx_sdhc.c,v 1.8 2023/05/04 13:29:33 bouyer Exp $      */
 
 /*-
  * Copyright (c) 2019 Genetec Corporation.  All rights reserved.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: imx_sdhc.c,v 1.7 2022/02/06 15:52:20 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: imx_sdhc.c,v 1.8 2023/05/04 13:29:33 bouyer Exp $");
 
 #include "opt_fdt.h"
 
@@ -86,6 +86,7 @@ static const struct imx6_sdhc_config imx
 
 static const struct device_compatible_entry compat_data[] = {
        { .compat = "fsl,imx6q-usdhc",  .data = &imx6q_config },
+       { .compat = "fsl,imx6sx-usdhc", .data = &imx6q_config },
        { .compat = "fsl,imx7d-usdhc",  .data = &imx7d_config },
        DEVICE_COMPAT_EOL
 };



Home | Main Index | Thread Index | Old Index