Skip to content

Commit 7ec1ba0

Browse files
nathanchanceandersson
authored andcommitted
clk: qcom: Fix dependencies of QCS_{DISP,GPU,VIDEO}CC_615
It is possible to select CONFIG_QCS_{DISP,GPU,VIDEO}CC_615 when targeting ARCH=arm, causing a Kconfig warning when selecting CONFIG_QCS_GCC_615 without its dependencies, CONFIG_ARM64 or CONFIG_COMPILE_TEST. WARNING: unmet direct dependencies detected for QCS_GCC_615 Depends on [n]: COMMON_CLK [=y] && COMMON_CLK_QCOM [=m] && (ARM64 || COMPILE_TEST [=n]) Selected by [m]: - QCS_DISPCC_615 [=m] && COMMON_CLK [=y] && COMMON_CLK_QCOM [=m] - QCS_GPUCC_615 [=m] && COMMON_CLK [=y] && COMMON_CLK_QCOM [=m] - QCS_VIDEOCC_615 [=m] && COMMON_CLK [=y] && COMMON_CLK_QCOM [=m] Add the same dependency to these configurations to clear up the warnings. Cc: stable@vger.kernel.org Fixes: 9b47105 ("clk: qcom: dispcc-qcs615: Add QCS615 display clock controller driver") Fixes: f4b5b40 ("clk: qcom: gpucc-qcs615: Add QCS615 graphics clock controller driver") Fixes: f6a8abe ("clk: qcom: videocc-qcs615: Add QCS615 video clock controller driver") Signed-off-by: Nathan Chancellor <nathan@kernel.org> Reviewed-by: Imran Shaik <imran.shaik@oss.qualcomm.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Link: https://lore.kernel.org/r/20250930-clk-qcom-kconfig-fixes-arm-v1-2-15ae1ae9ec9f@kernel.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent f0691a3 commit 7ec1ba0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

drivers/clk/qcom/Kconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,7 @@ config QCM_DISPCC_2290
531531

532532
config QCS_DISPCC_615
533533
tristate "QCS615 Display Clock Controller"
534+
depends on ARM64 || COMPILE_TEST
534535
select QCS_GCC_615
535536
help
536537
Support for the display clock controller on Qualcomm Technologies, Inc
@@ -586,6 +587,7 @@ config QCS_GCC_615
586587

587588
config QCS_GPUCC_615
588589
tristate "QCS615 Graphics clock controller"
590+
depends on ARM64 || COMPILE_TEST
589591
select QCS_GCC_615
590592
help
591593
Support for the graphics clock controller on QCS615 devices.
@@ -594,6 +596,7 @@ config QCS_GPUCC_615
594596

595597
config QCS_VIDEOCC_615
596598
tristate "QCS615 Video Clock Controller"
599+
depends on ARM64 || COMPILE_TEST
597600
select QCS_GCC_615
598601
help
599602
Support for the video clock controller on QCS615 devices.

0 commit comments

Comments
 (0)