[PATCH] spi: SPI_AXIADO should depend on ARCH_AXIADO
From: Geert Uytterhoeven
Date: Tue Jan 27 2026 - 14:09:45 EST
The Axiado DB-H SPI controller is only present on Axiado AX3000 SoCs.
Hence add a dependency on ARCH_AXIADO, to prevent asking the user about
this driver when configuring a kernel without Axiado SoC Family support.
Fixes: e75a6b00ad7962a7 ("spi: axiado: Add driver for Axiado SPI DB controller")
Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
---
drivers/spi/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 9e089df33a87868f..8995ea8d2c6b6c8c 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -216,6 +216,7 @@ config SPI_AXI_SPI_ENGINE
config SPI_AXIADO
tristate "Axiado DB-H SPI controller"
depends on SPI_MEM
+ depends on ARCH_AXIADO || COMPILE_TEST
help
Enable support for the SPI controller present on Axiado AX3000 SoCs.
--
2.43.0