[PATCH v9 7/9] i2c: at91: make it selectable for ARCH_MICROCHIP

Robert Marko posted 9 patches 1 month, 3 weeks ago
[PATCH v9 7/9] i2c: at91: make it selectable for ARCH_MICROCHIP
Posted by Robert Marko 1 month, 3 weeks ago
LAN969x uses the Atmel TWI I2C, so make it selectable for ARCH_MICROCHIP to
avoid needing to update depends in future if other Microchip SoC-s use it
as well.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
---
Changes in v8:
* Use ARCH_MICROCHIP for depends as its now selected by both ARM and ARM64
Microchip SoC-s

 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 070d014fdc5d..c0aea0920f61 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_MICROCHIP || COMPILE_TEST
 	help
 	  This supports the use of the I2C interface on Atmel AT91
 	  processors.
-- 
2.50.1
Re: [PATCH v9 7/9] i2c: at91: make it selectable for ARCH_MICROCHIP
Posted by Wolfram Sang 1 month, 3 weeks ago
On Wed, Aug 13, 2025 at 07:44:43PM +0200, Robert Marko wrote:
> LAN969x uses the Atmel TWI I2C, so make it selectable for ARCH_MICROCHIP to
> avoid needing to update depends in future if other Microchip SoC-s use it
> as well.
> 
> Signed-off-by: Robert Marko <robert.marko@sartura.hr>

Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>