From f790be71615dc83cb4b9183daca3f6bae5b7b125 Mon Sep 17 00:00:00 2001 From: Rohith Iyer Date: Tue, 5 Dec 2023 14:52:23 -0800 Subject: [PATCH] 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 --- display/sun-sde-display.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/display/sun-sde-display.dtsi b/display/sun-sde-display.dtsi index 819dd5ee..d48d6045 100644 --- a/display/sun-sde-display.dtsi +++ b/display/sun-sde-display.dtsi @@ -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