git: d8fffc3704a0 - main - imx_gpio: Add gpio compat string for imx8 SOCs

From: Tom Jones <thj_at_FreeBSD.org>
Date: Thu, 05 Sep 2024 13:55:16 UTC
The branch main has been updated by thj:

URL: https://cgit.FreeBSD.org/src/commit/?id=d8fffc3704a0d7f4ea5b866f689e58480ddebaa1

commit d8fffc3704a0d7f4ea5b866f689e58480ddebaa1
Author:     Tom Jones <thj@FreeBSD.org>
AuthorDate: 2024-09-04 15:32:56 +0000
Commit:     Tom Jones <thj@FreeBSD.org>
CommitDate: 2024-09-05 13:51:37 +0000

    imx_gpio: Add gpio compat string for imx8 SOCs
    
    Several imx8* device trees have a compatible gpio controller which
    identifies as working with the soc and imx35-gpio.
    
    Add a compat string for the commonly included 'imx35-gpio', rather than
    adding each to the table.
    
    From a grep of our dts mirror this includes the following arm64 SOCs:
    - imx8dxl
    - imx8mm
    - imx8mn
    - imx8mp
    - imx8mq
    - imx8qm
    - imx8qxp
    
    Reviewed by:    manu
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D46532
---
 sys/arm/freescale/imx/imx_gpio.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/arm/freescale/imx/imx_gpio.c b/sys/arm/freescale/imx/imx_gpio.c
index c5e92992a36b..7610d28af90e 100644
--- a/sys/arm/freescale/imx/imx_gpio.c
+++ b/sys/arm/freescale/imx/imx_gpio.c
@@ -134,6 +134,7 @@ static struct ofw_compat_data compat_data[] = {
 	{"fsl,imx6q-gpio",	1},
 	{"fsl,imx53-gpio",	1},
 	{"fsl,imx51-gpio",	1},
+	{"fsl,imx35-gpio",	1},
 	{NULL,			0}
 };