]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
gpio: spear-spics: Add COMPILE_TEST support
authorRosen Penev <rosenp@gmail.com>
Sun, 10 May 2026 19:55:31 +0000 (12:55 -0700)
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Mon, 11 May 2026 13:23:59 +0000 (15:23 +0200)
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>
Link: https://patch.msgid.link/20260510195531.10561-1-rosenp@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
drivers/gpio/Kconfig

index cf2e34c4bf5677c15591aaef2d850c0b9d4e47bc..00fcab5d09a4294ed778cea78af5867a0f6e481b 100644 (file)
@@ -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.