git: c4b98101c5b1 - main - tca6416: add support for tca9539
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 Jul 2022 22:13:32 UTC
The branch main has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=c4b98101c5b1dc34d077f078d04d777df3cf9e38
commit c4b98101c5b1dc34d077f078d04d777df3cf9e38
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-03 22:11:30 +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.
MFC after: 2 weeks
Reviewed by: mw
Differential Revision: https://reviews.freebsd.org/D35702
---
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 1e03e341c96c..467e20bc167c 100644
--- a/sys/dev/iicbus/gpio/tca6416.c
+++ b/sys/dev/iicbus/gpio/tca6416.c
@@ -136,6 +136,7 @@ MODULE_VERSION(tca6416, 1);
static struct ofw_compat_data compat_data[] = {
{"ti,tca6416", 1},
+ {"ti,tca9539", 1},
{0,0}
};