From: Stephan Gerhold Date: Wed, 9 Jul 2025 10:08:54 +0000 (+0200) Subject: clk: qcom: videocc-sm8550: Allow building without SM8550/SM8560 GCC X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7b0799f0d9f4c6f5ca8b1ee63bc9e961a326f9c;p=thirdparty%2Fkernel%2Flinux.git clk: qcom: videocc-sm8550: Allow building without SM8550/SM8560 GCC >From the build perspective, the videocc-sm8550 driver doesn't depend on having one of the GCC drivers enabled. It builds just fine without the GCC driver. In practice, it doesn't make much sense to have it enabled without the GCC driver, but currently this extra dependency is inconsistent with most of the other VIDEOCC entries in Kconfig. This can easily cause confusion when you see the VIDEOCC options for some of the SoCs but not for all of them. Let's just drop the depends line to allow building the videocc driver independent of the GCC selection. Compile testing with randconfig will also benefit from keeping the dependencies minimal. Reviewed-by: Bryan O'Donoghue Signed-off-by: Stephan Gerhold Link: https://lore.kernel.org/r/20250709-x1e-videocc-v2-2-ad1acf5674b4@linaro.org Signed-off-by: Bjorn Andersson --- diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig index 759b24d2c5506..aac2e090a1edd 100644 --- a/drivers/clk/qcom/Kconfig +++ b/drivers/clk/qcom/Kconfig @@ -1426,7 +1426,6 @@ config SM_VIDEOCC_8350 config SM_VIDEOCC_8550 tristate "SM8550 Video Clock Controller" depends on ARM64 || COMPILE_TEST - depends on SM_GCC_8550 || SM_GCC_8650 select QCOM_GDSC help Support for the video clock controller on Qualcomm Technologies, Inc.