From: Charles Perry Date: Thu, 7 May 2026 18:51:22 +0000 (-0700) Subject: gpio: Correct dependencies for MCP230xx X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=88338f9d147397c42bb996937b1ce31bca096626;p=thirdparty%2Fu-boot.git gpio: Correct dependencies for MCP230xx This driver depends on DM_I2C and DM_SPI, add it. Fixes: 3b639f643889 ("gpio: mcp230xx: Add support for models with SPI interface.") Signed-off-by: Charles Perry Reviewed-by: Quentin Schulz --- diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 0b5466b39b8..5084af23269 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -309,9 +309,9 @@ config MAX77663_GPIO config MCP230XX_GPIO bool "MCP230XX GPIO driver" - depends on DM + depends on DM && DM_I2C && DM_SPI help - Support for Microchip's MCP230XX I2C connected GPIO devices. + Support for Microchip's MCP230XX I2C and SPI connected GPIO devices. The following chips are supported: - MCP23008 - MCP23017