ARM: dts: msm: dynamic clock switch with specific HFP/VFP adjustment
Add new dynamic clock types "adjust-hfp" and "adjust-vfp" to facilitate specific hfp/vfp adjustment as per "qcom,dsi-dyn-hfp-list" and "qcom,dsi-dyn-vfp-list" respectively corresponding to bit clock rates of "qcom,dsi-dyn-clk-list". FPS might not be maintained in these cases. Change-Id: Ic225624fb5e0bee0d8b099f2e955f65768371d4b Signed-off-by: Srihitha Tangudu <quic_tangudu@quicinc.com> Signed-off-by: lnxdisplay <lnxdisplay@localhost>
This commit is contained in:
committed by
lnxdisplay
parent
c56ffa64e7
commit
78a57f6b4d
@@ -543,6 +543,12 @@ properties:
|
|||||||
"constant-fps-adjust-vfp" = FPS is maintained even after
|
"constant-fps-adjust-vfp" = FPS is maintained even after
|
||||||
dynamic clock switch by changing panel vertical front
|
dynamic clock switch by changing panel vertical front
|
||||||
porch values.
|
porch values.
|
||||||
|
"adjust-hfp" = Dynamic clock switch is achieved by adjusting the
|
||||||
|
horizontal front porch value according to the qcom,dsi-dyn-hfp-list.
|
||||||
|
FPS may not be maintained after the switch.
|
||||||
|
"adjust-vfp" = Dynamic clock switch is achieved by adjusting the
|
||||||
|
vertical front porch value according to the qcom,dsi-dyn-vfp-list.
|
||||||
|
FPS may not be maintatined after the switch.
|
||||||
This dyn-clk-type entry is an optional binding which is
|
This dyn-clk-type entry is an optional binding which is
|
||||||
contingent on the enabling of dynamic clock switch.
|
contingent on the enabling of dynamic clock switch.
|
||||||
$ref: /schemas/types.yaml#/definitions/string-array
|
$ref: /schemas/types.yaml#/definitions/string-array
|
||||||
@@ -1713,6 +1719,24 @@ properties:
|
|||||||
order of preference.
|
order of preference.
|
||||||
$ref: /schemas/types.yaml#/definitions/uint32-array
|
$ref: /schemas/types.yaml#/definitions/uint32-array
|
||||||
|
|
||||||
|
qcom,dsi-dyn-clk-hfp-list:
|
||||||
|
description: >
|
||||||
|
An u32 array of horizontal front porch values corresponding to the
|
||||||
|
dsi bit clock frequencies in qcom,dsi-dyn-clk-list for the given mode.
|
||||||
|
This property is essential for the adjust-hfp dynamic clock type,
|
||||||
|
which is used for specific horizontal porch adjustments when maintaining
|
||||||
|
a constant frame rate is not required.
|
||||||
|
$ref: /schemas/types.yaml#/definitions/uint32-array
|
||||||
|
|
||||||
|
qcom,dsi-dyn-clk-vfp-list:
|
||||||
|
description: >
|
||||||
|
An u32 array of vertical front porch values corresponding to the
|
||||||
|
dsi bit clock frequencies in qcom,dsi-dyn-clk-list for the given mode.
|
||||||
|
This property is essential for the adjust-vfp dynamic clock type,
|
||||||
|
which is used for specific horizontal porch adjustments when maintaining
|
||||||
|
a constant frame rate is not required.
|
||||||
|
$ref: /schemas/types.yaml#/definitions/uint32-array
|
||||||
|
|
||||||
qcom,disable-rsc-solver:
|
qcom,disable-rsc-solver:
|
||||||
description: >
|
description: >
|
||||||
Timing node property to dynamically disable RSC solver for
|
Timing node property to dynamically disable RSC solver for
|
||||||
@@ -1908,7 +1932,7 @@ examples:
|
|||||||
qcom,platform-reset-gpio = <&tlmm 0 0>;
|
qcom,platform-reset-gpio = <&tlmm 0 0>;
|
||||||
|
|
||||||
qcom,dsi-dyn-clk-enable;
|
qcom,dsi-dyn-clk-enable;
|
||||||
qcom,dsi-dyn-clk-type = "constant-fps-adjust-hfp";
|
qcom,dsi-dyn-clk-type = "adjust-hfp";
|
||||||
|
|
||||||
qcom,mdss-dsi-display-timings {
|
qcom,mdss-dsi-display-timings {
|
||||||
wqhd {
|
wqhd {
|
||||||
@@ -1988,6 +2012,7 @@ examples:
|
|||||||
qcom,cmd-mode-switch-out-commands-state = "dsi_lp_mode";
|
qcom,cmd-mode-switch-out-commands-state = "dsi_lp_mode";
|
||||||
|
|
||||||
qcom,dsi-dyn-clk-list = <524637388 525735938 528842882>;
|
qcom,dsi-dyn-clk-list = <524637388 525735938 528842882>;
|
||||||
|
qcom,dsi-dyn-clk-hfp-list = <52 64 96>;
|
||||||
|
|
||||||
qcom,vert-padding-value = <2940>;
|
qcom,vert-padding-value = <2940>;
|
||||||
qcom,mdss-dsc-slice-height = <16>;
|
qcom,mdss-dsc-slice-height = <16>;
|
||||||
|
Reference in New Issue
Block a user