]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add TCA6416 GPIO expander support.
authorMarcin Wojtas <mw@FreeBSD.org>
Mon, 25 May 2020 15:31:43 +0000 (15:31 +0000)
committerMarcin Wojtas <mw@FreeBSD.org>
Mon, 25 May 2020 15:31:43 +0000 (15:31 +0000)
commit7187ccccdc91a4fa8546e561645ed012d040b9a0
tree8424aadc2f918985d4b07eb0c7459e08cb14fbea
parent1e6005d8079666f3dad7978d734d341f64cec5fa
Add TCA6416 GPIO expander support.

Add basic TCA6416 GPIO expander support over I2C bus. The driver handles
enabling and disabling pins, setting pin mode to IN and OUT and
toggling the pins. External interrupts are not supported.

Submitted by: Dawid Gorecki <dgr@semihalf.com>
Reviewed by: manu, mmel
Obtained from: Semihalf
Sponsored by: Alstom Group
Differential Revision: https://reviews.freebsd.org/D24363
sys/conf/files
sys/dev/iicbus/gpio/tca6416.c [new file with mode: 0644]
sys/modules/i2c/Makefile
sys/modules/i2c/tca6416/Makefile [new file with mode: 0644]