Kconfig.board 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416
  1. source ./aps/customer/Kconfig.frontend
  2. source ./aps/customer/Kconfig.external
  3. source ./aps/customer/Kconfig.storage
  4. source ./aps/customer/Kconfig.hdmi
  5. menu "AUDIO IO Select"
  6. config HEADPHONE
  7. bool "SUPPORT HEADPHONE"
  8. default y
  9. if(HEADPHONE)
  10. choice
  11. prompt "headphone detect method"
  12. default HEADPHONE_DETECT_BY_ISR
  13. config HEADPHONE_DETECT_BY_ISR
  14. bool "HEADPHONE_DETECT_BY_ISR"
  15. config HPDET_BY_SWTIMER
  16. bool "HEADPHONE_DETECT_BY_SWPOLLING"
  17. endchoice
  18. endif
  19. choice
  20. prompt "Select Headphone use ic pin"
  21. default HP_OUT_NONE
  22. config HP_OUT_FROM_SPEAKER_PIN
  23. bool "Heaphone out use speaker pin"
  24. config HP_OUT_FROM_HP_PIN
  25. bool "Heaphone out use HP pin"
  26. config HP_OUT_FROM_LINEOUT_PIN
  27. bool "Heaphone out use lineout pin"
  28. config HP_OUT_NONE
  29. bool "none headphone"
  30. endchoice
  31. config DAC1_SRC_TYPE
  32. int
  33. prompt "DAC1 Source , 0:SD0(Speaker) 1: SD1(Lineout)"
  34. default 0
  35. config DAC2_SRC_TYPE
  36. int
  37. prompt "DAC2 Source , 0:SD0(Speaker) 1: SD1(Lineout)"
  38. default 1
  39. config SUPPORT_SPDIF_OUT
  40. bool
  41. prompt "Support SPDIF Out"
  42. default y
  43. config AUDIO_ADC_12K_CIRCUIT
  44. bool
  45. prompt "AUDIO ADC GAIN FOR 12ohm and 12Kohm CIRCUIT"
  46. default n
  47. help
  48. AUDIO ADC GAIN FOR 12ohm and 12Kohm CIRCUIT
  49. config AUDIO_ADC_43K_CIRCUIT
  50. bool
  51. prompt "AUDIO ADC GAIN for 43K ohm input circuit"
  52. default n
  53. help
  54. AUDIO ADC GAIN FOR 12ohm and 12Kohm CIRCUIT
  55. config FOR_AV2_AUDIO_ADC_12K_CIRCUIT
  56. bool
  57. prompt "AV2 SOURCE AUDIO ADC GAIN FOR 12ohm and 12Kohm CIRCUIT"
  58. default n
  59. help
  60. AV2 SOURCE AUDIO ADC GAIN FOR 12ohm and 12Kohm CIRCUIT
  61. endmenu
  62. config EXTRA_PWM_CONTROL_FOR_FAN
  63. bool "Extra PWM Control For Fan"
  64. default n
  65. help
  66. use pwm control rotate speed
  67. config KEYPAD0_DISABLE
  68. bool
  69. prompt "Keypad0 disable"
  70. default n
  71. config KEYPAD1_FUNCTION
  72. bool
  73. prompt "Keypad1 disable"
  74. default y
  75. menu "Kaypad1 disable select"
  76. depends on KEYPAD1_FUNCTION
  77. config KEYPAD1_DISABLE
  78. bool "Disable keypad1 for driver "
  79. default y
  80. config KEYPAD1_DISABLE_BOOT
  81. bool "Disable keypad1 for boot"
  82. default y
  83. endmenu
  84. config SKIP_AC_POWERKEY
  85. bool
  86. prompt "Keypad0 skip AC power key"
  87. default n
  88. config KEYPAD_SINGLE_REUSE
  89. bool
  90. prompt "Support Single Keypad(need config SUPPORT_HELP_MENU)"
  91. default y if CV512CH_X42_FORMAL___DEFAULTPROJ__CULTRAVIEW__CULTRAVIEW__CULTRAVIEW
  92. config KEYPAD_THREE_KEY_REUSE
  93. bool
  94. prompt "Support ThreeKey keypad"
  95. default n
  96. config KEYPAD_FIVE_KEY_REUSE
  97. bool
  98. prompt "Support FiveKey keypad(need config SUPPORT_HELP_MENU)"
  99. default n
  100. config TUNER_USE_AGC2
  101. bool
  102. prompt "Tuner Use AGC2 Control"
  103. default n
  104. config GLED_DISABLE
  105. bool
  106. prompt "Single LED mode"
  107. default n
  108. help
  109. Use one GPIO/PWM control RED and GREEN LED
  110. config MNT_LED
  111. depends on !GLED_DISABLE
  112. bool
  113. prompt "Monitor LED mode"
  114. default n
  115. help
  116. Use two GPIO control RED and GREEN LED
  117. config GLED_CTRL_INV
  118. depends on MNT_LED
  119. bool
  120. prompt "G LED control invert"
  121. default n
  122. help
  123. GLED control invert
  124. config CONTROL_STANDBY_LED
  125. bool
  126. prompt "Control Standby LED"
  127. default n
  128. help
  129. Control Standby LED by user setting
  130. config MAINPOWER_SEQUENCE_CTRL
  131. bool
  132. prompt "Main Power Sequence after AUX 1V"
  133. default n
  134. help
  135. Use GPIO34 contorl main power sequence
  136. config MAINPOWER_SEQUENCE_SW_CTRL
  137. bool
  138. prompt "SW Main Power Sequence after AUX 1V "
  139. default n
  140. help
  141. Use CONFIG_MAINPOWER_3V3_CTRL_PIN contorl main power sequence
  142. config MAINPOWER_3V3_CTRL_PIN
  143. depends on MAINPOWER_SEQUENCE_SW_CTRL
  144. int
  145. prompt "3V3 main power control pin"
  146. default 27
  147. config MAINPOWER_3V3_SW_DELAY_TIME
  148. depends on MAINPOWER_SEQUENCE_SW_CTRL
  149. int
  150. prompt "3V3 main power control delay time"
  151. default 5
  152. config PANEL_BL_ON_BL_ADJ_SWAP_FUNCTION
  153. bool
  154. prompt "BL_ON as PWM2 and BL_ADJ as GPIO mode"
  155. default n
  156. config PANEL_BACKLIGHT_DIM_REF
  157. bool
  158. prompt "Panel backlight control via DIM and REF"
  159. default n
  160. config PANEL_ON_REF_TO_DIM_DELAY
  161. depends on PANEL_BACKLIGHT_DIM_REF
  162. int
  163. prompt "Panel power on delay between REF to DIM (30 ms)"
  164. default 30
  165. config PANEL_OFF_DIM_TO_REF_DELAY
  166. depends on PANEL_BACKLIGHT_DIM_REF
  167. int
  168. prompt "Panel power off delay between DIM to REF (30 ms)"
  169. default 30
  170. config PANEL_PWM_REF_INV
  171. depends on PANEL_BACKLIGHT_DIM_REF
  172. bool
  173. prompt "PWM REF invert circuit"
  174. default n
  175. config PANEL_PWM_DIM_PERIOD
  176. depends on PANEL_BACKLIGHT_DIM_REF
  177. int
  178. prompt "PWM DIM period (default 200 HZ)"
  179. default 200
  180. config PANEL_PWM_DIM_DUTY
  181. depends on PANEL_BACKLIGHT_DIM_REF
  182. int
  183. prompt "PWM DIM duty (default 80%)"
  184. default 80
  185. config PANEL_PWM_REF_DUTY
  186. depends on PANEL_BACKLIGHT_DIM_REF
  187. int
  188. prompt "PWM REF duty (default 40%)"
  189. default 40
  190. config PANEL_PWM_REF_PERIOD
  191. depends on PANEL_BACKLIGHT_DIM_REF
  192. int
  193. prompt "PWM REF period (default 25k HZ)"
  194. default 25000
  195. config PANEL_SEQE_POWEROFF_ADJ_EARLY_BLON
  196. bool
  197. prompt "Panel Poweroff Sequence ADJ earlier than BL_ON"
  198. default n
  199. config PANEL_SEQE_POWEROFF_ADJ_GPIO_MODE
  200. bool
  201. prompt "Panel Poweroff Sequence ADJ pin need set to GPIO mode"
  202. default n
  203. config PANEL_ADJ_INVERT
  204. bool
  205. prompt "Panel backlight ADJ control invert"
  206. default n
  207. config AV_ON_G_CHANNEL
  208. bool
  209. prompt "AV Signals on ADC G Channel"
  210. default n
  211. config CRYSTAL_USE_24MHZ
  212. bool
  213. prompt "Crystal Use 24MHZ(For Internal Test Only)"
  214. default n
  215. config SUPPORT_USB3_CONNECTOR
  216. bool
  217. prompt "Support USB3.0 connector"
  218. default n
  219. config FIB_FOR_AV_ON_533_A0
  220. bool
  221. prompt "FIB for AV testing on 533 A0 Chip(For Internal Test Only)"
  222. default n
  223. config ATV_ESD_COLOR_SOUND_ISSUE
  224. bool
  225. prompt "ATV ESD COLOR SOUND ISSUE for 512C"
  226. default n
  227. menu "Update LED Style"
  228. config GREEN_LED_FLASH
  229. bool
  230. prompt "Green LED flash duing update"
  231. default n
  232. config RED_LED_FLASH
  233. bool
  234. prompt "Red LED flash duing update"
  235. default y
  236. endmenu
  237. menu "8506 TCON Setting"
  238. config SUPPORT_TCON
  239. bool "Support TCON"
  240. default n
  241. config USE_TCON_OUTPUT
  242. bool "Using TCON Output"
  243. default n
  244. config ENABLE_TCON_OVERDRIVE
  245. bool "Enable TCON Over Drive"
  246. default n
  247. #config ENABLE_TCON_DEMURA_TABLE
  248. # bool "Enable TCON Demura Table"
  249. # default n
  250. choice
  251. prompt "TCON PANEL Select"
  252. default TCON_NONE
  253. config TCON_NONE
  254. bool "None"
  255. config BOE_HV320WHB_N86
  256. bool "BOE HV320WHB N86"
  257. config BOE_HV320WHB_N56
  258. bool "BOE HV320WHB N56"
  259. config BOE_HV320WHB_N81
  260. bool "BOE HV320WHB N81"
  261. config BOE_HV430FHB_N40
  262. bool "BOE HV430FHB N40"
  263. config CSOT_ST3151A05_C
  264. bool "CSOT ST3151A05 C"
  265. config HKC_PT320AT01_4
  266. bool "HKC PT320AT01 4"
  267. endchoice
  268. choice
  269. prompt "TCON BOARD Select"
  270. config TCON_BOARD_DEFAULT
  271. bool "Default"
  272. config TCON_BOARD_8506T128PIN
  273. bool "RDA_8506T 128 Pin"
  274. config TCON_BOARD_6710T
  275. bool "UTS_6710T"
  276. endchoice
  277. config TCON_BIN_FOLDER_NAME
  278. string
  279. default "BOE_N86/RDA_8506T" if BOE_HV320WHB_N86 && TCON_BOARD_DEFAULT
  280. default "BOE_N86/RDA_8506T_128" if BOE_HV320WHB_N86 && TCON_BOARD_8506T128PIN
  281. default "BOE_N86/UTS_6710T" if BOE_HV320WHB_N86 && TCON_BOARD_6710T
  282. default "BOE_N56/RDA_8506T" if BOE_HV320WHB_N56 && TCON_BOARD_DEFAULT
  283. default "BOE_N56/RDA_8506T_128" if BOE_HV320WHB_N56 && TCON_BOARD_8506T128PIN
  284. default "BOE_N56/UTS_6710T" if BOE_HV320WHB_N56 && TCON_BOARD_6710T
  285. default "BOE_N81/RDA_8506T" if BOE_HV320WHB_N81 && TCON_BOARD_DEFAULT
  286. default "BOE_N81/RDA_8506T_128" if BOE_HV320WHB_N81 && TCON_BOARD_8506T128PIN
  287. default "BOE_N81/UTS_6710T" if BOE_HV320WHB_N81 && TCON_BOARD_6710T
  288. default "BOE_N40/RDA_8506T" if BOE_HV430FHB_N40 && TCON_BOARD_DEFAULT
  289. default "BOE_N40/RDA_8506T_128" if BOE_HV430FHB_N40 && TCON_BOARD_8506T128PIN
  290. default "BOE_N40/UTS_6710T" if BOE_HV430FHB_N40 && TCON_BOARD_6710T
  291. default "CSOT_C/RDA_8506T" if CSOT_ST3151A05_C && TCON_BOARD_DEFAULT
  292. default "CSOT_C/RDA_8506T_128" if CSOT_ST3151A05_C && TCON_BOARD_8506T128PIN
  293. default "CSOT_C/UTS_6710T" if CSOT_ST3151A05_C && TCON_BOARD_6710T
  294. default "HKC_PT320AT01_4" if HKC_PT320AT01_4
  295. endmenu
  296. menu "LVDS Setting"
  297. config LVDS_SINGLE_LANE_PAIR_SETTING
  298. hex
  299. prompt "LVDS Single Channel Setting(for 8506/6710)"
  300. default 0x40f
  301. help
  302. #define LVA0 0x1 //LVA
  303. #define LVA1 0x2
  304. #define LVA2 0x4
  305. #define LVA3 0x8
  306. #define LVA4 0x10 // 10 bit panel LVA A
  307. #define LVB0 0x20 // LVB
  308. #define LVB1 0x40
  309. #define LVB2 0x80
  310. #define LVB3 0x100
  311. #define LVB4 0x200 // 10 bit panel LVB B
  312. #define LV_CLK 0x400 // lvds clk ch
  313. PS:Calc Vaule according to hw design,if has used channel need to set 1
  314. config LVDS_DUAL_LANE_PAIR_SETTING
  315. hex
  316. prompt "LVDS Dual Channel Setting(for 8506/6710)"
  317. default 0x5ef
  318. help
  319. #define LVA0 0x1 //LVA
  320. #define LVA1 0x2
  321. #define LVA2 0x4
  322. #define LVA3 0x8
  323. #define LVA4 0x10 // 10 bit panel LVA A
  324. #define LVB0 0x20 // LVB
  325. #define LVB1 0x40
  326. #define LVB2 0x80
  327. #define LVB3 0x100
  328. #define LVB4 0x200 // 10 bit panel LVB B
  329. #define LV_CLK 0x400 // lvds clk ch
  330. PS:Calc Vaule according to hw design,if has used channel need to set 1
  331. endmenu
  332. menu "Board USB 5V VCC"
  333. config USBVCC_USE_GPIO
  334. bool
  335. prompt "Using GPIO to control USB VCC"
  336. default n
  337. config GPIO_USB5V
  338. depends on USBVCC_USE_GPIO
  339. int
  340. prompt "usb 5v power control gpio decimal number"
  341. default 16
  342. config GPIO_USB5V_LEVEL
  343. depends on USBVCC_USE_GPIO
  344. int
  345. prompt "0:low ; 1:high"
  346. default 1
  347. endmenu