[PATCH] clk: qcom: videocc-sm8350: use depend on instead of select
From: Pengyu Luo
Date: Fri Mar 13 2026 - 07:12:36 EST
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@xxxxxxxxx>
---
drivers/clk/qcom/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig
index ced60771ec..59c1909451 100644
--- a/drivers/clk/qcom/Kconfig
+++ b/drivers/clk/qcom/Kconfig
@@ -1614,10 +1614,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.
--
2.53.0