You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
93 lines
3.2 KiB
93 lines
3.2 KiB
/* Copyright (c) 2018, 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_sharp_wqhd_cmd: qcom,mdss_dsi_sharp_wqhd_cmd {
|
|
qcom,mdss-dsi-panel-name =
|
|
"Dual Sharp WQHD cmd mode dsi panel";
|
|
qcom,mdss-dsi-panel-type = "dsi_cmd_mode";
|
|
qcom,mdss-dsi-virtual-channel-id = <0>;
|
|
qcom,mdss-dsi-stream = <0>;
|
|
qcom,mdss-dsi-bpp = <24>;
|
|
qcom,mdss-dsi-border-color = <0>;
|
|
qcom,mdss-dsi-h-sync-pulse = <0>;
|
|
qcom,mdss-dsi-traffic-mode = "burst_mode";
|
|
qcom,mdss-dsi-bllp-eof-power-mode;
|
|
qcom,mdss-dsi-bllp-power-mode;
|
|
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-dma-trigger = "trigger_sw";
|
|
qcom,mdss-dsi-mdp-trigger = "none";
|
|
qcom,mdss-dsi-reset-sequence = <1 20>, <0 20>, <1 20>;
|
|
qcom,mdss-dsi-te-pin-select = <1>;
|
|
qcom,mdss-dsi-wr-mem-start = <0x2c>;
|
|
qcom,mdss-dsi-wr-mem-continue = <0x3c>;
|
|
qcom,mdss-dsi-te-dcs-command = <1>;
|
|
qcom,mdss-dsi-te-check-enable;
|
|
qcom,mdss-dsi-te-using-te-pin;
|
|
qcom,dcs-cmd-by-left;
|
|
qcom,mdss-dsi-tx-eot-append;
|
|
qcom,mdss-pan-physical-width-dimension = <68>;
|
|
qcom,mdss-pan-physical-height-dimension = <121>;
|
|
|
|
qcom,adjust-timer-wakeup-ms = <1>;
|
|
qcom,mdss-dsi-display-timings {
|
|
timing@0 {
|
|
qcom,mdss-dsi-panel-width = <720>;
|
|
qcom,mdss-dsi-panel-height = <2560>;
|
|
qcom,mdss-dsi-h-front-porch = <30>;
|
|
qcom,mdss-dsi-h-back-porch = <100>;
|
|
qcom,mdss-dsi-h-pulse-width = <4>;
|
|
qcom,mdss-dsi-h-sync-skew = <0>;
|
|
qcom,mdss-dsi-v-back-porch = <8>;
|
|
qcom,mdss-dsi-v-front-porch = <8>;
|
|
qcom,mdss-dsi-v-pulse-width = <1>;
|
|
qcom,mdss-dsi-panel-framerate = <60>;
|
|
qcom,mdss-dsi-on-command = [
|
|
39 01 00 00 00 00 11 91 09
|
|
20 00 20 02 00 03 1c 04 21 00
|
|
0f 03 19 01 97
|
|
39 01 00 00 00 00 03 92 10 f0
|
|
15 01 00 00 00 00 02 90 03
|
|
15 01 00 00 00 00 02 03 01
|
|
39 01 00 00 00 00 06 f0 55 aa 52 08 04
|
|
15 01 00 00 00 00 02 c0 03
|
|
39 01 00 00 00 00 06 f0 55 aa 52 08 07
|
|
15 01 00 00 00 00 02 ef 01
|
|
39 01 00 00 00 00 06 f0 55 aa 52 08 00
|
|
15 01 00 00 00 00 02 b4 01
|
|
15 01 00 00 00 00 02 35 00
|
|
39 01 00 00 00 00 06 f0 55 aa 52 08 01
|
|
39 01 00 00 00 00 05 ff aa 55 a5 80
|
|
15 01 00 00 00 00 02 6f 01
|
|
15 01 00 00 00 00 02 f3 10
|
|
39 01 00 00 00 00 05 ff aa 55 a5 00
|
|
15 01 00 00 00 00 02 90 01
|
|
15 01 00 00 00 00 02 03 00
|
|
15 01 00 00 00 00 02 58 01
|
|
15 01 00 00 00 00 02 c9 00
|
|
15 01 00 00 00 00 02 c0 15
|
|
/* sleep out + delay 120ms */
|
|
05 01 00 00 78 00 01 11
|
|
/* display on + delay 120ms */
|
|
05 01 00 00 78 00 01 29
|
|
];
|
|
qcom,mdss-dsi-off-command = [05 01 00 00 78 00
|
|
02 28 00 05 01 00 00 78 00 02 10 00];
|
|
qcom,mdss-dsi-on-command-state = "dsi_lp_mode";
|
|
qcom,mdss-dsi-off-command-state = "dsi_hs_mode";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|