diff options
author | Marijn Suijten <marijn.suijten@somainline.org> | 2022-12-22 22:01:40 +0100 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2022-12-29 17:57:25 +0100 |
commit | c045154c30f1cf8d96e3f32269c155b3706a1669 (patch) | |
tree | 8893c3fa223b42d782e0a308d0745c9b1a01fc9d /drivers/clk/qcom/dispcc-sm6125.c | |
parent | clk: qcom: Add camera clock controller driver for SM6350 (diff) | |
download | linux-c045154c30f1cf8d96e3f32269c155b3706a1669.tar.xz linux-c045154c30f1cf8d96e3f32269c155b3706a1669.zip |
clk: qcom: dispcc-sm6125: Fix compatible string to match bindings
According to generic rules the SoC name should be first:
arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dtb: clock-controller@5f00000: compatible: 'oneOf' conditional failed, one must be fixed:
'qcom,dispcc-sm6125' does not match '^qcom,(apq|ipq|mdm|msm|qcm|qcs|sa|sc|sdm|sdx|sm)[0-9]+-.*$'
And this is already reflected by the bindings submitted prior to the
addition of this driver. Any DTS following these rules will end up with
a non-probing driver because of this mismatch.
Fixes: 6e87c8f07407 ("clk: qcom: Add display clock controller driver for SM6125")
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221222210140.278077-1-marijn.suijten@somainline.org
Diffstat (limited to 'drivers/clk/qcom/dispcc-sm6125.c')
-rw-r--r-- | drivers/clk/qcom/dispcc-sm6125.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/qcom/dispcc-sm6125.c b/drivers/clk/qcom/dispcc-sm6125.c index b921456a2e0d..87b27053ddb6 100644 --- a/drivers/clk/qcom/dispcc-sm6125.c +++ b/drivers/clk/qcom/dispcc-sm6125.c @@ -667,7 +667,7 @@ static const struct qcom_cc_desc disp_cc_sm6125_desc = { }; static const struct of_device_id disp_cc_sm6125_match_table[] = { - { .compatible = "qcom,dispcc-sm6125" }, + { .compatible = "qcom,sm6125-dispcc" }, { } }; MODULE_DEVICE_TABLE(of, disp_cc_sm6125_match_table); |