[PATCH] gpio: Correct dependencies for MCP230xx

Charles Perry charles.perry at microchip.com
Tue May 5 15:34:27 CEST 2026


This driver depends on DM_I2C and DM_SPI, add it.

Signed-off-by: Charles Perry <charles.perry at microchip.com>
---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 37cb672697c0..3ced3fb32f24 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -309,7 +309,7 @@ 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.
 	  The following chips are supported:
-- 
2.47.3



More information about the U-Boot mailing list