summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorCharles Perry <[email protected]>2026-05-07 11:51:22 -0700
committerTom Rini <[email protected]>2026-05-14 15:54:17 -0600
commit88338f9d147397c42bb996937b1ce31bca096626 (patch)
treef5a26a3558f87a79880c7a716c10dfb6e926728c /drivers
parent55e767426ef6dc59d40eacc89dae6cdee2c582ee (diff)
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 <[email protected]> Reviewed-by: Quentin Schulz <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpio/Kconfig4
1 files changed, 2 insertions, 2 deletions
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