Rajkumar Subbiah | 01671a4 | 2017-07-14 16:41:01 -0400 | [diff] [blame^] | 1 | /* Copyright (c) 2016-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_dsc_375_cmd: qcom,mdss_dsi_dual_sim_dsc_375_cmd { |
| 15 | qcom,mdss-dsi-panel-name = |
| 16 | "Sim dual cmd mode DSC 3.75:1 dsi panel"; |
| 17 | qcom,mdss-dsi-panel-type = "dsi_cmd_mode"; |
| 18 | qcom,mdss-dsi-virtual-channel-id = <0>; |
| 19 | qcom,mdss-dsi-stream = <0>; |
| 20 | qcom,mdss-dsi-bpp = <24>; |
| 21 | qcom,mdss-dsi-color-order = "rgb_swap_rgb"; |
| 22 | qcom,mdss-dsi-underflow-color = <0xff>; |
| 23 | qcom,mdss-dsi-border-color = <0>; |
| 24 | qcom,mdss-dsi-traffic-mode = "non_burst_sync_event"; |
| 25 | qcom,mdss-dsi-bllp-eof-power-mode; |
| 26 | qcom,mdss-dsi-bllp-power-mode; |
| 27 | qcom,cmd-sync-wait-broadcast; |
| 28 | qcom,mdss-dsi-lane-0-state; |
| 29 | qcom,mdss-dsi-lane-1-state; |
| 30 | qcom,mdss-dsi-lane-2-state; |
| 31 | qcom,mdss-dsi-lane-3-state; |
| 32 | qcom,mdss-dsi-hor-line-idle = <0 40 256>, |
| 33 | <40 120 128>, |
| 34 | <120 240 64>; |
| 35 | qcom,mdss-dsi-reset-sequence = <1 10>, <0 10>, <1 10>; |
| 36 | qcom,mdss-dsi-bl-max-level = <4095>; |
| 37 | qcom,mdss-dsi-dma-trigger = "trigger_sw"; |
| 38 | qcom,mdss-dsi-mdp-trigger = "none"; |
| 39 | qcom,mdss-dsi-te-pin-select = <1>; |
| 40 | qcom,mdss-dsi-wr-mem-start = <0x2c>; |
| 41 | qcom,mdss-dsi-wr-mem-continue = <0x3c>; |
| 42 | qcom,mdss-dsi-te-dcs-command = <1>; |
| 43 | qcom,mdss-dsi-te-check-enable; |
| 44 | qcom,mdss-dsi-te-using-wd; |
| 45 | qcom,mdss-dsi-te-using-te-pin; |
| 46 | qcom,panel-ack-disabled; |
| 47 | |
| 48 | qcom,mdss-dsi-display-timings { |
| 49 | timing@0 { |
| 50 | qcom,mdss-dsi-panel-width = <1080>; |
| 51 | qcom,mdss-dsi-panel-height = <3840>; |
| 52 | qcom,mdss-dsi-h-front-porch = <30>; |
| 53 | qcom,mdss-dsi-h-back-porch = <100>; |
| 54 | qcom,mdss-dsi-h-pulse-width = <4>; |
| 55 | qcom,mdss-dsi-h-sync-skew = <0>; |
| 56 | qcom,mdss-dsi-v-back-porch = <7>; |
| 57 | qcom,mdss-dsi-v-front-porch = <8>; |
| 58 | qcom,mdss-dsi-v-pulse-width = <1>; |
| 59 | qcom,mdss-dsi-h-sync-pulse = <0>; |
| 60 | qcom,mdss-dsi-panel-framerate = <60>; |
| 61 | |
| 62 | qcom,mdss-dsi-on-command = [ |
| 63 | 39 01 00 00 00 00 11 91 09 20 00 20 02 |
| 64 | 00 03 1c 04 21 00 |
| 65 | 0f 03 19 01 97 |
| 66 | 39 01 00 00 00 00 03 92 10 f0 |
| 67 | 15 01 00 00 00 00 02 90 03 |
| 68 | 15 01 00 00 00 00 02 03 01 |
| 69 | 39 01 00 00 00 00 06 f0 55 aa 52 08 04 |
| 70 | 15 01 00 00 00 00 02 c0 03 |
| 71 | 39 01 00 00 00 00 06 f0 55 aa 52 08 07 |
| 72 | 15 01 00 00 00 00 02 ef 01 |
| 73 | 39 01 00 00 00 00 06 f0 55 aa 52 08 00 |
| 74 | 15 01 00 00 00 00 02 b4 01 |
| 75 | 15 01 00 00 00 00 02 35 00 |
| 76 | 39 01 00 00 00 00 06 f0 55 aa 52 08 01 |
| 77 | 39 01 00 00 00 00 05 ff aa 55 a5 80 |
| 78 | 15 01 00 00 00 00 02 6f 01 |
| 79 | 15 01 00 00 00 00 02 f3 10 |
| 80 | 39 01 00 00 00 00 05 ff aa 55 a5 00 |
| 81 | /* sleep out + delay 120ms */ |
| 82 | 05 01 00 00 78 00 01 11 |
| 83 | /* display on + delay 120ms */ |
| 84 | 05 01 00 00 78 00 01 29 |
| 85 | ]; |
| 86 | qcom,mdss-dsi-on-command-state = "dsi_lp_mode"; |
| 87 | qcom,mdss-dsi-off-command = |
| 88 | [05 01 00 00 78 00 02 28 00 |
| 89 | 05 01 00 00 78 00 02 10 00]; |
| 90 | qcom,mdss-dsi-off-command-state = "dsi_hs_mode"; |
| 91 | |
| 92 | qcom,compression-mode = "dsc"; |
| 93 | qcom,mdss-dsc-slice-height = <32>; |
| 94 | qcom,mdss-dsc-slice-width = <1080>; |
| 95 | qcom,mdss-dsc-slice-per-pkt = <1>; |
| 96 | qcom,mdss-dsc-bit-per-component = <10>; |
| 97 | qcom,mdss-dsc-bit-per-pixel = <8>; |
| 98 | qcom,mdss-dsc-block-prediction-enable; |
| 99 | }; |
| 100 | timing@1 { |
| 101 | qcom,mdss-dsi-panel-framerate = <60>; |
| 102 | qcom,mdss-dsi-panel-width = <720>; |
| 103 | qcom,mdss-dsi-panel-height = <2560>; |
| 104 | qcom,mdss-dsi-h-front-porch = <100>; |
| 105 | qcom,mdss-dsi-h-back-porch = <32>; |
| 106 | qcom,mdss-dsi-h-pulse-width = <16>; |
| 107 | qcom,mdss-dsi-h-sync-skew = <0>; |
| 108 | qcom,mdss-dsi-v-back-porch = <7>; |
| 109 | qcom,mdss-dsi-v-front-porch = <8>; |
| 110 | qcom,mdss-dsi-v-pulse-width = <1>; |
| 111 | qcom,mdss-dsi-h-left-border = <0>; |
| 112 | qcom,mdss-dsi-h-right-border = <0>; |
| 113 | qcom,mdss-dsi-v-top-border = <0>; |
| 114 | qcom,mdss-dsi-v-bottom-border = <0>; |
| 115 | qcom,mdss-dsi-h-sync-pulse = <0>; |
| 116 | qcom,mdss-dsi-on-command = [ |
| 117 | /* CMD2_P0 */ |
| 118 | 15 01 00 00 00 00 02 FF 20 |
| 119 | 15 01 00 00 00 00 02 fb 01 |
| 120 | 15 01 00 00 00 00 02 00 01 |
| 121 | 15 01 00 00 00 00 02 01 55 |
| 122 | 15 01 00 00 00 00 02 02 45 |
| 123 | 15 01 00 00 00 00 02 05 40 |
| 124 | 15 01 00 00 00 00 02 06 19 |
| 125 | 15 01 00 00 00 00 02 07 1E |
| 126 | 15 01 00 00 00 00 02 0B 73 |
| 127 | 15 01 00 00 00 00 02 0C 73 |
| 128 | 15 01 00 00 00 00 02 0E B0 |
| 129 | 15 01 00 00 00 00 02 0F AE |
| 130 | 15 01 00 00 00 00 02 11 B8 |
| 131 | 15 01 00 00 00 00 02 13 00 |
| 132 | 15 01 00 00 00 00 02 58 80 |
| 133 | 15 01 00 00 00 00 02 59 01 |
| 134 | 15 01 00 00 00 00 02 5A 00 |
| 135 | 15 01 00 00 00 00 02 5B 01 |
| 136 | 15 01 00 00 00 00 02 5C 80 |
| 137 | 15 01 00 00 00 00 02 5D 81 |
| 138 | 15 01 00 00 00 00 02 5E 00 |
| 139 | 15 01 00 00 00 00 02 5F 01 |
| 140 | 15 01 00 00 00 00 02 72 31 |
| 141 | 15 01 00 00 00 00 02 68 03 |
| 142 | /* CMD2_P4 */ |
| 143 | 15 01 00 00 00 00 02 ff 24 |
| 144 | 15 01 00 00 00 00 02 fb 01 |
| 145 | 15 01 00 00 00 00 02 00 1C |
| 146 | 15 01 00 00 00 00 02 01 0B |
| 147 | 15 01 00 00 00 00 02 02 0C |
| 148 | 15 01 00 00 00 00 02 03 01 |
| 149 | 15 01 00 00 00 00 02 04 0F |
| 150 | 15 01 00 00 00 00 02 05 10 |
| 151 | 15 01 00 00 00 00 02 06 10 |
| 152 | 15 01 00 00 00 00 02 07 10 |
| 153 | 15 01 00 00 00 00 02 08 89 |
| 154 | 15 01 00 00 00 00 02 09 8A |
| 155 | 15 01 00 00 00 00 02 0A 13 |
| 156 | 15 01 00 00 00 00 02 0B 13 |
| 157 | 15 01 00 00 00 00 02 0C 15 |
| 158 | 15 01 00 00 00 00 02 0D 15 |
| 159 | 15 01 00 00 00 00 02 0E 17 |
| 160 | 15 01 00 00 00 00 02 0F 17 |
| 161 | 15 01 00 00 00 00 02 10 1C |
| 162 | 15 01 00 00 00 00 02 11 0B |
| 163 | 15 01 00 00 00 00 02 12 0C |
| 164 | 15 01 00 00 00 00 02 13 01 |
| 165 | 15 01 00 00 00 00 02 14 0F |
| 166 | 15 01 00 00 00 00 02 15 10 |
| 167 | 15 01 00 00 00 00 02 16 10 |
| 168 | 15 01 00 00 00 00 02 17 10 |
| 169 | 15 01 00 00 00 00 02 18 89 |
| 170 | 15 01 00 00 00 00 02 19 8A |
| 171 | 15 01 00 00 00 00 02 1A 13 |
| 172 | 15 01 00 00 00 00 02 1B 13 |
| 173 | 15 01 00 00 00 00 02 1C 15 |
| 174 | 15 01 00 00 00 00 02 1D 15 |
| 175 | 15 01 00 00 00 00 02 1E 17 |
| 176 | 15 01 00 00 00 00 02 1F 17 |
| 177 | /* STV */ |
| 178 | 15 01 00 00 00 00 02 20 40 |
| 179 | 15 01 00 00 00 00 02 21 01 |
| 180 | 15 01 00 00 00 00 02 22 00 |
| 181 | 15 01 00 00 00 00 02 23 40 |
| 182 | 15 01 00 00 00 00 02 24 40 |
| 183 | 15 01 00 00 00 00 02 25 6D |
| 184 | 15 01 00 00 00 00 02 26 40 |
| 185 | 15 01 00 00 00 00 02 27 40 |
| 186 | /* Vend */ |
| 187 | 15 01 00 00 00 00 02 E0 00 |
| 188 | 15 01 00 00 00 00 02 DC 21 |
| 189 | 15 01 00 00 00 00 02 DD 22 |
| 190 | 15 01 00 00 00 00 02 DE 07 |
| 191 | 15 01 00 00 00 00 02 DF 07 |
| 192 | 15 01 00 00 00 00 02 E3 6D |
| 193 | 15 01 00 00 00 00 02 E1 07 |
| 194 | 15 01 00 00 00 00 02 E2 07 |
| 195 | /* UD */ |
| 196 | 15 01 00 00 00 00 02 29 D8 |
| 197 | 15 01 00 00 00 00 02 2A 2A |
| 198 | /* CLK */ |
| 199 | 15 01 00 00 00 00 02 4B 03 |
| 200 | 15 01 00 00 00 00 02 4C 11 |
| 201 | 15 01 00 00 00 00 02 4D 10 |
| 202 | 15 01 00 00 00 00 02 4E 01 |
| 203 | 15 01 00 00 00 00 02 4F 01 |
| 204 | 15 01 00 00 00 00 02 50 10 |
| 205 | 15 01 00 00 00 00 02 51 00 |
| 206 | 15 01 00 00 00 00 02 52 80 |
| 207 | 15 01 00 00 00 00 02 53 00 |
| 208 | 15 01 00 00 00 00 02 56 00 |
| 209 | 15 01 00 00 00 00 02 54 07 |
| 210 | 15 01 00 00 00 00 02 58 07 |
| 211 | 15 01 00 00 00 00 02 55 25 |
| 212 | /* Reset XDONB */ |
| 213 | 15 01 00 00 00 00 02 5B 43 |
| 214 | 15 01 00 00 00 00 02 5C 00 |
| 215 | 15 01 00 00 00 00 02 5F 73 |
| 216 | 15 01 00 00 00 00 02 60 73 |
| 217 | 15 01 00 00 00 00 02 63 22 |
| 218 | 15 01 00 00 00 00 02 64 00 |
| 219 | 15 01 00 00 00 00 02 67 08 |
| 220 | 15 01 00 00 00 00 02 68 04 |
| 221 | /* Resolution:1440x2560*/ |
| 222 | 15 01 00 00 00 00 02 72 02 |
| 223 | /* mux */ |
| 224 | 15 01 00 00 00 00 02 7A 80 |
| 225 | 15 01 00 00 00 00 02 7B 91 |
| 226 | 15 01 00 00 00 00 02 7C D8 |
| 227 | 15 01 00 00 00 00 02 7D 60 |
| 228 | 15 01 00 00 00 00 02 7F 15 |
| 229 | 15 01 00 00 00 00 02 75 15 |
| 230 | /* ABOFF */ |
| 231 | 15 01 00 00 00 00 02 B3 C0 |
| 232 | 15 01 00 00 00 00 02 B4 00 |
| 233 | 15 01 00 00 00 00 02 B5 00 |
| 234 | /* Source EQ */ |
| 235 | 15 01 00 00 00 00 02 78 00 |
| 236 | 15 01 00 00 00 00 02 79 00 |
| 237 | 15 01 00 00 00 00 02 80 00 |
| 238 | 15 01 00 00 00 00 02 83 00 |
| 239 | /* FP BP */ |
| 240 | 15 01 00 00 00 00 02 93 0A |
| 241 | 15 01 00 00 00 00 02 94 0A |
| 242 | /* Inversion Type */ |
| 243 | 15 01 00 00 00 00 02 8A 00 |
| 244 | 15 01 00 00 00 00 02 9B FF |
| 245 | /* IMGSWAP =1 @PortSwap=1 */ |
| 246 | 15 01 00 00 00 00 02 9D B0 |
| 247 | 15 01 00 00 00 00 02 9F 63 |
| 248 | 15 01 00 00 00 00 02 98 10 |
| 249 | /* FRM */ |
| 250 | 15 01 00 00 00 00 02 EC 00 |
| 251 | /* CMD1 */ |
| 252 | 15 01 00 00 00 00 02 ff 10 |
| 253 | /* VBP+VSA=,VFP = 10H */ |
| 254 | 15 01 00 00 00 00 04 3B 03 0A 0A |
| 255 | /* FTE on */ |
| 256 | 15 01 00 00 00 00 02 35 00 |
| 257 | /* EN_BK =1(auto black) */ |
| 258 | 15 01 00 00 00 00 02 E5 01 |
| 259 | /* CMD mode(10) VDO mode(03) */ |
| 260 | 15 01 00 00 00 00 02 BB 10 |
| 261 | /* Non Reload MTP */ |
| 262 | 15 01 00 00 00 00 02 FB 01 |
| 263 | /* SlpOut + DispOn */ |
| 264 | 05 01 00 00 78 00 02 11 00 |
| 265 | 05 01 00 00 78 00 02 29 00 |
| 266 | ]; |
| 267 | qcom,mdss-dsi-off-command = [05 01 00 00 78 00 |
| 268 | 02 28 00 05 01 00 00 78 00 02 10 00]; |
| 269 | qcom,mdss-dsi-on-command-state = "dsi_lp_mode"; |
| 270 | qcom,mdss-dsi-off-command-state = "dsi_hs_mode"; |
| 271 | qcom,compression-mode = "dsc"; |
| 272 | qcom,mdss-dsc-slice-height = <16>; |
| 273 | qcom,mdss-dsc-slice-width = <720>; |
| 274 | qcom,mdss-dsc-slice-per-pkt = <1>; |
| 275 | qcom,mdss-dsc-bit-per-component = <10>; |
| 276 | qcom,mdss-dsc-bit-per-pixel = <8>; |
| 277 | qcom,mdss-dsc-block-prediction-enable; |
| 278 | }; |
| 279 | }; |
| 280 | }; |
| 281 | }; |