]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
clk: qcom: videocc-sm8550: Allow building without SM8550/SM8560 GCC
authorStephan Gerhold <stephan.gerhold@linaro.org>
Wed, 9 Jul 2025 10:08:54 +0000 (12:08 +0200)
committerBjorn Andersson <andersson@kernel.org>
Thu, 17 Jul 2025 04:16:15 +0000 (23:16 -0500)
>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 <bryan.odonoghue@linaro.org>
Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
Link: https://lore.kernel.org/r/20250709-x1e-videocc-v2-2-ad1acf5674b4@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/Kconfig

index 759b24d2c55066b641b1eaf81157aa024e641e92..aac2e090a1edd6d279ca55920e4be8b3548df034 100644 (file)
@@ -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.