clk: qcom: videocc-sm8350: use depend on instead of select

Both sm8350 and sc8280xp use this, on sc8280xp, this would select
gcc-sm8350, we don't neet it on sc8280xp. use depend on to fix it.

Signed-off-by: Pengyu Luo <mitltlatltl@gmail.com>
Reviewed-by: Imran Shaik <imran.shaik@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260313111018.130068-1-mitltlatltl@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
Pengyu Luo 2026-03-13 19:10:18 +08:00 committed by Bjorn Andersson
parent 27c7ec7ad7
commit ecaec77148

View File

@ -1622,10 +1622,10 @@ config SM_VIDEOCC_8250
config SM_VIDEOCC_8350
tristate "SM8350 Video Clock Controller"
depends on ARM64 || COMPILE_TEST
select SM_GCC_8350
depends on SM_GCC_8350 || SC_GCC_8280XP
select QCOM_GDSC
help
Support for the video clock controller on SM8350 devices.
Support for the video clock controller on SM8350 or SC8280XP devices.
Say Y if you want to support video devices and functionality such as
video encode and decode.