From: Herve Codina Date: Mon, 11 May 2026 16:13:49 +0000 (+0200) Subject: i2c: at91: Add MCHP_LAN966X_PCI dependency X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=f105c7a1be20c0e656d3175f5a7b4a4405d4e169;p=thirdparty%2Flinux.git i2c: at91: Add MCHP_LAN966X_PCI dependency The AT91 I2C driver depends on ARCH_MICROCHIP. 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 Acked-by: Andi Shyti Signed-off-by: Wolfram Sang Signed-off-by: Andi Shyti --- diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 30cb64ed43109..3123ab75600b8 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig @@ -417,7 +417,7 @@ config I2C_ASPEED config I2C_AT91 tristate "Atmel AT91 I2C Two-Wire interface (TWI)" - depends on ARCH_MICROCHIP || COMPILE_TEST + depends on ARCH_MICROCHIP || MCHP_LAN966X_PCI || COMPILE_TEST help This supports the use of the I2C interface on Atmel AT91 processors.