]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: msm8998: Remove mdss_hdmi_phy phandle argument
authorKonrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Thu, 27 Mar 2025 01:47:06 +0000 (02:47 +0100)
committerBjorn Andersson <andersson@kernel.org>
Mon, 19 May 2025 20:33:49 +0000 (15:33 -0500)
The node has #clock-cells = <0>, as it only provides a single clock
output.

This leads to a turbo sneaky bug, where the dt checker shows that we
have additional clocks in the array:

clock-controller@c8c0000: clocks: [[3, 0], [39, 178], [156, 1],
[156, 0], [157, 1], [157, 0], [158], [0], [0], [0], [39, 184]]
is too long

..which happens due to dtc interpreting <&mdss_hdmi_phy 0> as
<&mdss_hdmi_phy>, <0> after taking cells into account.

Remove the superfluous argument to both silence the warning and fix
the index-based lookup of subsequent entries in "clocks".

Fixes: 2150c87db80c ("arm64: dts: qcom: msm8998: add HDMI nodes")
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250327-topic-more_dt_bindings_fixes-v2-4-b763d958545f@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/msm8998.dtsi

index cb70554467410965fcd4307fa5c7b232895084c1..58cee37cb8eecbdd43a474d548dcae1606aba6c7 100644 (file)
                                 <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>,
                                 <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>,
                                 <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>,
-                                <&mdss_hdmi_phy 0>,
+                                <&mdss_hdmi_phy>,
                                 <0>,
                                 <0>,
                                 <&gcc GCC_MMSS_GPLL0_DIV_CLK>;