Kconfig 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450
  1. #config TOUCHSCREEN_CYPRESS_CYTTSP
  2. # tristate "Cypress CYTTSP Touchscreen"
  3. menuconfig TOUCHSCREEN_CYPRESS_CYTTSP
  4. bool "Cypress CYTTSP Touchscreen"
  5. depends on INPUT_TOUCHSCREEN
  6. help
  7. Say Y here if you have a touchscreen using controller from
  8. the Cypress TrueTouch(tm) Standard Product family connected
  9. to your system. You will also need to select appropriate
  10. driver below.
  11. If unsure, say N.
  12. To compile this driver as a module, choose M here: the
  13. module will be called cyttsp_core.
  14. if TOUCHSCREEN_CYPRESS_CYTTSP
  15. config TOUCHSCREEN_CYPRESS_CYTTSP5
  16. tristate "Parade TrueTouch Gen5 Touchscreen Driver"
  17. depends on TOUCHSCREEN_CYPRESS_CYTTSP
  18. help
  19. Core driver for Parade TrueTouch(tm) Standard Product
  20. Geneartion5 touchscreen controllers.
  21. Say Y here if you have a Parade Gen5 touchscreen.
  22. If unsure, say N.
  23. To compile this driver as a module, choose M here: the
  24. module will be called cyttsp5.
  25. config TOUCHSCREEN_CYPRESS_CYTTSP5_DEVICETREE_SUPPORT
  26. bool "Enable Device Tree support"
  27. depends on TOUCHSCREEN_CYPRESS_CYTTSP5
  28. help
  29. Say Y here to enable support for device tree.
  30. If unsure, say N.
  31. config TOUCHSCREEN_CYPRESS_CYTTSP5_I2C
  32. default y
  33. tristate "Parade TrueTouch Gen5 I2C"
  34. depends on TOUCHSCREEN_CYPRESS_CYTTSP5
  35. select I2C
  36. help
  37. Say Y here to enable I2C bus interface to Parade TrueTouch(tm)
  38. Standard Product Generation5 touchscreen controller.
  39. If unsure, say Y.
  40. To compile this driver as a module, choose M here: the
  41. module will be called cyttsp5_i2c.
  42. config TOUCHSCREEN_CYPRESS_CYTTSP5_SPI
  43. tristate "Parade TrueTouch Gen5 SPI"
  44. depends on TOUCHSCREEN_CYPRESS_CYTTSP5
  45. select SPI
  46. help
  47. Say Y here to enable SPI bus interface to Parade TrueTouch(tm)
  48. Standard Product Generation5 touchscreen controller.
  49. If unsure, say N.
  50. To compile this driver as a module, choose M here: the
  51. module will be called cyttsp5_spi.
  52. choice
  53. bool "Parade TrueTouch Gen5 MultiTouch Protocol"
  54. depends on TOUCHSCREEN_CYPRESS_CYTTSP5
  55. default TOUCHSCREEN_CYPRESS_CYTTSP5_MT_B
  56. help
  57. This option controls which MultiTouch protocol will be used to
  58. report the touch events.
  59. config TOUCHSCREEN_CYPRESS_CYTTSP5_MT_A
  60. bool "Protocol A"
  61. help
  62. Select to enable MultiTouch touch reporting using protocol A
  63. on Parade TrueTouch(tm) Standard Product Generation4 touchscreen
  64. controller.
  65. config TOUCHSCREEN_CYPRESS_CYTTSP5_MT_B
  66. bool "Protocol B"
  67. help
  68. Select to enable MultiTouch touch reporting using protocol B
  69. on Parade TrueTouch(tm) Standard Product Generation4 touchscreen
  70. controller.
  71. endchoice
  72. config TOUCHSCREEN_CYPRESS_CYTTSP5_BUTTON
  73. bool "Parade TrueTouch Gen5 MultiTouch CapSense Button"
  74. depends on TOUCHSCREEN_CYPRESS_CYTTSP5
  75. help
  76. Say Y here to enable CapSense reporting on Parade TrueTouch(tm)
  77. Standard Product Generation5 touchscreen controller.
  78. If unsure, say N.
  79. config TOUCHSCREEN_CYPRESS_CYTTSP5_PROXIMITY
  80. default y
  81. tristate "Parade TrueTouch Gen5 Proximity"
  82. depends on TOUCHSCREEN_CYPRESS_CYTTSP5
  83. help
  84. Say Y here to enable proximity reporting on Parade TrueTouch(tm)
  85. Standard Product Generation5 touchscreen controller.
  86. If unsure, say N.
  87. config TOUCHSCREEN_CYPRESS_CYTTSP5_DEVICE_ACCESS
  88. tristate "Parade TrueTouch Gen5 MultiTouch Device Access"
  89. depends on TOUCHSCREEN_CYPRESS_CYTTSP5
  90. help
  91. Say Y here to enable Parade TrueTouch(tm) Standard Product
  92. Generation5 touchscreen controller device access module.
  93. This modules adds an interface to access touchscreen
  94. controller using driver sysfs nodes.
  95. If unsure, say N.
  96. To compile this driver as a module, choose M here: the
  97. module will be called cyttsp5_device_access.
  98. config TOUCHSCREEN_CYPRESS_CYTTSP5_DEVICE_ACCESS_API
  99. bool "Enable Device Access kernel API"
  100. depends on TOUCHSCREEN_CYPRESS_CYTTSP5_DEVICE_ACCESS
  101. help
  102. Say Y here to enable Device access kernel API which provides
  103. access to Parade TrueTouch(tm) Standard Product Generation5
  104. touchscreen controller for other modules.
  105. If unsure, say N.
  106. config TOUCHSCREEN_CYPRESS_CYTTSP5_TEST_DEVICE_ACCESS_API
  107. tristate "Simple Test module for Device Access kernel API"
  108. depends on TOUCHSCREEN_CYPRESS_CYTTSP5_DEVICE_ACCESS
  109. depends on TOUCHSCREEN_CYPRESS_CYTTSP5_DEVICE_ACCESS_API
  110. help
  111. Say Y here to enable test module for Device access kernel API.
  112. If unsure, say N.
  113. To compile this driver as a module, choose M here: the
  114. module will be called cyttsp5_test_device_access_api.
  115. config TOUCHSCREEN_CYPRESS_CYTTSP5_LOADER
  116. tristate "Parade TrueTouch Gen5 MultiTouch Loader"
  117. depends on TOUCHSCREEN_CYPRESS_CYTTSP5
  118. help
  119. Say Y here to enable Parade TrueTouch(tm) Standard Product
  120. Generation5 touchscreen controller FW Loader module.
  121. This module enables support for Firmware upgrade.
  122. If unsure, say Y.
  123. To compile this driver as a module, choose M here: the
  124. module will be called cyttsp5_loader.
  125. config TOUCHSCREEN_CYPRESS_CYTTSP5_PLATFORM_FW_UPGRADE
  126. bool "FW upgrade from header file"
  127. depends on TOUCHSCREEN_CYPRESS_CYTTSP5_LOADER
  128. help
  129. Say Y here to include Parade TrueTouch(tm) Standard Product
  130. Generation5 device Firmware into driver.
  131. Need proper header file for this.
  132. If unsure, say N.
  133. config TOUCHSCREEN_CYPRESS_CYTTSP5_BINARY_FW_UPGRADE
  134. bool "FW upgrade from binary file"
  135. depends on TOUCHSCREEN_CYPRESS_CYTTSP5_LOADER
  136. help
  137. Say Y here to include Parade TrueTouch(tm) Standard Product
  138. Generation5 device Firmware into kernel as binary blob.
  139. This should be enabled for manual FW upgrade support.
  140. If unsure, say Y.
  141. config TOUCHSCREEN_CYPRESS_CYTTSP5_PLATFORM_TTCONFIG_UPGRADE
  142. bool "TT Configuration upgrade from header file"
  143. depends on TOUCHSCREEN_CYPRESS_CYTTSP5_LOADER
  144. help
  145. Say Y here to include Parade TrueTouch(tm) Standard Product
  146. Generation5 device TrueTouch Configuration into kernel itself.
  147. Need proper header file for this.
  148. If unsure, say N.
  149. config TOUCHSCREEN_CYPRESS_CYTTSP5_MANUAL_TTCONFIG_UPGRADE
  150. bool "TT Configuration upgrade via SysFs"
  151. depends on TOUCHSCREEN_CYPRESS_CYTTSP5_LOADER
  152. help
  153. Say Y here to provide a SysFs interface to upgrade TrueTouch
  154. Configuration with a binary configuration file.
  155. Need proper binary version of config file for this
  156. feature.
  157. If unsure, say Y.
  158. config TOUCHSCREEN_CYPRESS_CYTTSP5_DEBUG_MDL
  159. tristate "Parade TrueTouch Gen5 MultiTouch Debug Module"
  160. depends on TOUCHSCREEN_CYPRESS_CYTTSP5
  161. help
  162. Say Y here to enable Parade TrueTouch(tm) Standard Product
  163. Generation5 Debug module.
  164. This module adds support for verbose printing touch
  165. information.
  166. If unsure, say N.
  167. To compile this driver as a module, choose M here: the
  168. module will be called cyttsp5_debug.
  169. config TOUCHSCREEN_CYPRESS_CYTTSP6
  170. tristate "Cypress TrueTouch Gen6 Touchscreen Driver"
  171. help
  172. Core driver for Cypress TrueTouch(tm) Standard Product
  173. Generation4 touchscreen controllers.
  174. Say Y here if you have a Cypress Gen6 touchscreen.
  175. If unsure, say N.
  176. To compile this driver as a module, choose M here: the
  177. module will be called cyttsp6.
  178. config TOUCHSCREEN_CYPRESS_CYTTSP6_DEVICETREE_SUPPORT
  179. bool "Enable Device Tree support"
  180. depends on TOUCHSCREEN_CYPRESS_CYTTSP6 && OF
  181. help
  182. Say Y here to enable support for device tree.
  183. If unsure, say N.
  184. config TOUCHSCREEN_CYPRESS_CYTTSP6_DEBUG
  185. bool "Enable debug output"
  186. depends on TOUCHSCREEN_CYPRESS_CYTTSP6
  187. help
  188. Say Y here to enable debug output for Cypress TrueTouch(tm)
  189. Standard Product Generation4 drivers set.
  190. If unsure, say N.
  191. config TOUCHSCREEN_CYPRESS_CYTTSP6_VDEBUG
  192. bool "Enable verbose debug output"
  193. depends on TOUCHSCREEN_CYPRESS_CYTTSP6_DEBUG
  194. help
  195. Say Y here to enable verbose debug output for Cypress TrueTouch(tm)
  196. Standard Product Generation4 drivers set.
  197. If unsure, say N.
  198. config TOUCHSCREEN_CYPRESS_CYTTSP6_I2C
  199. tristate "Cypress TrueTouch Gen6 I2C"
  200. depends on TOUCHSCREEN_CYPRESS_CYTTSP6
  201. select I2C
  202. help
  203. Say Y here to enable I2C bus interface to Cypress TrueTouch(tm)
  204. Standard Product Generation4 touchscreen controller.
  205. If unsure, say Y.
  206. To compile this driver as a module, choose M here: the
  207. module will be called cyttsp6_i2c.
  208. config TOUCHSCREEN_CYPRESS_CYTTSP6_SPI
  209. tristate "Cypress TrueTouch Gen6 SPI"
  210. depends on TOUCHSCREEN_CYPRESS_CYTTSP6
  211. select SPI
  212. help
  213. Say Y here to enable SPI bus interface to Cypress TrueTouch(tm)
  214. Standard Product Generation4 touchscreen controller.
  215. If unsure, say N.
  216. To compile this driver as a module, choose M here: the
  217. module will be called cyttsp6_spi.
  218. choice
  219. bool "Cypress TrueTouch Gen6 MultiTouch Protocol"
  220. depends on TOUCHSCREEN_CYPRESS_CYTTSP6
  221. default TOUCHSCREEN_CYPRESS_CYTTSP6_MT_B
  222. help
  223. This option controls which MultiTouch protocol will be used to
  224. report the touch events.
  225. config TOUCHSCREEN_CYPRESS_CYTTSP6_MT_A
  226. bool "Protocol A"
  227. help
  228. Select to enable MultiTouch touch reporting using protocol A
  229. on Cypress TrueTouch(tm) Standard Product Generation4 touchscreen
  230. controller.
  231. config TOUCHSCREEN_CYPRESS_CYTTSP6_MT_B
  232. bool "Protocol B"
  233. help
  234. Select to enable MultiTouch touch reporting using protocol B
  235. on Cypress TrueTouch(tm) Standard Product Generation4 touchscreen
  236. controller.
  237. endchoice
  238. config TOUCHSCREEN_CYPRESS_CYTTSP6_BUTTON
  239. bool "Cypress TrueTouch Gen6 MultiTouch CapSense Button"
  240. depends on TOUCHSCREEN_CYPRESS_CYTTSP6
  241. help
  242. Say Y here to enable CapSense reporting on Cypress TrueTouch(tm)
  243. Standard Product Generation4 touchscreen controller.
  244. If unsure, say N.
  245. config TOUCHSCREEN_CYPRESS_CYTTSP6_PROXIMITY
  246. bool "Cypress TrueTouch Gen6 Proximity"
  247. depends on TOUCHSCREEN_CYPRESS_CYTTSP6
  248. help
  249. Say Y here to enable proximity reporting on Cypress TrueTouch(tm)
  250. Standard Product Generation4 touchscreen controller.
  251. If unsure, say N.
  252. config TOUCHSCREEN_CYPRESS_CYTTSP6_DEVICE_ACCESS
  253. tristate "Cypress TrueTouch Gen6 MultiTouch Device Access"
  254. depends on TOUCHSCREEN_CYPRESS_CYTTSP6
  255. help
  256. Say Y here to enable Cypress TrueTouch(tm) Standard Product
  257. Generation4 touchscreen controller device access module.
  258. This modules adds an interface to access touchscreen
  259. controller using driver sysfs nodes.
  260. If unsure, say N.
  261. To compile this driver as a module, choose M here: the
  262. module will be called cyttsp6_device_access.
  263. config TOUCHSCREEN_CYPRESS_CYTTSP6_DEVICE_ACCESS_API
  264. bool "Enable Device Access kernel API"
  265. depends on TOUCHSCREEN_CYPRESS_CYTTSP6_DEVICE_ACCESS
  266. help
  267. Say Y here to enable Device access kernel API which provides
  268. access to Cypress TrueTouch(tm) Standard Product Generation4
  269. touchscreen controller for other modules.
  270. If unsure, say N.
  271. config TOUCHSCREEN_CYPRESS_CYTTSP6_TEST_DEVICE_ACCESS_API
  272. tristate "Simple Test module for Device Access kernel API"
  273. depends on TOUCHSCREEN_CYPRESS_CYTTSP6_DEVICE_ACCESS
  274. depends on TOUCHSCREEN_CYPRESS_CYTTSP6_DEVICE_ACCESS_API
  275. help
  276. Say Y here to enable test module for Device access kernel API.
  277. If unsure, say N.
  278. To compile this driver as a module, choose M here: the
  279. module will be called cyttsp6_test_device_access_api.
  280. config TOUCHSCREEN_CYPRESS_CYTTSP6_LOADER
  281. tristate "Cypress TrueTouch Gen6 MultiTouch Loader"
  282. depends on TOUCHSCREEN_CYPRESS_CYTTSP6
  283. help
  284. Say Y here to enable Cypress TrueTouch(tm) Standard Product
  285. Generation4 touchscreen controller FW Loader module.
  286. This module enables support for firmware upgrade.
  287. If unsure, say N.
  288. To compile this driver as a module, choose M here: the
  289. module will be called cyttsp6_loader.
  290. config TOUCHSCREEN_CYPRESS_CYTTSP6_PLATFORM_FW_UPGRADE
  291. bool "FW upgrade from header file"
  292. depends on TOUCHSCREEN_CYPRESS_CYTTSP6_LOADER
  293. help
  294. Say Y here to include Cypress TrueTouch(tm) Standard Product
  295. Generation4 device firmware into driver.
  296. Need proper header file for this.
  297. If unsure, say N.
  298. config TOUCHSCREEN_CYPRESS_CYTTSP6_BINARY_FW_UPGRADE
  299. bool "FW upgrade from binary file"
  300. depends on TOUCHSCREEN_CYPRESS_CYTTSP6_LOADER
  301. help
  302. Say Y here to include Cypress TrueTouch(tm) Standard Product
  303. Generation4 device firmware into kernel as binary blob.
  304. This should be enabled for manual FW upgrade support.
  305. If unsure, say Y.
  306. config TOUCHSCREEN_CYPRESS_CYTTSP6_PLATFORM_TTCONFIG_UPGRADE
  307. bool "TT Configuration upgrade from header file"
  308. depends on TOUCHSCREEN_CYPRESS_CYTTSP6_LOADER
  309. help
  310. Say Y here to include Cypress TrueTouch(tm) Standard Product
  311. Generation4 device TrueTouch Configuration into kernel itself.
  312. Need proper header file for this.
  313. If unsure, say N.
  314. config TOUCHSCREEN_CYPRESS_CYTTSP6_PLATFORM_TTCONFIG_UPGRADE
  315. bool "TT Configuration upgrade from header file"
  316. depends on TOUCHSCREEN_CYPRESS_CYTTSP6_LOADER
  317. help
  318. Say Y here to include Cypress TrueTouch(tm) Standard Product
  319. Generation4 device TrueTouch Configuration into kernel itself.
  320. Need proper header file for this.
  321. If unsure, say N.
  322. config TOUCHSCREEN_CYPRESS_CYTTSP6_MANUAL_TTCONFIG_UPGRADE
  323. bool "TT Configuration upgrade via SysFs"
  324. depends on TOUCHSCREEN_CYPRESS_CYTTSP6_LOADER
  325. help
  326. Say Y here to provide a SysFs interface to upgrade TrueTouch
  327. Configuration with a binary configuration file.
  328. Need proper binary version of config file for this
  329. feature.
  330. If unsure, say Y.
  331. config TOUCHSCREEN_CYPRESS_CYTTSP6_DEBUG_MDL
  332. tristate "Cypress TrueTouch Gen6 MultiTouch Debug Module"
  333. depends on TOUCHSCREEN_CYPRESS_CYTTSP6
  334. help
  335. Say Y here to enable Cypress TrueTouch(tm) Standard Product
  336. Generation4 Debug module.
  337. This module adds support for verbose printing touch
  338. information.
  339. If unsure, say N.
  340. To compile this driver as a module, choose M here: the
  341. module will be called cyttsp6_debug.
  342. endif