dsi-v2-panel-otm8018b-fwvga-video.dtsi 5.7 KB

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