Skip to contentSkip to conversation

gpio: spear-spics: Add COMPILE_TEST support

PATCH Applied Rosen Penev 2 participants 2 messages May 10 – May 11 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio: spear-spics: Add COMPILE_TEST support

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
---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 51f510fa8cc7..7dc25a4ed761 100644
@@ -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.
Signature · 1 line
2.54.0
#1 lore raw
Quoted 8 lines · Rosen Penev

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,

Signature · 1 line
Bartosz Golaszewski <[email protected]>