summaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2021-06-02 13:40:45 +0300
committerMichal Simek <michal.simek@xilinx.com>2021-06-23 10:48:35 +0300
commitca8bb0ccb752e38c49fc37e83af4857b04487ebb (patch)
tree64af08d3bf03e9e7eb73d6aa2a67d92ec7f7cc79 /drivers/gpio
parent1ce892cb1ce970d8ee6ffcecc22351c84e67fca4 (diff)
downloadu-boot-ca8bb0ccb752e38c49fc37e83af4857b04487ebb.tar.xz
gpio: pca953x: Add missing i2c dependency
pca953x also depends on i2c that's why add dependency to Kconfig. Where GPIO is enabled but I2C compilation error pops up. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index d24884739b..de4dc51d4b 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -396,7 +396,7 @@ config DM_74X164
config DM_PCA953X
bool "PCA95[357]x, PCA9698, TCA64xx, and MAX7310 I/O ports"
- depends on DM_GPIO
+ depends on DM_GPIO && DM_I2C
help
Say yes here to provide access to several register-oriented
SMBus I/O expanders, made mostly by NXP or TI. Compatible