From 7ba99ec3b54426220077cbac9bc1602e98903d4f Mon Sep 17 00:00:00 2001 From: Nilaan Gunabalachandran Date: Mon, 7 Mar 2022 17:06:03 -0500 Subject: [PATCH] ARM: dts: msm: add mdp transfer min/max to Qsync Sim Cmd Panel This change defines the minimum and maximum mdp transfer times on the Qsync sim panel. Change-Id: I6326286f182f8847485fbd430e66c6c33686e70d --- bindings/mdss-dsi-panel.txt | 11 +++++++++++ display/dsi-panel-sim-dualmipi-cmd.dtsi | 4 ++++ 2 files changed, 15 insertions(+) diff --git a/bindings/mdss-dsi-panel.txt b/bindings/mdss-dsi-panel.txt index c7a65c6c..57488b0f 100644 --- a/bindings/mdss-dsi-panel.txt +++ b/bindings/mdss-dsi-panel.txt @@ -206,6 +206,15 @@ Optional properties: interval. The step rate must be a common multiple of refresh and min-fps rates. The values in this list should correspond to the dfps-list with same indeces when DFPS is used, or a single value which applies to all rates. +- qcom,mdss-dsi-transfer-time-us-min Minimum supported mdp transfer time in us. This entry enables support to + dynamically set the transfer time for the given mode within the defined + range. Both min & max must be defined to enable. + qcom,mdss-dsi-transfer-time-us must be greater than this value. +- qcom,mdss-dsi-transfer-time-us-max Maximum supported mdp transfer time in us. This entry enables support to + dynamically set the transfer time for the given mode within the defined + range. Both min & max must be defined to enable. This time should not be + greater than vsync duration. + qcom,mdss-dsi-transfer-time-us must be less than this value. - qcom,min-refresh-rate: Minimum refresh rate supported by the panel. - qcom,max-refresh-rate: Maximum refresh rate supported by the panel. If max refresh rate is not specified, then the frame rate of the panel in @@ -873,6 +882,8 @@ Example: qcom,mdss-dsi-panel-jitter = <0x2 0x1>; qcom,dsi-wd-ltj-max-jitter = <0x4 0x1>; qcom,dsi-wd-ltj-time-sec = <3600>; + qcom,mdss-mdp-transfer-time-us-min = <10000>; + qcom,mdss-mdp-transfer-time-us-max = <15000>; qcom,mdss-dsi-panel-timings = [E6 38 26 00 68 6E 2A 3C 2C 03 04 00]; qcom,mdss-dsi-t-clk-post = <0x02>; qcom,mdss-dsi-t-clk-pre = <0x2a>; diff --git a/display/dsi-panel-sim-dualmipi-cmd.dtsi b/display/dsi-panel-sim-dualmipi-cmd.dtsi index 50bb802a..56119b42 100644 --- a/display/dsi-panel-sim-dualmipi-cmd.dtsi +++ b/display/dsi-panel-sim-dualmipi-cmd.dtsi @@ -70,6 +70,8 @@ [15 01 00 00 00 00 02 51 00]; qcom,mdss-dsi-qsync-off-commands-state = "dsi_hs_mode"; + qcom,mdss-mdp-transfer-time-us-min = <14000>; + qcom,mdss-mdp-transfer-time-us-max = <16000>; }; timing@1 { @@ -106,6 +108,8 @@ [15 01 00 00 00 00 02 51 00]; qcom,mdss-dsi-qsync-off-commands-state = "dsi_hs_mode"; + qcom,mdss-mdp-transfer-time-us-min = <6900>; + qcom,mdss-mdp-transfer-time-us-max = <7900>; }; timing@2 {