nt36xxx_mp_ctrlram.h 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (C) 2010 - 2018 Novatek, Inc.
  4. *
  5. * $Revision: 46179 $
  6. * $Date: 2019-06-14 13:47:17 +0800 (Fri, 14 Jun 2019) $
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation; either version 2 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful, but WITHOUT
  14. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  15. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  16. * more details.
  17. *
  18. */
  19. #if NVT_TOUCH_MP
  20. static uint32_t IC_X_CFG_SIZE = 18;
  21. static uint32_t IC_Y_CFG_SIZE = 36;
  22. static uint32_t IC_KEY_CFG_SIZE = 4;
  23. static uint32_t X_Channel = 18;
  24. static uint32_t Y_Channel = 36;
  25. static uint32_t Key_Channel = TOUCH_KEY_NUM;
  26. static uint8_t AIN_X[40] =
  27. {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17};
  28. static uint8_t AIN_Y[40] =
  29. {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
  30. 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35};
  31. #if TOUCH_KEY_NUM > 0
  32. static uint8_t AIN_KEY[8] = {0, 1, 2, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF};
  33. #endif /* #if TOUCH_KEY_NUM > 0 */
  34. static int32_t PS_Config_Lmt_Short_Rawdata_P[40 * 40] = {
  35. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  36. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  37. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  38. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  39. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  40. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  41. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  42. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  43. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  44. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  45. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  46. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  47. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  48. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  49. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  50. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  51. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  52. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  53. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  54. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  55. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  56. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  57. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  58. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  59. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  60. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  61. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  62. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  63. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  64. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  65. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  66. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  67. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  68. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  69. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  70. 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
  71. #if TOUCH_KEY_NUM > 0
  72. 14008,14008,14008,
  73. #endif /* #if TOUCH_KEY_NUM > 0 */
  74. };
  75. static int32_t PS_Config_Lmt_Short_Rawdata_N[40 * 40] = {
  76. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  77. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  78. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  79. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  80. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  81. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  82. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  83. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  84. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  85. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  86. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  87. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  88. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  89. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  90. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  91. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  92. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  93. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  94. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  95. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  96. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  97. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  98. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  99. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  100. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  101. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  102. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  103. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  104. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  105. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  106. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  107. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  108. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  109. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  110. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  111. 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
  112. #if TOUCH_KEY_NUM > 0
  113. 10000,10000,10000,
  114. #endif /* #if TOUCH_KEY_NUM > 0 */
  115. };
  116. static int32_t PS_Config_Lmt_Open_Rawdata_P[40 * 40] = {
  117. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  118. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  119. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  120. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  121. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  122. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  123. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  124. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  125. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  126. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  127. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  128. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  129. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  130. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  131. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  132. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  133. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  134. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  135. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  136. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  137. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  138. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  139. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  140. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  141. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  142. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  143. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  144. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  145. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  146. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  147. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  148. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  149. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  150. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  151. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  152. 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
  153. #if TOUCH_KEY_NUM > 0
  154. 5120,5120,5120,
  155. #endif /* #if TOUCH_KEY_NUM > 0 */
  156. };
  157. static int32_t PS_Config_Lmt_Open_Rawdata_N[40 * 40] = {
  158. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  159. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  160. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  161. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  162. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  163. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  164. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  165. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  166. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  167. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  168. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  169. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  170. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  171. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  172. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  173. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  174. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  175. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  176. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  177. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  178. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  179. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  180. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  181. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  182. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  183. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  184. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  185. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  186. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  187. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  188. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  189. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  190. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  191. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  192. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  193. 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
  194. #if TOUCH_KEY_NUM > 0
  195. 50,50,50,
  196. #endif /* #if TOUCH_KEY_NUM > 0 */
  197. };
  198. static int32_t PS_Config_Lmt_FW_Rawdata_P[40 * 40] = {
  199. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  200. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  201. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  202. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  203. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  204. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  205. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  206. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  207. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  208. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  209. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  210. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  211. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  212. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  213. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  214. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  215. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  216. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  217. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  218. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  219. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  220. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  221. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  222. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  223. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  224. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  225. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  226. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  227. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  228. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  229. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  230. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  231. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  232. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  233. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  234. 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
  235. #if TOUCH_KEY_NUM > 0
  236. 2560,2560,2560,
  237. #endif /* #if TOUCH_KEY_NUM > 0 */
  238. };
  239. static int32_t PS_Config_Lmt_FW_Rawdata_N[40 * 40] = {
  240. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  241. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  242. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  243. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  244. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  245. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  246. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  247. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  248. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  249. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  250. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  251. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  252. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  253. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  254. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  255. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  256. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  257. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  258. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  259. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  260. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  261. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  262. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  263. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  264. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  265. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  266. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  267. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  268. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  269. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  270. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  271. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  272. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  273. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  274. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  275. 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
  276. #if TOUCH_KEY_NUM > 0
  277. 240,240,240,
  278. #endif /* #if TOUCH_KEY_NUM > 0 */
  279. };
  280. static int32_t PS_Config_Lmt_FW_CC_P[40 * 40] = {
  281. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  282. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  283. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  284. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  285. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  286. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  287. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  288. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  289. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  290. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  291. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  292. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  293. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  294. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  295. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  296. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  297. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  298. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  299. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  300. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  301. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  302. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  303. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  304. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  305. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  306. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  307. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  308. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  309. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  310. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  311. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  312. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  313. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  314. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  315. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  316. 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
  317. #if TOUCH_KEY_NUM > 0
  318. 314,314,314,
  319. #endif /* #if TOUCH_KEY_NUM > 0 */
  320. };
  321. static int32_t PS_Config_Lmt_FW_CC_N[40 * 40] = {
  322. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  323. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  324. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  325. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  326. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  327. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  328. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  329. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  330. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  331. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  332. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  333. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  334. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  335. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  336. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  337. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  338. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  339. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  340. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  341. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  342. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  343. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  344. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  345. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  346. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  347. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  348. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  349. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  350. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  351. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  352. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  353. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  354. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  355. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  356. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  357. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  358. #if TOUCH_KEY_NUM > 0
  359. 0,0,0,
  360. #endif /* #if TOUCH_KEY_NUM > 0 */
  361. };
  362. static int32_t PS_Config_Lmt_FW_Diff_P[40 * 40] = {
  363. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  364. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  365. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  366. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  367. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  368. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  369. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  370. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  371. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  372. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  373. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  374. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  375. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  376. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  377. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  378. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  379. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  380. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  381. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  382. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  383. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  384. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  385. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  386. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  387. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  388. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  389. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  390. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  391. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  392. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  393. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  394. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  395. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  396. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  397. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  398. 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
  399. #if TOUCH_KEY_NUM > 0
  400. 75,75,75,
  401. #endif /* #if TOUCH_KEY_NUM > 0 */
  402. };
  403. static int32_t PS_Config_Lmt_FW_Diff_N[40 *40] = {
  404. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  405. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  406. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  407. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  408. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  409. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  410. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  411. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  412. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  413. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  414. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  415. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  416. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  417. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  418. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  419. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  420. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  421. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  422. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  423. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  424. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  425. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  426. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  427. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  428. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  429. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  430. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  431. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  432. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  433. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  434. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  435. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  436. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  437. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  438. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  439. -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
  440. #if TOUCH_KEY_NUM > 0
  441. -75,-75,-75,
  442. #endif /* #if TOUCH_KEY_NUM > 0 */
  443. };
  444. static int32_t PS_Config_Diff_Test_Frame = 50;
  445. #endif /* #if NVT_TOUCH_MP */