blob: 9a4e318ba7564c6bb8b6e1eb2721c102f96aef19 [file] [log] [blame]
Shashank Babu Chinta Venkata24bdd052017-02-24 14:29:09 -08001/* Copyright (c) 2014-2017, The Linux Foundation. All rights reserved.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
13&mdss_mdp {
14 dsi_dual_sim_cmd: qcom,mdss_dsi_dual_sim_cmd {
15 qcom,mdss-dsi-panel-name = "Sim dual cmd mode dsi panel";
16 qcom,mdss-dsi-panel-type = "dsi_cmd_mode";
Shashank Babu Chinta Venkata24bdd052017-02-24 14:29:09 -080017 qcom,mdss-dsi-virtual-channel-id = <0>;
18 qcom,mdss-dsi-stream = <0>;
Shashank Babu Chinta Venkata24bdd052017-02-24 14:29:09 -080019 qcom,mdss-dsi-bpp = <24>;
20 qcom,mdss-dsi-color-order = "rgb_swap_rgb";
21 qcom,mdss-dsi-underflow-color = <0xff>;
22 qcom,mdss-dsi-border-color = <0>;
Shashank Babu Chinta Venkata24bdd052017-02-24 14:29:09 -080023 qcom,mdss-dsi-traffic-mode = "non_burst_sync_event";
24 qcom,mdss-dsi-bllp-eof-power-mode;
25 qcom,mdss-dsi-bllp-power-mode;
26 qcom,cmd-sync-wait-broadcast;
27 qcom,mdss-dsi-lane-0-state;
28 qcom,mdss-dsi-lane-1-state;
29 qcom,mdss-dsi-lane-2-state;
30 qcom,mdss-dsi-lane-3-state;
31 qcom,mdss-dsi-hor-line-idle = <0 40 256>,
32 <40 120 128>,
33 <120 240 64>;
34 qcom,mdss-dsi-reset-sequence = <1 10>, <0 10>, <1 10>;
35 qcom,mdss-dsi-bl-max-level = <4095>;
36 qcom,mdss-dsi-dma-trigger = "trigger_sw";
37 qcom,mdss-dsi-mdp-trigger = "none";
38 qcom,mdss-dsi-te-pin-select = <1>;
39 qcom,mdss-dsi-wr-mem-start = <0x2c>;
40 qcom,mdss-dsi-wr-mem-continue = <0x3c>;
41 qcom,mdss-dsi-te-dcs-command = <1>;
42 qcom,mdss-dsi-te-check-enable;
Narendra Muppalla4b039522017-04-25 10:34:53 -070043 qcom,mdss-dsi-te-using-wd;
Shashank Babu Chinta Venkata24bdd052017-02-24 14:29:09 -080044 qcom,mdss-dsi-te-using-te-pin;
Shashank Babu Chinta Venkata24bdd052017-02-24 14:29:09 -080045 qcom,panel-ack-disabled;
Jeykumar Sankaran446a5f12017-05-09 20:30:39 -070046
47 qcom,mdss-dsi-display-timings {
48 timing@0{
Dhaval Patel9e017f32017-07-26 15:17:54 -070049 qcom,mdss-dsi-panel-width = <540>;
50 qcom,mdss-dsi-panel-height = <1920>;
51 qcom,mdss-dsi-h-front-porch = <28>;
52 qcom,mdss-dsi-h-back-porch = <4>;
53 qcom,mdss-dsi-h-pulse-width = <4>;
54 qcom,mdss-dsi-h-sync-skew = <0>;
55 qcom,mdss-dsi-v-back-porch = <12>;
56 qcom,mdss-dsi-v-front-porch = <12>;
57 qcom,mdss-dsi-v-pulse-width = <2>;
58 qcom,mdss-dsi-h-left-border = <0>;
59 qcom,mdss-dsi-h-right-border = <0>;
60 qcom,mdss-dsi-v-top-border = <0>;
61 qcom,mdss-dsi-v-bottom-border = <0>;
62 qcom,mdss-dsi-panel-framerate = <120>;
63 qcom,mdss-dsi-on-command =
64 [/* exit sleep mode, wait 0ms */
65 05 01 00 00 00 00 01 29];
66 /* Set display on, wait 16ms */
67 qcom,mdss-dsi-on-command-state = "dsi_lp_mode";
68 qcom,mdss-dsi-off-command =
69 [05 01 00 00 00 00 02 28 00
70 05 01 00 00 00 00 02 10 00];
71 qcom,mdss-dsi-off-command-state = "dsi_hs_mode";
72 };
73 timing@1{
Dhaval Patela2ed7bc2017-10-29 23:29:14 -070074 qcom,mdss-dsi-panel-width = <720>;
75 qcom,mdss-dsi-panel-height = <2560>;
76 qcom,mdss-dsi-h-front-porch = <100>;
77 qcom,mdss-dsi-h-back-porch = <32>;
Jeykumar Sankaran446a5f12017-05-09 20:30:39 -070078 qcom,mdss-dsi-h-pulse-width = <16>;
79 qcom,mdss-dsi-h-sync-skew = <0>;
Dhaval Patela2ed7bc2017-10-29 23:29:14 -070080 qcom,mdss-dsi-v-back-porch = <7>;
Jeykumar Sankaran446a5f12017-05-09 20:30:39 -070081 qcom,mdss-dsi-v-front-porch = <8>;
Dhaval Patela2ed7bc2017-10-29 23:29:14 -070082 qcom,mdss-dsi-v-pulse-width = <1>;
83 qcom,mdss-dsi-h-sync-pulse = <0>;
Jeykumar Sankaran446a5f12017-05-09 20:30:39 -070084 qcom,mdss-dsi-h-left-border = <0>;
85 qcom,mdss-dsi-h-right-border = <0>;
86 qcom,mdss-dsi-v-top-border = <0>;
87 qcom,mdss-dsi-v-bottom-border = <0>;
Jeykumar Sankaran446a5f12017-05-09 20:30:39 -070088 qcom,mdss-dsi-panel-framerate = <60>;
89 qcom,mdss-dsi-on-command =
Dhaval Patel9e017f32017-07-26 15:17:54 -070090 [/* exit sleep mode, wait 0ms */
91 05 01 00 00 00 00 01 29];
Jeykumar Sankaran446a5f12017-05-09 20:30:39 -070092 qcom,mdss-dsi-on-command-state = "dsi_lp_mode";
93 qcom,mdss-dsi-off-command =
Dhaval Patel9e017f32017-07-26 15:17:54 -070094 [05 01 00 00 00 00 02 28 00
95 05 01 00 00 00 00 02 10 00];
96 qcom,mdss-dsi-off-command-state = "dsi_hs_mode";
97 };
98 timing@2{
99 qcom,mdss-dsi-panel-width = <1080>;
100 qcom,mdss-dsi-panel-height = <3840>;
101 qcom,mdss-dsi-h-front-porch = <30>;
102 qcom,mdss-dsi-h-back-porch = <100>;
103 qcom,mdss-dsi-h-pulse-width = <4>;
104 qcom,mdss-dsi-h-sync-skew = <0>;
105 qcom,mdss-dsi-v-back-porch = <7>;
106 qcom,mdss-dsi-v-front-porch = <8>;
107 qcom,mdss-dsi-v-pulse-width = <1>;
108 qcom,mdss-dsi-h-sync-pulse = <0>;
109 qcom,mdss-dsi-panel-framerate = <40>;
110 qcom,mdss-dsi-on-command =
111 [/* exit sleep mode, wait 0ms */
112 05 01 00 00 00 00 01 29];
113 qcom,mdss-dsi-on-command-state = "dsi_lp_mode";
114 qcom,mdss-dsi-off-command =
115 [05 01 00 00 00 00 02 28 00
116 05 01 00 00 00 00 02 10 00];
Jeykumar Sankaran446a5f12017-05-09 20:30:39 -0700117 qcom,mdss-dsi-off-command-state = "dsi_hs_mode";
118 };
119 };
Shashank Babu Chinta Venkata24bdd052017-02-24 14:29:09 -0800120 };
121};