[PATCH] gpio: spear-spics: Add COMPILE_TEST support

Rosen Penev posted 1 patch 1 month ago
drivers/gpio/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] gpio: spear-spics: Add COMPILE_TEST support
Posted by Rosen Penev 1 month ago
The SPEAr SPI chip-select GPIO driver only depends on generic platform,
OF, and MMIO interfaces, so it can be built outside SPEAr platform
configurations.

Enable compile-test coverage to catch build regressions on other
architectures.

Assisted-by: Codex:GPT-5.5
Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 51f510fa8cc7..7dc25a4ed761 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -699,7 +699,7 @@ config GPIO_SPACEMIT_K1
 
 config GPIO_SPEAR_SPICS
 	bool "ST SPEAr13xx SPI Chip Select as GPIO support"
-	depends on PLAT_SPEAR
+	depends on PLAT_SPEAR || COMPILE_TEST
 	select GENERIC_IRQ_CHIP
 	help
 	  Say yes here to support ST SPEAr SPI Chip Select as GPIO device.
-- 
2.54.0
Re: [PATCH] gpio: spear-spics: Add COMPILE_TEST support
Posted by Bartosz Golaszewski 1 month ago
On Sun, 10 May 2026 12:55:31 -0700, Rosen Penev wrote:
> The SPEAr SPI chip-select GPIO driver only depends on generic platform,
> OF, and MMIO interfaces, so it can be built outside SPEAr platform
> configurations.
> 
> Enable compile-test coverage to catch build regressions on other
> architectures.
> 
> [...]

Applied, thanks!

[1/1] gpio: spear-spics: Add COMPILE_TEST support
      https://git.kernel.org/brgl/c/63677aa485245cfc0e107f9d625d4f846223415a

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>