ShuoYan | d7e2526 | 2013-06-18 18:28:29 +0800 | [diff] [blame] | 1 | /* Copyright (c) 2013, 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 | |
Xiaoming Zhou | 7004fe2 | 2013-08-01 17:54:54 -0400 | [diff] [blame] | 13 | &soc { |
ShuoYan | d7e2526 | 2013-06-18 18:28:29 +0800 | [diff] [blame] | 14 | qcom,dsi_v2_otm8018b_fwvga_video { |
| 15 | compatible = "qcom,dsi-panel-v2"; |
| 16 | label = "OTM8018B FWVGA video mode dsi panel"; |
| 17 | qcom,dsi-ctrl-phandle = <&mdss_dsi0>; |
| 18 | qcom,rst-gpio = <&msmgpio 41 0>; |
| 19 | vdda-supply = <&pm8110_l19>; |
| 20 | vddio-supply=<&pm8110_l14>; |
| 21 | qcom,mdss-pan-res = <480 854>; |
| 22 | qcom,mdss-pan-bpp = <24>; |
| 23 | qcom,mdss-pan-dest = "display_1"; |
| 24 | qcom,mdss-pan-porch-values = <54 8 80 16 2 12>; |
| 25 | qcom,mdss-pan-underflow-clr = <0xff>; |
| 26 | qcom,mdss-pan-bl-levels = <1 255>; |
| 27 | qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; |
| 28 | qcom,mdss-pan-dsi-mode = <0>; |
| 29 | qcom,mdss-pan-dsi-h-pulse-mode = <0>; |
| 30 | qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; |
| 31 | qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; |
| 32 | qcom,mdss-pan-dsi-traffic-mode = <1>; |
| 33 | qcom,mdss-pan-dsi-dst-format = <3>; |
| 34 | qcom,mdss-pan-dsi-vc = <0>; |
| 35 | qcom,mdss-pan-dsi-rgb-swap = <0>; |
| 36 | qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; |
| 37 | qcom,mdss-pan-dsi-dlane-swap = <1>; |
| 38 | qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; |
| 39 | qcom,mdss-pan-dsi-stream = <0>; |
| 40 | qcom,mdss-pan-dsi-mdp-tr = <0x0>;/*todo*/ |
| 41 | qcom,mdss-pan-dsi-dma-tr = <0x04>; |
| 42 | qcom,mdss-pan-dsi-frame-rate = <60>; |
| 43 | qcom,panel-phy-regulatorSettings =[02 08 05 00 20 03]; |
| 44 | qcom,panel-phy-timingSettings = [8B 1F 14 00 45 4A |
| 45 | 19 23 23 03 04 00]; |
| 46 | qcom,panel-phy-strengthCtrl = [ff 06]; |
| 47 | qcom,panel-phy-bistCtrl = [03 03 00 00 0f 00]; |
| 48 | qcom,panel-phy-laneConfig = |
| 49 | [80 45 00 00 01 66 /*lane0**/ |
| 50 | 80 45 00 00 01 66 /*lane1*/ |
| 51 | 80 45 00 00 01 66 /*lane2*/ |
| 52 | 80 45 00 00 01 66 /*lane3*/ |
| 53 | 40 67 00 00 01 88]; /*Clk*/ |
| 54 | |
| 55 | qcom,on-cmds-dsi-state = "DSI_LP_MODE"; |
| 56 | qcom,panel-on-cmds = [ |
| 57 | 29 01 00 00 00 02 |
| 58 | 00 00 |
| 59 | 29 01 00 00 00 04 |
| 60 | ff 80 09 01 |
| 61 | 29 01 00 00 00 02 |
| 62 | 00 80 |
| 63 | 29 01 00 00 00 03 |
| 64 | ff 80 09 |
| 65 | 29 01 00 00 00 02 |
| 66 | 00 80 |
| 67 | 29 01 00 00 00 02 |
| 68 | d6 48 |
| 69 | 29 01 00 00 00 02 |
| 70 | 00 03 |
| 71 | 29 01 00 00 00 02 |
| 72 | ff 01 |
| 73 | 29 01 00 00 00 02 |
| 74 | 00 B4 |
| 75 | 29 01 00 00 00 02 |
| 76 | C0 10 |
| 77 | 29 01 00 00 00 02 |
| 78 | 00 82 |
| 79 | 29 01 00 00 00 02 |
| 80 | C5 A3 |
| 81 | 29 01 00 00 00 02 |
| 82 | 00 90 |
| 83 | 29 01 00 00 00 03 |
| 84 | C5 96 87 |
| 85 | 29 01 00 00 00 02 |
| 86 | 00 00 |
| 87 | 29 01 00 00 00 03 |
| 88 | D8 74 72 |
| 89 | 29 01 00 00 00 02 |
| 90 | 00 00 |
| 91 | 29 01 00 00 00 02 |
| 92 | D9 56 |
| 93 | 29 01 00 00 00 02 |
| 94 | 00 00 |
| 95 | 29 01 00 00 00 11 |
| 96 | E1 00 06 0A |
| 97 | 07 03 16 08 |
| 98 | 0A 04 06 07 |
| 99 | 08 0F 23 22 |
| 100 | 05 |
| 101 | 29 01 00 00 00 02 |
| 102 | 00 00 |
| 103 | 29 01 00 00 00 11 |
| 104 | E2 00 06 0A |
| 105 | 07 03 16 08 |
| 106 | 0A 04 06 07 |
| 107 | 08 0F 23 22 |
| 108 | 05 |
| 109 | 29 01 00 00 00 02 |
| 110 | 00 81 |
| 111 | 29 01 00 00 00 02 |
| 112 | C1 77 |
| 113 | 29 01 00 00 00 02 |
| 114 | 00 A0 |
| 115 | 29 01 00 00 00 02 |
| 116 | C1 EA |
| 117 | 29 01 00 00 00 02 |
| 118 | 00 A1 |
| 119 | 29 01 00 00 00 02 |
| 120 | C1 08 |
| 121 | 29 01 00 00 00 02 |
| 122 | 00 89 |
| 123 | 29 01 00 00 00 02 |
| 124 | C4 08 |
| 125 | 29 01 00 00 00 02 |
| 126 | 00 81 |
| 127 | 29 01 00 00 00 02 |
| 128 | C4 83 |
| 129 | 29 01 00 00 00 02 |
| 130 | 00 92 |
| 131 | 29 01 00 00 00 02 |
| 132 | C5 01 |
| 133 | 29 01 00 00 00 02 |
| 134 | 00 B1 |
| 135 | 29 01 00 00 00 02 |
| 136 | C5 A9 |
| 137 | 29 01 00 00 00 02 |
| 138 | 00 92 |
| 139 | 29 01 00 00 00 02 |
| 140 | B3 45 |
| 141 | 29 01 00 00 00 02 |
| 142 | 00 90 |
| 143 | 29 01 00 00 00 02 |
| 144 | B3 02 |
| 145 | 29 01 00 00 00 02 |
| 146 | 00 80 |
| 147 | 29 01 00 00 00 06 |
| 148 | C0 00 58 00 |
| 149 | 14 16 |
| 150 | 29 01 00 00 00 02 |
| 151 | 00 80 |
| 152 | 29 01 00 00 00 02 |
| 153 | C4 30 |
| 154 | 29 01 00 00 00 02 |
| 155 | 00 90 |
| 156 | 29 01 00 00 00 07 |
| 157 | C0 00 44 00 |
| 158 | 00 00 03 |
| 159 | 29 01 00 00 00 02 |
| 160 | 00 A6 |
| 161 | 29 01 00 00 00 04 |
| 162 | C1 01 00 00 |
| 163 | 29 01 00 00 00 02 |
| 164 | 00 80 |
| 165 | 29 01 00 00 00 0D |
| 166 | CE 87 03 00 |
| 167 | 85 03 00 86 |
| 168 | 03 00 84 03 |
| 169 | 00 |
| 170 | 29 01 00 00 00 02 |
| 171 | 00 A0 |
| 172 | 29 01 00 00 00 0f |
| 173 | CE 38 03 03 |
| 174 | 58 00 00 00 |
| 175 | 38 02 03 59 |
| 176 | 00 00 00 |
| 177 | 29 01 00 00 00 02 |
| 178 | 00 B0 |
| 179 | 29 01 00 00 00 0f |
| 180 | CE 38 01 03 |
| 181 | 5A 00 00 00 |
| 182 | 38 00 03 5B |
| 183 | 00 00 00 |
| 184 | 29 01 00 00 00 02 |
| 185 | 00 C0 |
| 186 | 29 01 00 00 00 0f |
| 187 | CE 30 00 03 |
| 188 | 5C 00 00 00 |
| 189 | 30 01 03 5D |
| 190 | 00 00 00 |
| 191 | 29 01 00 00 00 02 |
| 192 | 00 D0 |
| 193 | 29 01 00 00 00 0f |
| 194 | CE 30 02 03 |
| 195 | 5E 00 00 00 |
| 196 | 30 03 03 5F |
| 197 | 00 00 00 |
| 198 | 29 01 00 00 00 02 |
| 199 | 00 C7 |
| 200 | 29 01 00 00 00 02 |
| 201 | CF 00 |
| 202 | 29 01 00 00 00 02 |
| 203 | 00 C9 |
| 204 | 29 01 00 00 00 02 |
| 205 | CF 00 |
| 206 | 29 01 00 00 00 02 |
| 207 | 00 D0 |
| 208 | 29 01 00 00 00 02 |
| 209 | CF 00 |
| 210 | 29 01 00 00 00 02 |
| 211 | 00 C4 |
| 212 | 29 01 00 00 00 07 |
| 213 | CB 04 04 04 |
| 214 | 04 04 04 |
| 215 | 29 01 00 00 00 02 |
| 216 | 00 D9 |
| 217 | 29 01 00 00 00 07 |
| 218 | CB 04 04 04 |
| 219 | 04 04 04 |
| 220 | 29 01 00 00 00 02 |
| 221 | 00 84 |
| 222 | 29 01 00 00 00 07 |
| 223 | CC 0C 0A 10 |
| 224 | 0E 03 04 |
| 225 | 29 01 00 00 00 02 |
| 226 | 00 9E |
| 227 | 29 01 00 00 00 02 |
| 228 | CC 0B |
| 229 | 29 01 00 00 00 02 |
| 230 | 00 A0 |
| 231 | 29 01 00 00 00 06 |
| 232 | CC 09 0F 0D |
| 233 | 01 02 |
| 234 | 29 01 00 00 00 02 |
| 235 | 00 B4 |
| 236 | 29 01 00 00 00 07 |
| 237 | CC 0D 0F 09 |
| 238 | 0B 02 01 |
| 239 | 29 01 00 00 00 02 |
| 240 | 00 CE |
| 241 | 29 01 00 00 00 02 |
| 242 | CC 0E |
| 243 | 29 01 00 00 00 02 |
| 244 | 00 D0 |
| 245 | 29 01 00 00 00 06 |
| 246 | CC 10 0A 0C |
| 247 | 04 03 |
| 248 | 29 01 00 00 00 02 |
| 249 | 00 00 |
| 250 | 29 01 00 00 00 04 |
| 251 | ff ff ff ff |
| 252 | 05 01 00 00 78 02 |
| 253 | 11 00 |
| 254 | 05 01 00 00 32 02 |
| 255 | 29 00 |
| 256 | ]; |
| 257 | qcom,panel-off-cmds = [05 01 00 00 32 02 28 00 |
| 258 | 05 01 00 00 78 02 10 00]; |
| 259 | qcom,off-cmds-dsi-state = "DSI_LP_MODE"; |
| 260 | }; |
| 261 | }; |