dsi-v2-panel-truly-wvga-video.dtsi 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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_truly_wvga_video {
  14. compatible = "qcom,dsi-panel-v2";
  15. label = "Truly WVGA video mode dsi panel";
  16. qcom,dsi-ctrl-phandle = <&mdss_dsi0>;
  17. qcom,rst-gpio = <&msmgpio 41 0>;
  18. qcom,mode-selection-gpio = <&msmgpio 7 0>;
  19. vdda-supply = <&pm8110_l19>;
  20. vddio-supply=<&pm8110_l14>;
  21. qcom,mdss-pan-res = <480 800>;
  22. qcom,mdss-pan-bpp = <24>;
  23. qcom,mdss-pan-dest = "display_1";
  24. qcom,mdss-pan-porch-values = <40 8 160 10 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 = <0>;
  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 = [5D 12 0C 00 33 38
  45. 10 16 1E 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. qcom,on-cmds-dsi-state = "DSI_LP_MODE";
  55. qcom,panel-on-cmds = [
  56. 05 01 00 00 00 02
  57. 01 00
  58. 23 01 00 00 00 02
  59. b0 04
  60. 29 01 00 00 00 03
  61. b3 02 00
  62. 29 01 00 00 00 03
  63. b6 51 83
  64. 29 01 00 00 00 05
  65. b7 00 80 15 25
  66. 29 01 00 00 00 14
  67. b8 00 07 07 ff c8 c8 01 18 10 10
  68. 37 5a 87 de ff 00 00 00 00
  69. 29 01 00 00 00 05
  70. b9 00 00 00 00
  71. 23 01 00 00 00 02
  72. bd 00
  73. 29 01 00 00 00 03
  74. c0 02 43
  75. 29 01 00 00 00 10
  76. c1 43 31 99 21 20 00 10 28 0c 0c
  77. 00 00 00 21 01
  78. 29 01 00 00 00 07
  79. c2 28 06 06 01 03 00
  80. 29 01 00 00 00 04
  81. c3 40 00 03
  82. 29 01 00 00 00 03
  83. 6f 03 00
  84. 29 01 00 00 00 03
  85. c4 00 01
  86. 29 01 00 00 00 03
  87. c6 00 00
  88. 29 01 00 00 00 06
  89. c7 11 8d a0 f5 27
  90. 29 01 00 00 00 19
  91. c8 01 0a 12 1c 2b 45 3f 29 17 13
  92. 0f 04 01 0a 12 1c 2b 45 3f 29 17 13 0f 04
  93. 29 01 00 00 00 19
  94. c9 01 0a 12 1c 2b 45 3f 29 17 13
  95. 0f 04 01 0a 12 1c 2b 45 3f 29 17 13 0f 04
  96. 29 01 00 00 00 19
  97. ca 01 0a 12 1c 2b 45 3f 29 17 13
  98. 0f 04 01 0a 12 1c 2b 45 3f 29 17 13 0f 04
  99. 29 01 00 00 00 11
  100. d0 99 03 ce a6 00 43 20 10 01 00
  101. 01 01 00 03 01 00
  102. 29 01 00 00 00 08
  103. d1 18 0C 23 03 75 02 50
  104. 23 01 00 00 00 02
  105. d3 33
  106. 29 01 00 00 00 03
  107. d5 2a 2a
  108. 29 01 00 00 00 02
  109. d6 28
  110. 29 01 00 00 00 10
  111. d7 01 00 aa c0 2a 2c 22 12 71 0a 12 00 a0
  112. 00 03
  113. 29 01 00 00 00 09
  114. d8 44 44 22 44 21 46 42 40
  115. 29 01 00 00 00 04
  116. d9 cf 2d 51
  117. 29 01 00 00 00 02
  118. da 01
  119. 29 01 00 00 00 03
  120. de 01 4f
  121. 29 01 00 00 00 07
  122. e1 00 00 00 00 00 00
  123. 23 01 00 00 00 02
  124. e6 4f
  125. 29 01 00 00 00 06
  126. f3 06 00 00 24 00
  127. 29 01 00 00 00 02
  128. f8 00
  129. 23 01 00 00 00 02
  130. fa 03
  131. 29 01 00 00 00 04
  132. fb 00 00 00
  133. 29 01 00 00 00 06
  134. fc 00 00 00 00 00
  135. 29 01 00 00 00 05
  136. fd 00 00 70 00
  137. 39 01 00 00 00 05
  138. 2a 00 00 01 df
  139. 39 01 00 00 00 05
  140. 2b 00 00 03 1f
  141. 15 01 00 00 00 02
  142. 35 00
  143. 39 01 00 00 00 03
  144. 44 00 50
  145. 15 01 00 00 00 02
  146. 36 c1
  147. 15 01 00 00 00 02
  148. 3a 77
  149. 05 01 00 00 7D 02
  150. 11 00
  151. 05 01 00 00 3c 02
  152. 29 00
  153. ];
  154. qcom,panel-off-cmds = [05 01 00 00 32 02 28 00
  155. 05 01 00 00 78 02 10 00
  156. 23 01 00 00 10 02
  157. b0 04
  158. 23 01 00 00 20 02
  159. b1 01];
  160. qcom,off-cmds-dsi-state = "DSI_LP_MODE";
  161. };
  162. };