Kconfig.ic 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. #--------------------------------
  2. # IC Configuration
  3. #--------------------------------
  4. menu "IC Configuration"
  5. choice
  6. prompt "IC Version Config"
  7. config CHIP_330
  8. bool "330"
  9. config CHIP_301
  10. bool "301"
  11. config CHIP_501
  12. bool "501"
  13. config CHIP_502
  14. bool "502"
  15. config CHIP_531
  16. bool "531"
  17. config CHIP_533
  18. bool "533"
  19. config CHIP_512L
  20. bool "512L"
  21. config CHIP_305
  22. bool "305"
  23. config CHIP_506
  24. bool "506"
  25. config CHIP_8501
  26. bool "8501"
  27. config CHIP_8503
  28. bool "8503"
  29. config CHIP_6710
  30. bool "6710"
  31. config CHIP_8506
  32. bool "8506"
  33. endchoice
  34. config CHIPID
  35. hex
  36. default 0x8506 if (CHIP_8506)
  37. default 0x533 if (CHIP_533 || CHIP_512L)
  38. default 0x531 if (CHIP_531)
  39. default 0x330 if (CHIP_330 || CHIP_301 || CHIP_501 || CHIP_502)
  40. default 0x331 if (CHIP_305 || CHIP_506 || CHIP_8501)
  41. default 0x131 if (CHIP_8503)
  42. default 0x6710 if (CHIP_6710)
  43. default 0x330
  44. config DRAMSIZE
  45. #depends on (CHIP_301 || CHIP_305 || CHIP_307 || CHIP_8501)
  46. int
  47. prompt "DRAMSIZE"
  48. default 64 if (CHIP_301 || CHIP_305 || CHIP_307 || CHIP_8501 || CHIP_8503 || CHIP_512L || CHIP_8503E || CHIP_6710)
  49. default 128 if (CHIP_330 || CHIP_501 || CHIP_502 || CHIP_506 || CHIP_531 || CHIP_533)
  50. help
  51. input 64 or 128
  52. config DDR2_64MB
  53. depends on (CHIP_301 || CHIP_305 || CHIP_307 || CHIP_8501 || CHIP_8503 || CHIP_512L || CHIP_8506 || CHIP_8503E || CHIP_6710)
  54. bool
  55. prompt "DDR2 64MB"
  56. default y
  57. help
  58. DDR2 64MB
  59. config SUPPORT_64M_DTV
  60. depends on (CHIP_533 || CHIP_512L || CHIP_8506)
  61. bool
  62. prompt "SUPPORT_64M_DTV(TmpConfigWillBeRemoved)"
  63. default n
  64. help
  65. this is a tmp config, it should depend on the IC number, delete it later
  66. config SUPPORT_32M_ATV
  67. depends on (CHIP_8501 || CHIP_8503 ||CHIP_533)
  68. bool
  69. prompt "SUPPORT_32M_ATV(TmpConfigWillBeRemoved)"
  70. default n
  71. help
  72. this is a tmp config, it should depend on the IC number, delete it later
  73. config 8051_CODE_SIZE
  74. int
  75. prompt "8051 code size"
  76. default 8192 if (CHIP_533)
  77. default 4096
  78. help
  79. 8051 code size 4K or 8K
  80. config SIP_BOOTROM
  81. depends on (CHIP_301 || CHIP_501 || CHIP_502 || CHIP_531 || CHIP_533 || CHIP_305 || CHIP_506 || CHIP_512L || CHIP_8506 || CHIP_8503E || CHIP_6710)
  82. bool
  83. prompt "SIP_BOOTROM"
  84. default y
  85. config 531_A1_IVDD_PATCH
  86. bool
  87. depends on (CHIP_533 || CHIP_531 || CHIP_506 || CHIP_305 || CHIP_8501 || CHIP_8503 || CHIP_512L || CHIP_8506 || CHIP_8503E || CHIP_6710)
  88. prompt "533/512A/531/506/305/8501/8503/8506/8503e IVDD circuit patch"
  89. default n
  90. help
  91. 531 a1/506/305/8501/8503/8506/8503e ivdd circuit patch. say Y if use 531 a1, 506, 305 chip.
  92. if unsure, say N
  93. config DAC_AGC_OUTPUT
  94. depends on (CHIP_305 || CHIP_506 || CHIP_8501 || CHIP_8503 || CHIP_8506 || CHIP_8503E || CHIP_6710)
  95. bool
  96. prompt "DAC AGC Output"
  97. default n
  98. config PLL_FRACTIONAL_MODE
  99. depends on (CHIP_8506)
  100. bool
  101. prompt "PLL Fractional mode"
  102. default n
  103. config USBPLL_CAP_PATCH
  104. depends on (CHIP_8503 || CHIP_8506 || CHIP_8503E || CHIP_6710)
  105. bool
  106. prompt "USBPLL CAP Patch"
  107. default n
  108. menu "IC Simple Test Config"
  109. menu "QSD chip test"
  110. config QSD
  111. bool
  112. prompt "Enable QSD auto machine chip test"
  113. default n
  114. choice
  115. depends on QSD
  116. prompt "ATV channel set frequency"
  117. default FREQ_48725
  118. config FREQ_48725
  119. bool "487.25MHz"
  120. config FREQ_21700
  121. bool "217.00MHz"
  122. endchoice
  123. config QSD_CHECK_KP_01
  124. depends on QSD
  125. bool
  126. prompt "Use Key 0&1 Check ADC"
  127. default n
  128. config QSD_CHECK_KP01_SJT
  129. depends on QSD_CHECK_KP_01
  130. bool
  131. prompt "Use BL_ADJ(GPIO 35) to verify Key 0&1 short path"
  132. default n
  133. config QSD_KP0_1_CHECK_TIMES
  134. depends on QSD_CHECK_KP_01
  135. int
  136. prompt "Keypad 0&1 check times (<256)"
  137. default 10
  138. choice
  139. depends on QSD_CHECK_KP_01
  140. prompt "AUX LDO Voltage for Test Key 0&1"
  141. default LDO_V11
  142. config LDO_V11
  143. bool "Voltage 1.10v"
  144. config LDO_V12
  145. bool "Voltage 1.21v"
  146. endchoice
  147. config QSD_CHECK_KP_23
  148. depends on QSD
  149. bool
  150. prompt "Use Key 2&3 Check ADC"
  151. default n
  152. config QSD_KP2_3_CHECK_TIMES
  153. depends on QSD_CHECK_KP_23
  154. int
  155. prompt "Keypad 2&3 check times"
  156. default 3
  157. config QSD_AUTOIR
  158. bool
  159. prompt "Enable QSD auto IR chip test"
  160. default n
  161. endmenu # QSD chip test
  162. endmenu # IC Simple Test Config
  163. menu "IC Validation Test AP"
  164. config DRIVER_TEST_AP_BUILDIN
  165. bool
  166. prompt "Enable Test AP buildin"
  167. default n
  168. config DRIVER_DEBUG_TOOL_SDEBUG
  169. bool
  170. depends on DRIVER_TEST_AP_BUILDIN
  171. prompt "Enable sdebug AP in /bin"
  172. default n
  173. config DRIVER_DEBUG_TOOL_USBTEST
  174. bool
  175. depends on DRIVER_TEST_AP_BUILDIN
  176. prompt "Enable usbtest AP in /tmp"
  177. default n
  178. config DRIVER_DEBUG_TOOL_VIPTEST
  179. bool
  180. depends on DRIVER_TEST_AP_BUILDIN
  181. prompt "Enable viptest AP in /tmp"
  182. default n
  183. config DRIVER_DEBUG_TOOL_VOFTEST
  184. bool
  185. depends on DRIVER_TEST_AP_BUILDIN
  186. prompt "Enable voftest AP in /tmp"
  187. default n
  188. config DRIVER_DEBUG_TOOL_DRAM
  189. bool
  190. depends on DRIVER_TEST_AP_BUILDIN
  191. prompt "Enable DRAM test AP in /usr/bin"
  192. default n
  193. config DRIVER_DEBUG_TOOL_IPERF
  194. bool
  195. depends on DRIVER_TEST_AP_BUILDIN
  196. prompt "Enable iperf3 AP in /usr/bin"
  197. default n
  198. config DRIVER_DEBUG_TOOL_MEMTESTER
  199. bool
  200. depends on DRIVER_TEST_AP_BUILDIN
  201. prompt "Enable memtester AP in /usr/bin"
  202. default n
  203. config DRIVER_DEBUG_TOOL_TUNER
  204. bool
  205. depends on DRIVER_TEST_AP_BUILDIN
  206. prompt "Enable tuner AP in /usr/bin"
  207. default n
  208. config DRIVER_DEBUG_TOOL_DDC_CI
  209. bool
  210. prompt "Enable ddc_ci in /usr/bin"
  211. depends on DRIVER_TEST_AP_BUILDIN
  212. default n
  213. config DRIVER_DEBUG_TOOL_TUNER_KJ
  214. bool
  215. prompt "kj"
  216. depends on DRIVER_DEBUG_TOOL_TUNER
  217. default n
  218. config DRIVER_DEBUG_TOOL_TUNER_TUNERAP
  219. bool
  220. prompt "tunerap"
  221. depends on DRIVER_DEBUG_TOOL_TUNER
  222. default n
  223. config DRIVER_DEBUG_TOOL_SIF_SIFAP
  224. bool
  225. prompt "sifap"
  226. depends on DRIVER_DEBUG_TOOL_TUNER
  227. default n
  228. config DRIVER_DEBUG_TOOL_TUNER_HOSTAPI
  229. bool
  230. prompt "hostapi"
  231. depends on DRIVER_DEBUG_TOOL_TUNER
  232. default n
  233. config DRIVER_DEBUG_TOOL_TUNER_I2CAP
  234. bool
  235. prompt "i2cap"
  236. depends on DRIVER_DEBUG_TOOL_TUNER
  237. default n
  238. config DRIVER_DEBUG_TOOL_DEMOD_FALCON
  239. bool
  240. prompt "falcon debug tool"
  241. depends on DRIVER_DEBUG_TOOL_TUNER
  242. default n
  243. endmenu # IC Validation Test AP
  244. endmenu # IC Configuration