ARM: dts: msm: add physical dimensions for panels on SDM845
The physical dimensions are used to determine the DPI in the
framework. If these dimensions are not provided, the framework
assumes a default DPI value which may not be suitable for the
current panel and lead to some apps drawing incorrectly.
Add physical dimensions for all support panels on SDM845.
Change-Id: If0b553ea5d3e598b2eaadee03819f7892c0b0238
Signed-off-by: Vara Reddy <varar@codeaurora.org>
diff --git a/arch/arm64/boot/dts/qcom/dsi-panel-sharp-1080p-cmd.dtsi b/arch/arm64/boot/dts/qcom/dsi-panel-sharp-1080p-cmd.dtsi
index c2b054a..6f66e8e 100644
--- a/arch/arm64/boot/dts/qcom/dsi-panel-sharp-1080p-cmd.dtsi
+++ b/arch/arm64/boot/dts/qcom/dsi-panel-sharp-1080p-cmd.dtsi
@@ -37,6 +37,8 @@
qcom,mdss-dsi-underflow-color = <0xff>;
qcom,mdss-dsi-border-color = <0>;
qcom,mdss-dsi-reset-sequence = <1 10>, <0 10>, <1 10>;
+ qcom,mdss-pan-physical-width-dimension = <64>;
+ qcom,mdss-pan-physical-height-dimension = <117>;
qcom,mdss-dsi-on-command = [
15 01 00 00 00 00 02 bb 10
15 01 00 00 00 00 02 b0 03