]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
power: sequencing: extend build coverage with COMPILE_TEST=y
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 24 Jun 2025 14:32:19 +0000 (16:32 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 30 Jun 2025 07:06:54 +0000 (09:06 +0200)
Enable building the pwrseq drivers with COMPILE_TEST enabled. This makes
it easier to build-test them.

Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20250624-pwrseq-match-defines-v1-2-a59d90a951f1@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/power/sequencing/Kconfig

index 0f118d57c1ceddc03954c006f99b5990acf546d4..280f92beb5d0ed524e67a28d1c5dd264bbd6c87e 100644 (file)
@@ -16,7 +16,7 @@ if POWER_SEQUENCING
 config POWER_SEQUENCING_QCOM_WCN
        tristate "Qualcomm WCN family PMU driver"
        default m if ARCH_QCOM
-       depends on OF
+       depends on OF || COMPILE_TEST
        help
          Say Y here to enable the power sequencing driver for Qualcomm
          WCN Bluetooth/WLAN chipsets.
@@ -29,7 +29,7 @@ config POWER_SEQUENCING_QCOM_WCN
 
 config POWER_SEQUENCING_TH1520_GPU
        tristate "T-HEAD TH1520 GPU power sequencing driver"
-       depends on ARCH_THEAD && AUXILIARY_BUS
+       depends on (ARCH_THEAD && AUXILIARY_BUS) || COMPILE_TEST
        help
          Say Y here to enable the power sequencing driver for the TH1520 SoC
          GPU. This driver handles the complex clock and reset sequence