git: 74c7b2d74adf - stable/13 - tca6416: add support for tca9539

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Mon, 18 Jul 2022 09:50:06 UTC
The branch stable/13 has been updated by bz:

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

commit 74c7b2d74adfaa8f95bc502a42daa56aebf91f2b
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2022-07-03 00:51:13 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2022-07-18 00:44:05 +0000

    tca6416: add support for tca9539
    
    Programming-wise tca6416 and tca9539 seem identical so all we have to
    do is add the extra ofw_compat_data line.
    
    Reviewed by:    mw
    Sponsored by:   Traverse Technologies (providing Ten64 HW for testing)
    Differential Revision: https://reviews.freebsd.org/D35702
    
    (cherry picked from commit c4b98101c5b1dc34d077f078d04d777df3cf9e38)
---
 sys/dev/iicbus/gpio/tca6416.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/dev/iicbus/gpio/tca6416.c b/sys/dev/iicbus/gpio/tca6416.c
index 9429a62d6954..cc76bd8971eb 100644
--- a/sys/dev/iicbus/gpio/tca6416.c
+++ b/sys/dev/iicbus/gpio/tca6416.c
@@ -138,6 +138,7 @@ MODULE_VERSION(tca6416, 1);
 
 static struct ofw_compat_data compat_data[] = {
 	{"ti,tca6416",	1},
+	{"ti,tca9539",	1},
 	{0,0}
 };