]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
i2c: at91: make it selectable for ARCH_MICROCHIP
authorRobert Marko <robert.marko@sartura.hr>
Wed, 13 Aug 2025 17:44:43 +0000 (19:44 +0200)
committerNicolas Ferre <nicolas.ferre@microchip.com>
Tue, 9 Sep 2025 08:34:22 +0000 (10:34 +0200)
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>
Acked-by: Daniel Machon <daniel.machon@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
drivers/i2c/busses/Kconfig

index 070d014fdc5d5db42147cba9eeb93ebb7dad8538..c0aea0920f61ded43efa298323dd03d4aabbf0db 100644 (file)
@@ -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.