]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
spi: atmel: make it selectable for ARCH_MICROCHIP
authorRobert Marko <robert.marko@sartura.hr>
Wed, 13 Aug 2025 17:44:42 +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 SPI, 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: Mark Brown <broonie@kernel.org>
Acked-by: Daniel Machon <daniel.machon@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
drivers/spi/Kconfig

index 891729c9c5642a08212a0080db619512c5b57bbd..320b23e92cbd02909958913a1ee501e9b9ea0d45 100644 (file)
@@ -154,7 +154,7 @@ config SPI_ASPEED_SMC
 
 config SPI_ATMEL
        tristate "Atmel SPI Controller"
-       depends on ARCH_AT91 || COMPILE_TEST
+       depends on ARCH_MICROCHIP || COMPILE_TEST
        depends on OF
        help
          This selects a driver for the Atmel SPI Controller, present on