ARM: dts: msm: add a new panel driver to enable display for QVR8998

These are the panel settings for s6e3ha3 amoled panel.
As QVR8998 will use this panel for display, so add a new file for it.

Snapshot of hw-panel-samsung-s6e3ha3x01-5p7-1440p-dual0-cmd.dtsi as of
a805a3e1e791ec0fb931d1f44bd70f3307532ec5 to enable display for QVR8998.
Rename the file to dsi-panel-s6e3ha3-amoled-dualmipi-wqhd-cmd.dtsi and
modify these panel settings in this file for QVR8998 display.

Squash commit messages:
commit a805a3e1e791 ("arm64/dts: angler: Don't blank screen when leaving low persistence mode")
commit 0e4484ea2ceb ("dts: Reduce low-persistence brightness to 50%")
commit 651c6dd35a1f ("dts: msm: Sets the low-persist pulse to be at cycle start")
commit 2fc4b8aa55dd ("Add ioctl for low persistence display mode to MDSS driver.")
commit 1b0565b24e19 ("Revert "ARM64: dts: angler: Enable AMOLED ACL function."")
commit 3200385cb224 ("ARM64: dts: angler: Reduce delay time in Amoled initial code to save the screen on time.")
commit de8be2535af7 ("ARM64: dts: angler: Enable qcom,dynamic-dsi-timing-enable for amoled command mode panel")
commit 0cce00b5a108 ("Angler: LCD: enable EOT packet transmission")
commit 16cd03800bba ("angler: LCD: enable partial update in dtsi")
commit f1f63dfc50c9 ("ARM64: dts: angler: Enable AMOLED ACL function.")
commit 900833cdd0c9 ("angler: LCD: send display on commands one time")
commit 4afd0a7929f1 ("anlger: LCD: enable lcd esd effect recovery function")
commit 7ae89bce8295 ("angler: LCD: amend LCD physical width and height dimension")
commit 5eff7f8c1c41 ("angler: LCD: fix tearing at the top part of the screen")
commit cb8d1be44bcc ("angler: fix flickers when low battery finally")
commit 41e4849b13c7 ("angler-kernel: fix bugs of dts before angler-v4")
commit 1bd832f295f5 ("ARM64: dts: angler: add dts configuration for v4 device.")

Git-commit: a805a3e1e791ec0fb931d1f44bd70f3307532ec5
Git-repo: https://source.codeaurora.org/quic/la/kernel/msm-3.10/
Change-Id: I91a6cfcc3b78159cea505e388749e1610dadeae6
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
This commit is contained in:
Ray Zhang 2016-10-27 16:15:34 +08:00 committed by Gerrit - the friendly Code Review server
parent a27b2f1789
commit 6df937f63f

View file

@ -0,0 +1,91 @@
/* Copyright (c) 2016, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
&mdss_mdp {
dsi_dual_s6e3ha3_amoled_cmd: qcom,mdss_dsi_s6e3ha3_amoled_wqhd_cmd{
qcom,mdss-dsi-panel-name =
"Dual s6e3ha3 amoled cmd mode dsi panel";
qcom,mdss-dsi-panel-type = "dsi_cmd_mode";
qcom,mdss-dsi-panel-framerate = <60>;
qcom,mdss-dsi-virtual-channel-id = <0>;
qcom,mdss-dsi-stream = <0>;
qcom,mdss-dsi-panel-width = <720>;
qcom,mdss-dsi-panel-height = <2560>;
qcom,mdss-dsi-h-front-porch = <100>;
qcom,mdss-dsi-h-back-porch = <100>;
qcom,mdss-dsi-h-pulse-width = <40>;
qcom,mdss-dsi-h-sync-skew = <0>;
qcom,mdss-dsi-v-back-porch = <31>;
qcom,mdss-dsi-v-front-porch = <30>;
qcom,mdss-dsi-v-pulse-width = <8>;
qcom,mdss-dsi-h-left-border = <0>;
qcom,mdss-dsi-h-right-border = <0>;
qcom,mdss-dsi-v-top-border = <0>;
qcom,mdss-dsi-v-bottom-border = <0>;
qcom,mdss-dsi-bpp = <24>;
qcom,mdss-dsi-underflow-color = <0xff>;
qcom,mdss-dsi-border-color = <0>;
qcom,mdss-dsi-color-order = "rgb_swap_rgb";
qcom,mdss-dsi-on-command = [05 01 00 00 05 00 02 11 00
39 01 00 00 00 00 05 2a 00 00 05 9f
39 01 00 00 00 00 05 2b 00 00 09 ff
39 01 00 00 00 00 03 f0 5a 5a
39 01 00 00 00 00 02 b0 10
39 01 00 00 00 00 02 b5 a0
39 01 00 00 00 00 02 c4 03
39 01 00 00 00 00 0a
f6 42 57 37 00 aa cc d0 00 00
39 01 00 00 00 00 02 f9 03
39 01 00 00 00 00 14
c2 00 00 d8 d8 00 80 2b 05 08
0e 07 0b 05 0d 0a 15 13 20 1e
39 01 00 00 78 00 03 f0 a5 a5
39 01 00 00 00 00 02 35 00
39 01 00 00 00 00 02 53 20
39 01 00 00 00 00 02 51 60
05 01 00 00 05 00 02 29 00];
qcom,mdss-dsi-off-command = [05 01 00 00 3c 00 02 28 00
05 01 00 00 b4 00 02 10 00];
qcom,mdss-dsi-on-command-state = "dsi_lp_mode";
qcom,mdss-dsi-off-command-state = "dsi_hs_mode";
qcom,mdss-dsi-h-sync-pulse = <0>;
qcom,mdss-dsi-traffic-mode = "non_burst_sync_event";
qcom,mdss-dsi-lane-map = "lane_map_0123";
qcom,mdss-dsi-bllp-eof-power-mode;
qcom,mdss-dsi-bllp-power-mode;
qcom,mdss-dsi-tx-eot-append;
qcom,dcs-cmd-by-left;
qcom,mdss-dsi-lane-0-state;
qcom,mdss-dsi-lane-1-state;
qcom,mdss-dsi-lane-2-state;
qcom,mdss-dsi-lane-3-state;
qcom,mdss-dsi-wr-mem-start = <0x2c>;
qcom,mdss-dsi-wr-mem-continue = <0x3c>;
qcom,mdss-dsi-te-pin-select = <1>;
qcom,mdss-dsi-te-dcs-command = <1>;
qcom,mdss-dsi-te-check-enable;
qcom,mdss-dsi-te-using-te-pin;
qcom,mdss-dsi-panel-timings =
[eb 38 26 00 6a 66 32 3c 2f 03 04 00];
qcom,mdss-dsi-t-clk-post = <0x2c>;
qcom,mdss-dsi-t-clk-pre = <0x1c>;
qcom,mdss-dsi-dma-trigger = "trigger_sw";
qcom,mdss-dsi-mdp-trigger = "none";
qcom,mdss-dsi-lp11-init;
qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs";
qcom,mdss-dsi-bl-min-level = <1>;
qcom,mdss-dsi-bl-max-level = <255>;
qcom,mdss-pan-physical-width-dimension = <68>;
qcom,mdss-pan-physical-height-dimension = <122>;
qcom,mdss-dsi-reset-sequence = <1 10>, <0 10>, <1 10>;
};
};