diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 2d7739222cdb..28e621900a14 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -1213,6 +1213,8 @@ config GPIO_MCP23S08 tristate "Microchip MCP23xxx I/O expander" depends on OF_GPIO select GPIOLIB_IRQCHIP + select REGMAP_I2C if I2C + select REGMAP if SPI_MASTER help SPI/I2C driver for Microchip MCP23S08/MCP23S17/MCP23008/MCP23017 I/O expanders.