diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2017-05-23 09:52:08 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-05-23 09:52:08 +0200 |
commit | fe421052b3936739c720d1f771b8a60bb2c5011f (patch) | |
tree | a7a4008ee5fa6f495839021b6c3626f6d34b055f /drivers/pinctrl/Kconfig | |
parent | bdb18d93a79f1c08163f37bef2a517972479e1ed (diff) | |
parent | 7f38c5b99779554d6c6e5043cfda848b967f2ca9 (diff) | |
download | talos-op-linux-fe421052b3936739c720d1f771b8a60bb2c5011f.tar.gz talos-op-linux-fe421052b3936739c720d1f771b8a60bb2c5011f.zip |
Merge branch 'mcp23s08' into devel
Diffstat (limited to 'drivers/pinctrl/Kconfig')
-rw-r--r-- | drivers/pinctrl/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index 7cacf89f8838..abc1cef7ad96 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -146,6 +146,19 @@ config PINCTRL_FALCON depends on SOC_FALCON depends on PINCTRL_LANTIQ +config PINCTRL_MCP23S08 + tristate "Microchip MCP23xxx I/O expander" + depends on SPI_MASTER || I2C + select GPIOLIB_IRQCHIP + select REGMAP_I2C if I2C + select REGMAP_SPI if SPI_MASTER + select GENERIC_PINCONF + help + SPI/I2C driver for Microchip MCP23S08/MCP23S17/MCP23008/MCP23017 + I/O expanders. + This provides a GPIO interface supporting inputs and outputs. + The I2C versions of the chips can be used as interrupt-controller. + config PINCTRL_MESON bool depends on OF |