From 2b84779e5519d6769e922dbba2cbc13c3946e137 Mon Sep 17 00:00:00 2001 From: Abhinav Saurabh Date: Tue, 25 Feb 2025 17:23:17 +0530 Subject: [PATCH] ARM: dts: msm: Update PHY timings for CMD VTDR panels on Kera CDP/RCM This update adjusts the PHY timings for the VTDR command mode panel on Kera RCM/CDP platforms based on the required FPS, following the removal of the qcom,mdss-dsi-panel-clockrate hardcoding. Previously, the hardcoding resulted in uniform panel PHY timings across all FPS. Some Kera RCMs have exhibited screen freeze issues when switching from 120 FPS to 60 FPS in command mode after the removal of the hardcoded clock rate. Interestingly, this issue has not been observed on Kera CDPs and other platforms, suggesting potential underlying hardware differences between CDPs and RCMs that necessitate proper tuning of panel PHY timings. Update the panel PHY timings to fix this. Fixes: I1c3c77eed76 ("ARM: dts: msm: remove hard coded panel clk rate for kera RCM"). Change-Id: Iffd1d5da485d6961baa49ff96a65882c491a8ff6 Signed-off-by: Abhinav Saurabh --- display/kera-sde-display-cdp.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/display/kera-sde-display-cdp.dtsi b/display/kera-sde-display-cdp.dtsi index 0dca9ffd..faa2551e 100644 --- a/display/kera-sde-display-cdp.dtsi +++ b/display/kera-sde-display-cdp.dtsi @@ -67,14 +67,20 @@ timing@1 { /delete-property/ qcom,mdss-dsi-panel-clockrate; + qcom,mdss-dsi-panel-phy-timings = [00 1c 08 07 17 22 07 + 07 08 02 04 00 19 0c]; }; timing@2 { /delete-property/ qcom,mdss-dsi-panel-clockrate; + qcom,mdss-dsi-panel-phy-timings = [00 13 05 04 13 1e 05 + 05 06 02 04 00 12 0a]; }; timing@3 { /delete-property/ qcom,mdss-dsi-panel-clockrate; + qcom,mdss-dsi-panel-phy-timings = [00 0f 03 03 11 1d 04 + 04 03 02 04 00 0d 09]; }; }; }; @@ -111,10 +117,14 @@ timing@1 { /delete-property/ qcom,mdss-dsi-panel-clockrate; + qcom,mdss-dsi-panel-phy-timings = [00 13 05 04 13 1e 05 + 05 06 02 04 00 12 0a]; }; timing@2 { /delete-property/ qcom,mdss-dsi-panel-clockrate; + qcom,mdss-dsi-panel-phy-timings = [00 0f 03 03 11 1d 04 + 04 03 02 04 00 0d 09]; }; }; }; @@ -151,6 +161,8 @@ timing@1 { /delete-property/ qcom,mdss-dsi-panel-clockrate; + qcom,mdss-dsi-panel-phy-timings = [00 0f 03 03 11 1d 04 + 04 03 02 04 00 0d 09]; }; }; };