[PATCH 09/14] i2c: i2c-at91: allow selecting from ARCH_MICROCHIPSW

Robert Marko robert.marko at sartura.hr
Thu Mar 26 12:26:50 CET 2026


AT91 I2C driver is reused by a lot of Microchip platforms, in this case we
need it for LAN969x so allow selecting it when ARCH_MICROCHIPSW is used.

Signed-off-by: Robert Marko <robert.marko at sartura.hr>
---
 drivers/i2c/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig
index 55465dc1d46..d7d3b4d0484 100644
--- a/drivers/i2c/Kconfig
+++ b/drivers/i2c/Kconfig
@@ -163,7 +163,8 @@ config SYS_I2C_ADI
 
 config SYS_I2C_AT91
 	bool "Atmel I2C driver"
-	depends on DM_I2C && ARCH_AT91
+	depends on DM_I2C
+	depends on ARCH_AT91 || ARCH_MICROCHIPSW
 	help
 	  Add support for the Atmel I2C driver. A serious problem is that there
 	  is no documented way to issue repeated START conditions for more than
-- 
2.53.0



More information about the U-Boot mailing list