ARM: dts: msm: dsi: fix indices on mdss_dsi_phy* providers

Since mdss_dsi_phy* providers only support two clocks, fix current
implementation which indexes out of bounds and causes a failure
in dsi when trying to get clocks.

Change-Id: I671b1f4032c124a515c4d5cebbbd098fdfaca95e
Signed-off-by: Rohith Iyer <quic_rohiiyer@quicinc.com>
This commit is contained in:
Rohith Iyer
2023-12-05 14:52:23 -08:00
parent eb8ed18851
commit f790be7161

View File

@@ -51,8 +51,8 @@
&sde_dsi {
clocks = <&mdss_dsi_phy0 0>,
<&mdss_dsi_phy0 1>,
<&mdss_dsi_phy1 2>,
<&mdss_dsi_phy1 3>,
<&mdss_dsi_phy1 0>,
<&mdss_dsi_phy1 1>,
/*
* Currently the dsi clock handles are under the dsi
* controller DT node. As soon as the controller probe
@@ -80,8 +80,8 @@
&sde_dsi1 {
clocks = <&mdss_dsi_phy0 0>,
<&mdss_dsi_phy0 1>,
<&mdss_dsi_phy1 2>,
<&mdss_dsi_phy1 3>,
<&mdss_dsi_phy1 0>,
<&mdss_dsi_phy1 1>,
/*
* Currently the dsi clock handles are under the dsi
* controller DT node. As soon as the controller probe