Kconfig 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  1. #
  2. # factory sensor drivers configuration
  3. #
  4. config ADSP_FACTORY
  5. tristate "MSM ADSP factory driver"
  6. help
  7. This driver communicate with SSC DAEMON.
  8. register each sensor device.
  9. send selftest request using netlink.
  10. receive test result using netlink.
  11. config LSM6DSO_FACTORY
  12. bool "factory test for SSC - LSM6DSO"
  13. depends on ADSP_FACTORY
  14. help
  15. lsm6dso factory driver.
  16. provide sysfs for factory test.
  17. request selftest to adsp_factory.
  18. receive test result from adsp_factory.
  19. config LSM6DSL_FACTORY
  20. bool "factory test for SSC - LSM6DSL"
  21. depends on ADSP_FACTORY
  22. help
  23. lsm6dsl factory driver.
  24. provide sysfs for factory test.
  25. request selftest to adsp_factory.
  26. receive test result from adsp_factory.
  27. config LSM6DSV_FACTORY
  28. bool "factory test for SSC - LSM6DSV"
  29. depends on ADSP_FACTORY
  30. help
  31. lsm6dsv factory driver.
  32. provide sysfs for factory test.
  33. request selftest to adsp_factory.
  34. receive test result from adsp_factory.
  35. config AK09918_FACTORY
  36. bool "factory test for SSC - ak09918"
  37. depends on ADSP_FACTORY
  38. help
  39. ak09918 factory driver.
  40. provide sysfs for factory test.
  41. request selftest to adsp_factory.
  42. receive test result from adsp_factory.
  43. config SUPPORT_MAG_ABS_SUM
  44. tristate "mag abs sum for SSC"
  45. depends on AK09918_FACTORY
  46. help
  47. Support the mag abs sum check
  48. check the mag abs sum value.
  49. config LPS22HH_FACTORY
  50. bool "factory test for SSC - lps22hh"
  51. depends on ADSP_FACTORY
  52. help
  53. lps22hh factory driver.
  54. provide sysfs for factory test.
  55. request selftest to adsp_factory.
  56. receive test result from adsp_factory.
  57. config LPS22DF_FACTORY
  58. bool "factory test for SSC - lps22df"
  59. depends on ADSP_FACTORY
  60. help
  61. lps22df factory driver.
  62. provide sysfs for factory test.
  63. request selftest to adsp_factory.
  64. receive test result from adsp_factory.
  65. config PRESSURE_FACTORY
  66. bool "factory test for SSC - pressure"
  67. depends on ADSP_FACTORY
  68. help
  69. pressure factory driver.
  70. provide sysfs for factory test.
  71. request selftest to adsp_factory.
  72. receive test result from adsp_factory.
  73. config LIGHT_FACTORY
  74. bool "factory test for SSC - light"
  75. depends on ADSP_FACTORY
  76. help
  77. light factory driver.
  78. provide sysfs for factory test.
  79. request selftest to adsp_factory.
  80. receive test result from adsp_factory.
  81. config LIGHT_SUB_FACTORY
  82. bool "factory test for SSC - light sub"
  83. depends on ADSP_FACTORY
  84. help
  85. light sub factory driver.
  86. provide sysfs for factory test.
  87. request selftest to adsp_factory.
  88. receive test result from adsp_factory.
  89. config PROX_FACTORY
  90. bool "factory test for SSC - prox"
  91. depends on ADSP_FACTORY
  92. help
  93. prox factory driver.
  94. provide sysfs for factory test.
  95. request selftest to adsp_factory.
  96. receive test result from adsp_factory.
  97. config STK33610_FACTORY
  98. bool "factory test for SSC - STK33610"
  99. depends on ADSP_FACTORY
  100. help
  101. stk33610 factory driver.
  102. provide sysfs for factory test.
  103. request selftest through factory daemon to slpi.
  104. receive test result through factory daemon from slpi.
  105. config STK33610_SUB_FACTORY
  106. bool "factory test for SSC - STK33610"
  107. depends on ADSP_FACTORY
  108. help
  109. stk33610 factory driver.
  110. provide sysfs for factory test.
  111. request selftest through factory daemon to slpi.
  112. receive test result through factory daemon from slpi.
  113. config SUPPORT_LIGHT_CALIBRATION
  114. bool "light cal for SSC"
  115. depends on ADSP_FACTORY
  116. help
  117. light calibration feature.
  118. provide sysfs for light calibration.
  119. request light cal to adsp_factory.
  120. receive cal value from adsp_factory.
  121. config SUPPORT_PROX_CALIBRATION
  122. bool "prox cal for SSC"
  123. depends on ADSP_FACTORY
  124. help
  125. prox calibration feature.
  126. provide sysfs for prox calibration.
  127. request prox cal to adsp_factory.
  128. receive cal value from adsp_factory.
  129. config SUPPORT_CONTROL_PROX_LED_GPIO
  130. bool "control prox led gpio for SSC"
  131. depends on ADSP_FACTORY
  132. help
  133. Support to control prox led gpio.
  134. config SUPPORT_PROX_POWER_ON_CAL
  135. bool "Sensors support proximity sensor power on cal"
  136. depends on ADSP_FACTORY
  137. help
  138. Support power on calibration for proximity sensor
  139. make calibration process done as the device power up.
  140. config SUPPORT_BRIGHTNESS_NOTIFY_FOR_LIGHT_SENSOR
  141. bool "Sensors support brightness notify"
  142. depends on ADSP_FACTORY
  143. help
  144. Support brightness notify for light sensor.
  145. receive aor and brightness level from lcd driver.
  146. config SUPPORT_PANEL_STATE_NOTIFY_FOR_LIGHT_SENSOR
  147. bool "Sensors support panel state notify"
  148. depends on ADSP_FACTORY
  149. help
  150. Support panel state notify for light sensor.
  151. receive panel state from lcd driver.
  152. config SUPPORT_DDI_COPR_FOR_LIGHT_SENSOR
  153. bool "Sensors support ddi copr"
  154. depends on ADSP_FACTORY
  155. help
  156. Support ddi copr for light sensor.
  157. provide copr sysfs for factory and afc service.
  158. DDI must be connected with sensor core
  159. config SUPPORT_FIFO_DEBUG_FOR_LIGHT_SENSOR
  160. bool "Sensors support fifo debug"
  161. depends on ADSP_FACTORY
  162. help
  163. Support fifo debug for light sensor.
  164. provide fifo debug msg for light sensor.
  165. DDI must be connected with sensor core
  166. config SUPPORT_DUAL_DDI_COPR_FOR_LIGHT_SENSOR
  167. bool "Sensors support dual ddi copr"
  168. depends on ADSP_FACTORY
  169. help
  170. Support dual ddi copr for light sensor.
  171. provide copr sysfs for factory and afc service.
  172. DDI must be connected with sensor core
  173. config SUPPORT_DUAL_6AXIS
  174. bool "Sensors support dual 6axis"
  175. depends on ADSP_FACTORY
  176. help
  177. Support the dual accel and gyro function.
  178. provide sysfs for factory test.
  179. request selftest to adsp_factory.
  180. receive test result from adsp_factory.
  181. config SUPPORT_DUAL_OPTIC
  182. bool "Sensors support dual optic"
  183. depends on ADSP_FACTORY
  184. help
  185. Support the dual prox and light function.
  186. provide sysfs for factory test.
  187. request selftest to adsp_factory.
  188. receive test result from adsp_factory.
  189. config SUPPORT_VIRTUAL_OPTIC
  190. bool "Sensors support virtual optic"
  191. depends on ADSP_FACTORY
  192. help
  193. Support the virtual prox and light function.
  194. provide sysfs for factory test.
  195. request selftest to adsp_factory.
  196. receive test result from adsp_factory.
  197. config SUPPORT_DUAL_OPTIC_BUT_SUPPORT_SINGLE_PROX
  198. bool "Sensors support virtual optic but support single prox"
  199. depends on ADSP_FACTORY
  200. help
  201. Support the virtual prox and light function.
  202. provide sysfs for factory test.
  203. request selftest to adsp_factory.
  204. receive test result from adsp_factory.
  205. config SUPPORT_SENSOR_FLIP_MODEL
  206. bool "Sensors support sensor flip model"
  207. depends on ADSP_FACTORY
  208. help
  209. Support sensor flip model.
  210. Separate the flip model from the factory test.
  211. config SUPPORT_AK09973
  212. bool "Support ak09973"
  213. depends on ADSP_FACTORY
  214. help
  215. Support ak09973.
  216. config SUPPORT_DHALL_SWITCH
  217. bool "Support DHALL_SWITCH"
  218. depends on ADSP_FACTORY
  219. help
  220. Support ak09973.
  221. config SUPPORT_DEVICE_MODE
  222. bool "Support device mode"
  223. depends on ADSP_FACTORY
  224. help
  225. Support device mode.
  226. config SUPPORT_SENSOR_FOLD
  227. bool "Support fold state by sensor algorithm"
  228. depends on ADSP_FACTORY
  229. help
  230. Support fold state by sensor algorithm.
  231. config VEML3235_FACTORY
  232. bool "factory test for SSC - veml3235"
  233. depends on ADSP_FACTORY
  234. help
  235. veml3235 factory driver.
  236. provide sysfs for factory test.
  237. request selftest to adsp_factory.
  238. receive test result from adsp_factory.
  239. config VEML3235_SUB_FACTORY
  240. bool "factory test for SSC - veml3235_sub"
  241. depends on ADSP_FACTORY
  242. help
  243. veml3235_sub factory driver.
  244. provide sysfs for factory test.
  245. request selftest to adsp_factory.
  246. receive test result from adsp_factory.
  247. config VEML3328_FACTORY
  248. bool "factory test for SSC - veml3328"
  249. depends on ADSP_FACTORY
  250. help
  251. veml3328 factory driver.
  252. provide sysfs for factory test.
  253. request selftest to adsp_factory.
  254. receive test result from adsp_factory.
  255. config VEML3328_SUB_FACTORY
  256. bool "factory test for SSC - veml3328_sub"
  257. depends on ADSP_FACTORY
  258. help
  259. veml3328_sub factory driver.
  260. provide sysfs for factory test.
  261. request selftest to adsp_factory.
  262. receive test result from adsp_factory.
  263. config SUPPORT_LIGHT_SEAMLESS
  264. bool "Support Light seamless"
  265. depends on ADSP_FACTORY
  266. help
  267. Support Light seamless.
  268. config BACKTAP_FACTORY
  269. bool "factory test for SSC - Back Tap Sensor"
  270. depends on ADSP_FACTORY
  271. help
  272. backtap factory driver.
  273. provide sysfs for setting back tap peak threshold
  274. config FLIP_COVER_DETECTOR_FACTORY
  275. bool "factory test for SSC - Flip Cover Detector"
  276. depends on ADSP_FACTORY
  277. help
  278. flip_cover_detector factory driver.
  279. provide sysfs for cover status by nfc
  280. config FLIP_COVER_DETECTOR_NOTIFIER
  281. bool "flip cover detector notifier"
  282. depends on FLIP_COVER_DETECTOR_FACTORY
  283. default y
  284. help
  285. Support notifier for flip cover attach/detach events
  286. config SSC_WAKEUP_DEBUG
  287. bool "debug to ap wakeup due to SSC"
  288. depends on SEC_SENSORS_SSC
  289. help
  290. debug to ap wakeup due to SSC event frequently
  291. config SLPI_LOADING_FAILURE_DEBUG
  292. bool "debug to slpi loading fail"
  293. depends on SEC_SENSORS_SSC
  294. help
  295. debug to to slpi loading fail
  296. config SUPPORT_REF_ANGLE_WITHOUT_DIGITAL_HALL
  297. bool "support ref angle without digital hall"
  298. depends on ADSP_FACTORY
  299. help
  300. support ref angle without digital hall
  301. config SEC_SENSORS_RECOVERY
  302. bool "recovery slpi or adsp for sensor"
  303. depends on SEC_SENSORS_SSC
  304. help
  305. recovery to slpi or adsp for sensor