ioexpander: add support for ISO1H812G expander

This commit adds support for galvanic isolated ISO1H812G SPI expander.
Both single pin and multiple pin writes are supported.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
This commit is contained in:
Michal Lenc
2023-08-22 13:12:19 +02:00
committed by Xiang Xiao
parent 94e6cfb662
commit fa63ef69c9
5 changed files with 622 additions and 0 deletions
+17
View File
@@ -56,6 +56,23 @@ config IOEXPANDER_DUMMY_INT_POLLDELAY
endif # IOEXPANDER_DUMMY
config IOEXPANDER_ISO1H812G
bool "ISO1H812G SPI IO expander"
default n
depends on SPI
---help---
Enable support for the ISO1H812G SPI IO expander.
if IOEXPANDER_ISO1H812G
config ISO1H812G_MULTIPLE
bool "Multiple ISO1H812G Devices"
default n
---help---
Can be defined to support multiple ISO1H812G devices on board.
endif # IOEXPANDER_ISO1H812G
config IOEXPANDER_MCP23X17
bool "MCP23017/MCP23S17 I2C/SPI IO expander"
default n