[PATCH v3 20/28] i2c: busses: at91: Add MCHP_LAN966X_PCI dependency
Herve Codina
herve.codina at bootlin.com
Fri Jun 13 06:48:00 PDT 2025
The AT91 I2C driver depends on ARCH_AT91.
This I2C controller can be used by the LAN966x PCI device and so
it needs to be available when the LAN966x PCI device is enabled.
Signed-off-by: Herve Codina <herve.codina at bootlin.com>
Acked-by: Andi Shyti <andi.shyti at kernel.org>
---
drivers/i2c/busses/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index 48c5ab832009..99dc414e3100 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -414,7 +414,7 @@ config I2C_ASPEED
config I2C_AT91
tristate "Atmel AT91 I2C Two-Wire interface (TWI)"
- depends on ARCH_AT91 || COMPILE_TEST
+ depends on ARCH_AT91 || MCHP_LAN966X_PCI || COMPILE_TEST
help
This supports the use of the I2C interface on Atmel AT91
processors.
--
2.49.0
More information about the linux-arm-kernel
mailing list