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)
commit7ebdb205d4b9dd839a93a9b8975ce8ccf86b882a
tree393166eead565eb260a7d627a66d8c3e222c80e4
parentfacf5df87129d273cc1f7dac0d1b4ec715bdcce3
arm64: dts: qcom: msm8998: Remove mdss_hdmi_phy phandle argument

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