From 3a1f7904708ecfb02297cfa972da7e6a28fed4ab Mon Sep 17 00:00:00 2001 From: robertijtsma <37256770+robertijtsma@users.noreply.github.com> Date: Sun, 22 Nov 2026 13:18:06 +0100 Subject: [PATCH] clk: qcom: videocc-sm8150: add qcom,sc8180x-videocc compatible The SC8180X video clock controller at 0xab00000 exposes the same register layout, PLL, branch clocks, resets, and GDSCs (venus_gdsc, vcodec0_gdsc, vcodec1_gdsc) as SM8150, and sc8180x.dtsi lists compatible = "qcom,sc8180x-videocc", "qcom,sm8150-videocc". Add an explicit qcom,sc8180x-videocc OF match entry so the driver exports a matching modalias and binds explicitly on SC8180X. Tested on Microsoft Surface Pro X SQ2 (SC8180X, Linux 7.3.1-1-surface). Signed-off-by: robertijtsma <37256770+robertijtsma@users.noreply.github.com> --- drivers/clk/qcom/videocc-sm8150.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/qcom/videocc-sm8150.c b/drivers/clk/qcom/videocc-sm8150.c index 3024f6fc89c8b..ece12a2ed50bd 100644 --- a/drivers/clk/qcom/videocc-sm8150.c +++ b/drivers/clk/qcom/videocc-sm8150.c @@ -233,6 +233,7 @@ static const struct qcom_cc_desc video_cc_sm8150_desc = { }; static const struct of_device_id video_cc_sm8150_match_table[] = { + { .compatible = "qcom,sc8180x-videocc" }, { .compatible = "qcom,sm8150-videocc" }, { } };