From 2ab38afbb5fc9304f042a20ec8b53ca4bcecd2f0 Mon Sep 17 00:00:00 2001 From: Amine Najahi Date: Mon, 15 Mar 2021 21:03:01 -0400 Subject: [PATCH] binding: Documentation: move "qcom,dsi-dyn-clk-list" to timing node Move "qcom,dsi-dyn-clk-list" binding to per timing node, this will support different RFI values per mode. Change-Id: I6d320e70e20154375782b75f019172273d8c3667 --- bindings/mdss-dsi-panel.txt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/bindings/mdss-dsi-panel.txt b/bindings/mdss-dsi-panel.txt index a2ea8df8..1931adab 100644 --- a/bindings/mdss-dsi-panel.txt +++ b/bindings/mdss-dsi-panel.txt @@ -193,8 +193,6 @@ Optional properties: qcom,mdss-dsi-panel-framerate is used. - qcom,dsi-dyn-clk-enable: Boolean to indicate dsi dynamic clock switch feature is supported. -- qcom,dsi-dyn-clk-list: An u32 array which lists all the supported dsi bit clock - frequencies in Hz for the given panel. - qcom,dsi-dyn-clk-type: A string that specifies the sub-type for the dynamic clk feature. If dyn clk type is not specified, default value "legacy" is used. @@ -673,6 +671,9 @@ Additional properties added to the second level nodes that represent timings pro commands. "dsi_lp_mode" = DSI low power mode (default) "dsi_hs_mode" = DSI high speed mode +- qcom,dsi-dyn-clk-list: An u32 array of all the supported dsi bit clock + frequencies in Hz for the given mode, listed in + order of preference. Note, if a given optional qcom,* binding is not present, then the driver will configure the default values specified. @@ -828,6 +829,9 @@ Example: qcom,dsi-panel-gpio-pins = <12 24 82>; qcom,dsi-panel-gpio-names = "reg-gpio", "reset-gpio", "platform-te-gpio"; + qcom,dsi-dyn-clk-enable; + qcom,dsi-dyn-clk-type = "constant-fps-adjust-hfp"; + qcom,mdss-dsi-display-timings { wqhd { qcom,mdss-dsi-cmd-mode; @@ -872,6 +876,8 @@ Example: 39 01 00 00 00 00 06 b2 00 5d 01 02 50]; qcom,cmd-mode-switch-out-commands-state = "dsi_lp_mode"; + qcom,dsi-dyn-clk-list = <524637388 525735938 528842882>; + qcom,mdss-dsc-slice-height = <16>; qcom,mdss-dsc-slice-width = <360>; qcom,mdss-dsc-slice-per-pkt = <2>;