dsi-v2-panel-hx8379a-wvga-video.dtsi 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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_hx8379a_wvga_video {
  14. compatible = "qcom,dsi-panel-v2";
  15. label = "HX8379A WVGA 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 800>;
  21. qcom,mdss-pan-bpp = <24>;
  22. qcom,mdss-pan-dest = "display_1";
  23. qcom,mdss-pan-porch-values = <100 40 70 6 4 6>;
  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 = <1>;
  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 = <2>;
  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 = [75 1A 11 00 3D 45
  44. 15 1D 1C 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. 39 01 00 00 00 04
  56. B9 FF 83 79
  57. 39 01 00 00 00 03
  58. BA 51 93
  59. 39 01 00 00 00 14
  60. B1 00 50 44
  61. EA 8D 08 11
  62. 11 11 27 2F
  63. 9A 1A 42 0B
  64. 6E F1 00 E6
  65. 39 01 00 00 00 0E
  66. B2 00 00 3C
  67. 08 04 19 22
  68. 00 FF 08 04
  69. 19 20
  70. 39 01 00 00 00 20
  71. B4 82 08 00
  72. 32 10 03 32
  73. 13 70 32 10
  74. 08 37 01 28
  75. 07 37 08 3C
  76. 08 44 44 08
  77. 00 40 08 28
  78. 08 30 30 04
  79. 39 01 00 00 00 30
  80. D5 00 00 0A
  81. 00 01 05 00
  82. 03 00 88 88
  83. 88 88 23 01
  84. 67 45 02 13
  85. 88 88 88 88
  86. 88 88 88 88
  87. 88 88 54 76
  88. 10 32 31 20
  89. 88 88 88 88
  90. 88 88 00 00
  91. 00 00 00 00
  92. 39 01 00 00 00 24
  93. E0 79 05 0F
  94. 14 26 29 3F
  95. 2B 44 04 0E
  96. 12 15 18 16
  97. 16 12 15 05
  98. 0F 14 26 29
  99. 3F 2B 44 04
  100. 0E 12 15 18
  101. 16 16 12 15
  102. 23 01 00 00 00 02
  103. cc 02
  104. 39 01 00 00 00 05
  105. B6 00 9C 00 9C
  106. 05 01 00 00 96 02
  107. 11 00
  108. 05 01 00 00 78 02
  109. 29 00
  110. ];
  111. qcom,panel-off-cmds = [05 01 00 00 32 02 28 00
  112. 05 01 00 00 78 02 10 00];
  113. qcom,off-cmds-dsi-state = "DSI_LP_MODE";
  114. };
  115. };