mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
gpio: Correct dependencies for MCP230xx
This driver depends on DM_I2C and DM_SPI, add it.
Fixes: 3b639f6438 ("gpio: mcp230xx: Add support for models with SPI interface.")
Signed-off-by: Charles Perry <charles.perry@microchip.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user