Shashank Babu Chinta Venkata | 24bdd05 | 2017-02-24 14:29:09 -0800 | [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_nt35597_truly_video: qcom,mdss_dsi_nt35597_wqxga_video_truly { |
| 15 | qcom,mdss-dsi-panel-name = |
| 16 | "Dual nt35597 video mode dsi truly panel without DSC"; |
| 17 | qcom,mdss-dsi-panel-type = "dsi_video_mode"; |
| 18 | qcom,mdss-dsi-panel-framerate = <60>; |
| 19 | qcom,mdss-dsi-virtual-channel-id = <0>; |
| 20 | qcom,mdss-dsi-stream = <0>; |
| 21 | qcom,mdss-dsi-panel-width = <720>; |
| 22 | qcom,mdss-dsi-panel-height = <2560>; |
| 23 | qcom,mdss-dsi-h-front-porch = <100>; |
| 24 | qcom,mdss-dsi-h-back-porch = <32>; |
| 25 | qcom,mdss-dsi-h-pulse-width = <16>; |
| 26 | qcom,mdss-dsi-h-sync-skew = <0>; |
| 27 | qcom,mdss-dsi-v-back-porch = <7>; |
| 28 | qcom,mdss-dsi-v-front-porch = <8>; |
| 29 | qcom,mdss-dsi-v-pulse-width = <1>; |
| 30 | qcom,mdss-dsi-bpp = <24>; |
| 31 | qcom,mdss-dsi-underflow-color = <0x3ff>; |
| 32 | qcom,mdss-dsi-border-color = <0>; |
Ping Li | 15f1ec5 | 2017-07-07 15:11:02 -0700 | [diff] [blame] | 33 | qcom,mdss-dsi-panel-hdr-enabled; |
| 34 | qcom,mdss-dsi-panel-hdr-color-primaries = <14500 15500 32000 |
| 35 | 17000 15500 30000 8000 3000>; |
| 36 | qcom,mdss-dsi-panel-peak-brightness = <4200000>; |
| 37 | qcom,mdss-dsi-panel-blackness-level = <3230>; |
Shashank Babu Chinta Venkata | 24bdd05 | 2017-02-24 14:29:09 -0800 | [diff] [blame] | 38 | qcom,mdss-dsi-on-command = [ |
| 39 | /* CMD2_P0 */ |
| 40 | 15 01 00 00 00 00 02 FF 20 |
| 41 | 15 01 00 00 00 00 02 FB 01 |
| 42 | 15 01 00 00 00 00 02 00 01 |
| 43 | 15 01 00 00 00 00 02 01 55 |
| 44 | 15 01 00 00 00 00 02 02 45 |
| 45 | 15 01 00 00 00 00 02 05 40 |
| 46 | 15 01 00 00 00 00 02 06 19 |
| 47 | 15 01 00 00 00 00 02 07 1E |
| 48 | 15 01 00 00 00 00 02 0B 73 |
| 49 | 15 01 00 00 00 00 02 0C 73 |
| 50 | 15 01 00 00 00 00 02 0E B0 |
| 51 | 15 01 00 00 00 00 02 0F AE |
| 52 | 15 01 00 00 00 00 02 11 B8 |
| 53 | 15 01 00 00 00 00 02 13 00 |
| 54 | 15 01 00 00 00 00 02 58 80 |
| 55 | 15 01 00 00 00 00 02 59 01 |
| 56 | 15 01 00 00 00 00 02 5A 00 |
| 57 | 15 01 00 00 00 00 02 5B 01 |
| 58 | 15 01 00 00 00 00 02 5C 80 |
| 59 | 15 01 00 00 00 00 02 5D 81 |
| 60 | 15 01 00 00 00 00 02 5E 00 |
| 61 | 15 01 00 00 00 00 02 5F 01 |
| 62 | 15 01 00 00 00 00 02 72 31 |
| 63 | 15 01 00 00 00 00 02 68 03 |
| 64 | /* CMD2_P4 */ |
| 65 | 15 01 00 00 00 00 02 FF 24 |
| 66 | 15 01 00 00 00 00 02 FB 01 |
| 67 | 15 01 00 00 00 00 02 00 1C |
| 68 | 15 01 00 00 00 00 02 01 0B |
| 69 | 15 01 00 00 00 00 02 02 0C |
| 70 | 15 01 00 00 00 00 02 03 01 |
| 71 | 15 01 00 00 00 00 02 04 0F |
| 72 | 15 01 00 00 00 00 02 05 10 |
| 73 | 15 01 00 00 00 00 02 06 10 |
| 74 | 15 01 00 00 00 00 02 07 10 |
| 75 | 15 01 00 00 00 00 02 08 89 |
| 76 | 15 01 00 00 00 00 02 09 8A |
| 77 | 15 01 00 00 00 00 02 0A 13 |
| 78 | 15 01 00 00 00 00 02 0B 13 |
| 79 | 15 01 00 00 00 00 02 0C 15 |
| 80 | 15 01 00 00 00 00 02 0D 15 |
| 81 | 15 01 00 00 00 00 02 0E 17 |
| 82 | 15 01 00 00 00 00 02 0F 17 |
| 83 | 15 01 00 00 00 00 02 10 1C |
| 84 | 15 01 00 00 00 00 02 11 0B |
| 85 | 15 01 00 00 00 00 02 12 0C |
| 86 | 15 01 00 00 00 00 02 13 01 |
| 87 | 15 01 00 00 00 00 02 14 0F |
| 88 | 15 01 00 00 00 00 02 15 10 |
| 89 | 15 01 00 00 00 00 02 16 10 |
| 90 | 15 01 00 00 00 00 02 17 10 |
| 91 | 15 01 00 00 00 00 02 18 89 |
| 92 | 15 01 00 00 00 00 02 19 8A |
| 93 | 15 01 00 00 00 00 02 1A 13 |
| 94 | 15 01 00 00 00 00 02 1B 13 |
| 95 | 15 01 00 00 00 00 02 1C 15 |
| 96 | 15 01 00 00 00 00 02 1D 15 |
| 97 | 15 01 00 00 00 00 02 1E 17 |
| 98 | 15 01 00 00 00 00 02 1F 17 |
| 99 | /* STV */ |
| 100 | 15 01 00 00 00 00 02 20 40 |
| 101 | 15 01 00 00 00 00 02 21 01 |
| 102 | 15 01 00 00 00 00 02 22 00 |
| 103 | 15 01 00 00 00 00 02 23 40 |
| 104 | 15 01 00 00 00 00 02 24 40 |
| 105 | 15 01 00 00 00 00 02 25 6D |
| 106 | 15 01 00 00 00 00 02 26 40 |
| 107 | 15 01 00 00 00 00 02 27 40 |
| 108 | /* Vend */ |
| 109 | 15 01 00 00 00 00 02 E0 00 |
| 110 | 15 01 00 00 00 00 02 DC 21 |
| 111 | 15 01 00 00 00 00 02 DD 22 |
| 112 | 15 01 00 00 00 00 02 DE 07 |
| 113 | 15 01 00 00 00 00 02 DF 07 |
| 114 | 15 01 00 00 00 00 02 E3 6D |
| 115 | 15 01 00 00 00 00 02 E1 07 |
| 116 | 15 01 00 00 00 00 02 E2 07 |
| 117 | /* UD */ |
| 118 | 15 01 00 00 00 00 02 29 D8 |
| 119 | 15 01 00 00 00 00 02 2A 2A |
| 120 | /* CLK */ |
| 121 | 15 01 00 00 00 00 02 4B 03 |
| 122 | 15 01 00 00 00 00 02 4C 11 |
| 123 | 15 01 00 00 00 00 02 4D 10 |
| 124 | 15 01 00 00 00 00 02 4E 01 |
| 125 | 15 01 00 00 00 00 02 4F 01 |
| 126 | 15 01 00 00 00 00 02 50 10 |
| 127 | 15 01 00 00 00 00 02 51 00 |
| 128 | 15 01 00 00 00 00 02 52 80 |
| 129 | 15 01 00 00 00 00 02 53 00 |
| 130 | 15 01 00 00 00 00 02 56 00 |
| 131 | 15 01 00 00 00 00 02 54 07 |
| 132 | 15 01 00 00 00 00 02 58 07 |
| 133 | 15 01 00 00 00 00 02 55 25 |
| 134 | /* Reset XDONB */ |
| 135 | 15 01 00 00 00 00 02 5B 43 |
| 136 | 15 01 00 00 00 00 02 5C 00 |
| 137 | 15 01 00 00 00 00 02 5F 73 |
| 138 | 15 01 00 00 00 00 02 60 73 |
| 139 | 15 01 00 00 00 00 02 63 22 |
| 140 | 15 01 00 00 00 00 02 64 00 |
| 141 | 15 01 00 00 00 00 02 67 08 |
| 142 | 15 01 00 00 00 00 02 68 04 |
| 143 | /* Resolution:1440x2560*/ |
| 144 | 15 01 00 00 00 00 02 72 02 |
| 145 | /* mux */ |
| 146 | 15 01 00 00 00 00 02 7A 80 |
| 147 | 15 01 00 00 00 00 02 7B 91 |
| 148 | 15 01 00 00 00 00 02 7C D8 |
| 149 | 15 01 00 00 00 00 02 7D 60 |
| 150 | 15 01 00 00 00 00 02 7F 15 |
| 151 | 15 01 00 00 00 00 02 75 15 |
| 152 | /* ABOFF */ |
| 153 | 15 01 00 00 00 00 02 B3 C0 |
| 154 | 15 01 00 00 00 00 02 B4 00 |
| 155 | 15 01 00 00 00 00 02 B5 00 |
| 156 | /* Source EQ */ |
| 157 | 15 01 00 00 00 00 02 78 00 |
| 158 | 15 01 00 00 00 00 02 79 00 |
| 159 | 15 01 00 00 00 00 02 80 00 |
| 160 | 15 01 00 00 00 00 02 83 00 |
| 161 | /* FP BP */ |
| 162 | 15 01 00 00 00 00 02 93 0A |
| 163 | 15 01 00 00 00 00 02 94 0A |
| 164 | /* Inversion Type */ |
| 165 | 15 01 00 00 00 00 02 8A 00 |
| 166 | 15 01 00 00 00 00 02 9B FF |
| 167 | /* IMGSWAP =1 @PortSwap=1 */ |
| 168 | 15 01 00 00 00 00 02 9D B0 |
| 169 | 15 01 00 00 00 00 02 9F 63 |
| 170 | 15 01 00 00 00 00 02 98 10 |
| 171 | /* FRM */ |
| 172 | 15 01 00 00 00 00 02 EC 00 |
| 173 | /* CMD1 */ |
| 174 | 15 01 00 00 00 00 02 FF 10 |
| 175 | /* VBP+VSA=,VFP = 10H */ |
| 176 | 15 01 00 00 00 00 04 3B 03 0A 0A |
| 177 | /* FTE on */ |
| 178 | 15 01 00 00 00 00 02 35 00 |
| 179 | /* EN_BK =1(auto black) */ |
| 180 | 15 01 00 00 00 00 02 E5 01 |
| 181 | /* CMD mode(10) VDO mode(03) */ |
| 182 | 15 01 00 00 00 00 02 BB 03 |
| 183 | /* Non Reload MTP */ |
| 184 | 15 01 00 00 00 00 02 FB 01 |
| 185 | /* SlpOut + DispOn */ |
| 186 | 05 01 00 00 78 00 02 11 00 |
| 187 | 05 01 00 00 78 00 02 29 00 |
| 188 | ]; |
| 189 | qcom,mdss-dsi-off-command = [05 01 00 00 78 00 02 28 00 |
| 190 | 05 01 00 00 78 00 02 10 00]; |
| 191 | qcom,mdss-dsi-on-command-state = "dsi_lp_mode"; |
| 192 | qcom,mdss-dsi-off-command-state = "dsi_hs_mode"; |
| 193 | qcom,mdss-dsi-h-sync-pulse = <0>; |
| 194 | qcom,mdss-dsi-traffic-mode = "non_burst_sync_event"; |
| 195 | qcom,mdss-dsi-bllp-eof-power-mode; |
| 196 | qcom,mdss-dsi-bllp-power-mode; |
| 197 | qcom,mdss-dsi-lane-0-state; |
| 198 | qcom,mdss-dsi-lane-1-state; |
| 199 | qcom,mdss-dsi-lane-2-state; |
| 200 | qcom,mdss-dsi-lane-3-state; |
| 201 | qcom,cmd-sync-wait-broadcast; |
| 202 | qcom,mdss-dsi-dma-trigger = "trigger_sw"; |
| 203 | qcom,mdss-dsi-mdp-trigger = "none"; |
| 204 | qcom,mdss-dsi-reset-sequence = <1 20>, <0 20>, <1 50>; |
Vara Reddy | eb2f016 | 2017-07-17 13:02:42 -0700 | [diff] [blame] | 205 | qcom,mdss-pan-physical-width-dimension = <74>; |
| 206 | qcom,mdss-pan-physical-height-dimension = <131>; |
Shashank Babu Chinta Venkata | 24bdd05 | 2017-02-24 14:29:09 -0800 | [diff] [blame] | 207 | qcom,mdss-dsi-tx-eot-append; |
| 208 | |
| 209 | qcom,config-select = <&dsi_dual_nt35597_truly_video_config0>; |
| 210 | |
| 211 | dsi_dual_nt35597_truly_video_config0: config0 { |
| 212 | qcom,split-mode = "dualctl-split"; |
| 213 | }; |
| 214 | |
| 215 | |
| 216 | }; |
| 217 | }; |