From: Bartosz Golaszewski Date: Tue, 24 Jun 2025 14:32:19 +0000 (+0200) Subject: power: sequencing: extend build coverage with COMPILE_TEST=y X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a7312b93ab023f68b48a1550049a4f850c2c808;p=thirdparty%2Fkernel%2Fstable.git power: sequencing: extend build coverage with COMPILE_TEST=y Enable building the pwrseq drivers with COMPILE_TEST enabled. This makes it easier to build-test them. Reviewed-by: Ulf Hansson Link: https://lore.kernel.org/r/20250624-pwrseq-match-defines-v1-2-a59d90a951f1@linaro.org Signed-off-by: Bartosz Golaszewski --- diff --git a/drivers/power/sequencing/Kconfig b/drivers/power/sequencing/Kconfig index 0f118d57c1ced..280f92beb5d0e 100644 --- a/drivers/power/sequencing/Kconfig +++ b/drivers/power/sequencing/Kconfig @@ -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