Kconfig 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494
  1. #
  2. # Light sensors
  3. #
  4. # When adding new entries keep the list in alphabetical order
  5. menu "Light sensors"
  6. config ACPI_ALS
  7. tristate "ACPI Ambient Light Sensor"
  8. depends on ACPI
  9. select IIO_BUFFER
  10. select IIO_TRIGGERED_BUFFER
  11. select IIO_KFIFO_BUF
  12. help
  13. Say Y here if you want to build a driver for the ACPI0008
  14. Ambient Light Sensor.
  15. To compile this driver as a module, choose M here: the module will
  16. be called acpi-als.
  17. config ADJD_S311
  18. tristate "ADJD-S311-CR999 digital color sensor"
  19. select IIO_BUFFER
  20. select IIO_TRIGGERED_BUFFER
  21. depends on I2C
  22. help
  23. If you say yes here you get support for the Avago ADJD-S311-CR999
  24. digital color light sensor.
  25. This driver can also be built as a module. If so, the module
  26. will be called adjd_s311.
  27. config AL3320A
  28. tristate "AL3320A ambient light sensor"
  29. depends on I2C
  30. help
  31. Say Y here if you want to build a driver for the Dyna Image AL3320A
  32. ambient light sensor.
  33. To compile this driver as a module, choose M here: the
  34. module will be called al3320a.
  35. config APDS9300
  36. tristate "APDS9300 ambient light sensor"
  37. depends on I2C
  38. help
  39. Say Y here if you want to build a driver for the Avago APDS9300
  40. ambient light sensor.
  41. To compile this driver as a module, choose M here: the
  42. module will be called apds9300.
  43. config APDS9960
  44. tristate "Avago APDS9960 gesture/RGB/ALS/proximity sensor"
  45. select REGMAP_I2C
  46. select IIO_BUFFER
  47. select IIO_KFIFO_BUF
  48. depends on I2C
  49. help
  50. Say Y here to build I2C interface support for the Avago
  51. APDS9960 gesture/RGB/ALS/proximity sensor.
  52. To compile this driver as a module, choose M here: the
  53. module will be called apds9960
  54. config BH1750
  55. tristate "ROHM BH1750 ambient light sensor"
  56. depends on I2C
  57. help
  58. Say Y here to build support for the ROHM BH1710, BH1715, BH1721,
  59. BH1750, BH1751 ambient light sensors.
  60. To compile this driver as a module, choose M here: the module will
  61. be called bh1750.
  62. config BH1780
  63. tristate "ROHM BH1780 ambient light sensor"
  64. depends on I2C
  65. help
  66. Say Y here to build support for the ROHM BH1780GLI ambient
  67. light sensor.
  68. To compile this driver as a module, choose M here: the module will
  69. be called bh1780.
  70. config CM32181
  71. depends on I2C
  72. tristate "CM32181 driver"
  73. help
  74. Say Y here if you use cm32181.
  75. This option enables ambient light sensor using
  76. Capella cm32181 device driver.
  77. To compile this driver as a module, choose M here:
  78. the module will be called cm32181.
  79. config CM3232
  80. depends on I2C
  81. tristate "CM3232 ambient light sensor"
  82. help
  83. Say Y here if you use cm3232.
  84. This option enables ambient light sensor using
  85. Capella Microsystems cm3232 device driver.
  86. To compile this driver as a module, choose M here:
  87. the module will be called cm3232.
  88. config CM3323
  89. depends on I2C
  90. tristate "Capella CM3323 color light sensor"
  91. help
  92. Say Y here if you want to build a driver for Capella CM3323
  93. color sensor.
  94. To compile this driver as a module, choose M here: the module will
  95. be called cm3323.
  96. config CM3605
  97. tristate "Capella CM3605 ambient light and proximity sensor"
  98. depends on OF
  99. help
  100. Say Y here if you want to build a driver for Capella CM3605
  101. ambient light and short range proximity sensor.
  102. To compile this driver as a module, choose M here: the module will
  103. be called cm3605.
  104. config CM36651
  105. depends on I2C
  106. tristate "CM36651 driver"
  107. help
  108. Say Y here if you use cm36651.
  109. This option enables proximity & RGB sensor using
  110. Capella cm36651 device driver.
  111. To compile this driver as a module, choose M here:
  112. the module will be called cm36651.
  113. config IIO_CROS_EC_LIGHT_PROX
  114. tristate "ChromeOS EC Light and Proximity Sensors"
  115. depends on IIO_CROS_EC_SENSORS_CORE
  116. help
  117. Say Y here if you use the light and proximity sensors
  118. presented by the ChromeOS EC Sensor hub.
  119. To compile this driver as a module, choose M here:
  120. the module will be called cros_ec_light_prox.
  121. config GP2AP020A00F
  122. tristate "Sharp GP2AP020A00F Proximity/ALS sensor"
  123. depends on I2C
  124. select REGMAP_I2C
  125. select IIO_BUFFER
  126. select IIO_TRIGGERED_BUFFER
  127. select IRQ_WORK
  128. help
  129. Say Y here if you have a Sharp GP2AP020A00F proximity/ALS combo-chip
  130. hooked to an I2C bus.
  131. To compile this driver as a module, choose M here: the
  132. module will be called gp2ap020a00f.
  133. config SENSORS_ISL29018
  134. tristate "Intersil 29018 light and proximity sensor"
  135. depends on I2C
  136. select REGMAP_I2C
  137. default n
  138. help
  139. If you say yes here you get support for ambient light sensing and
  140. proximity infrared sensing from Intersil ISL29018.
  141. This driver will provide the measurements of ambient light intensity
  142. in lux, proximity infrared sensing and normal infrared sensing.
  143. Data from sensor is accessible via sysfs.
  144. config SENSORS_ISL29028
  145. tristate "Intersil ISL29028 Concurrent Light and Proximity Sensor"
  146. depends on I2C
  147. select REGMAP_I2C
  148. help
  149. Provides driver for the Intersil's ISL29028 device.
  150. This driver supports the sysfs interface to get the ALS, IR intensity,
  151. Proximity value via iio. The ISL29028 provides the concurrent sensing
  152. of ambient light and proximity.
  153. config ISL29125
  154. tristate "Intersil ISL29125 digital color light sensor"
  155. depends on I2C
  156. select IIO_BUFFER
  157. select IIO_TRIGGERED_BUFFER
  158. help
  159. Say Y here if you want to build a driver for the Intersil ISL29125
  160. RGB light sensor for I2C.
  161. To compile this driver as a module, choose M here: the module will be
  162. called isl29125.
  163. config HID_SENSOR_ALS
  164. depends on HID_SENSOR_HUB
  165. select IIO_BUFFER
  166. select IIO_TRIGGERED_BUFFER
  167. select HID_SENSOR_IIO_COMMON
  168. select HID_SENSOR_IIO_TRIGGER
  169. tristate "HID ALS"
  170. help
  171. Say yes here to build support for the HID SENSOR
  172. Ambient light sensor.
  173. To compile this driver as a module, choose M here: the
  174. module will be called hid-sensor-als.
  175. config HID_SENSOR_PROX
  176. depends on HID_SENSOR_HUB
  177. select IIO_BUFFER
  178. select IIO_TRIGGERED_BUFFER
  179. select HID_SENSOR_IIO_COMMON
  180. select HID_SENSOR_IIO_TRIGGER
  181. tristate "HID PROX"
  182. help
  183. Say yes here to build support for the HID SENSOR
  184. Proximity sensor.
  185. To compile this driver as a module, choose M here: the
  186. module will be called hid-sensor-prox.
  187. config JSA1212
  188. tristate "JSA1212 ALS and proximity sensor driver"
  189. depends on I2C
  190. select REGMAP_I2C
  191. help
  192. Say Y here if you want to build a IIO driver for JSA1212
  193. proximity & ALS sensor device.
  194. To compile this driver as a module, choose M here:
  195. the module will be called jsa1212.
  196. config RPR0521
  197. tristate "ROHM RPR0521 ALS and proximity sensor driver"
  198. depends on I2C
  199. select REGMAP_I2C
  200. help
  201. Say Y here if you want to build support for ROHM's RPR0521
  202. ambient light and proximity sensor device.
  203. To compile this driver as a module, choose M here:
  204. the module will be called rpr0521.
  205. config SENSORS_LM3533
  206. tristate "LM3533 ambient light sensor"
  207. depends on MFD_LM3533
  208. help
  209. If you say yes here you get support for the ambient light sensor
  210. interface on National Semiconductor / TI LM3533 Lighting Power
  211. chips.
  212. The sensor interface can be used to control the LEDs and backlights
  213. of the chip through defining five light zones and three sets of
  214. corresponding output-current values.
  215. The driver provides raw and mean adc readings along with the current
  216. light zone through sysfs. A threshold event can be generated on zone
  217. changes. The ALS-control output values can be set per zone for the
  218. three current output channels.
  219. config LTR501
  220. tristate "LTR-501ALS-01 light sensor"
  221. depends on I2C
  222. select REGMAP_I2C
  223. select IIO_BUFFER
  224. select IIO_TRIGGERED_BUFFER
  225. help
  226. If you say yes here you get support for the Lite-On LTR-501ALS-01
  227. ambient light and proximity sensor. This driver also supports LTR-559
  228. ALS/PS or LTR-301 ALS sensors.
  229. This driver can also be built as a module. If so, the module
  230. will be called ltr501.
  231. config LV0104CS
  232. tristate "LV0104CS Ambient Light Sensor"
  233. depends on I2C
  234. help
  235. Say Y here if you want to build support for the On Semiconductor
  236. LV0104CS ambient light sensor.
  237. To compile this driver as a module, choose M here:
  238. the module will be called lv0104cs.
  239. config MAX44000
  240. tristate "MAX44000 Ambient and Infrared Proximity Sensor"
  241. depends on I2C
  242. select REGMAP_I2C
  243. select IIO_BUFFER
  244. select IIO_TRIGGERED_BUFFER
  245. help
  246. Say Y here if you want to build support for Maxim Integrated's
  247. MAX44000 ambient and infrared proximity sensor device.
  248. To compile this driver as a module, choose M here:
  249. the module will be called max44000.
  250. config OPT3001
  251. tristate "Texas Instruments OPT3001 Light Sensor"
  252. depends on I2C
  253. help
  254. If you say Y or M here, you get support for Texas Instruments
  255. OPT3001 Ambient Light Sensor.
  256. If built as a dynamically linked module, it will be called
  257. opt3001.
  258. config PA12203001
  259. tristate "TXC PA12203001 light and proximity sensor"
  260. depends on I2C
  261. select REGMAP_I2C
  262. help
  263. If you say yes here you get support for the TXC PA12203001
  264. ambient light and proximity sensor.
  265. This driver can also be built as a module. If so, the module
  266. will be called pa12203001.
  267. config SI1133
  268. tristate "SI1133 UV Index Sensor and Ambient Light Sensor"
  269. depends on I2C
  270. select REGMAP_I2C
  271. help
  272. Say Y here if you want to build a driver for the Silicon Labs SI1133
  273. UV Index Sensor and Ambient Light Sensor chip.
  274. To compile this driver as a module, choose M here: the module will be
  275. called si1133.
  276. config SI1145
  277. tristate "SI1132 and SI1141/2/3/5/6/7 combined ALS, UV index and proximity sensor"
  278. depends on I2C
  279. select IIO_BUFFER
  280. select IIO_TRIGGERED_BUFFER
  281. help
  282. Say Y here if you want to build a driver for the Silicon Labs SI1132 or
  283. SI1141/2/3/5/6/7 combined ambient light, UV index and proximity sensor
  284. chips.
  285. To compile this driver as a module, choose M here: the module will be
  286. called si1145.
  287. config STK3310
  288. tristate "STK3310 ALS and proximity sensor"
  289. depends on I2C
  290. select REGMAP_I2C
  291. help
  292. Say yes here to get support for the Sensortek STK3310 ambient light
  293. and proximity sensor. The STK3311 model is also supported by this
  294. driver.
  295. Choosing M will build the driver as a module. If so, the module
  296. will be called stk3310.
  297. config ST_UVIS25
  298. tristate "STMicroelectronics UVIS25 sensor driver"
  299. depends on (I2C || SPI)
  300. select IIO_BUFFER
  301. select IIO_TRIGGERED_BUFFER
  302. select ST_UVIS25_I2C if (I2C)
  303. select ST_UVIS25_SPI if (SPI_MASTER)
  304. help
  305. Say yes here to build support for STMicroelectronics UVIS25
  306. uv sensor
  307. To compile this driver as a module, choose M here: the module
  308. will be called st_uvis25.
  309. config ST_UVIS25_I2C
  310. tristate
  311. depends on ST_UVIS25
  312. select REGMAP_I2C
  313. config ST_UVIS25_SPI
  314. tristate
  315. depends on ST_UVIS25
  316. select REGMAP_SPI
  317. config TCS3414
  318. tristate "TAOS TCS3414 digital color sensor"
  319. depends on I2C
  320. select IIO_BUFFER
  321. select IIO_TRIGGERED_BUFFER
  322. help
  323. If you say yes here you get support for the TAOS TCS3414
  324. family of digital color sensors.
  325. This driver can also be built as a module. If so, the module
  326. will be called tcs3414.
  327. config TCS3472
  328. tristate "TAOS TCS3472 color light-to-digital converter"
  329. depends on I2C
  330. select IIO_BUFFER
  331. select IIO_TRIGGERED_BUFFER
  332. help
  333. If you say yes here you get support for the TAOS TCS3472
  334. family of color light-to-digital converters with IR filter.
  335. This driver can also be built as a module. If so, the module
  336. will be called tcs3472.
  337. config SENSORS_TSL2563
  338. tristate "TAOS TSL2560, TSL2561, TSL2562 and TSL2563 ambient light sensors"
  339. depends on I2C
  340. help
  341. If you say yes here you get support for the Taos TSL2560,
  342. TSL2561, TSL2562 and TSL2563 ambient light sensors.
  343. This driver can also be built as a module. If so, the module
  344. will be called tsl2563.
  345. config TSL2583
  346. tristate "TAOS TSL2580, TSL2581 and TSL2583 light-to-digital converters"
  347. depends on I2C
  348. help
  349. Provides support for the TAOS tsl2580, tsl2581 and tsl2583 devices.
  350. Access ALS data via iio, sysfs.
  351. config TSL2772
  352. tristate "TAOS TSL/TMD2x71 and TSL/TMD2x72 Family of light and proximity sensors"
  353. depends on I2C
  354. help
  355. Support for: tsl2571, tsl2671, tmd2671, tsl2771, tmd2771, tsl2572, tsl2672,
  356. tmd2672, tsl2772, tmd2772 devices.
  357. Provides iio_events and direct access via sysfs.
  358. config TSL4531
  359. tristate "TAOS TSL4531 ambient light sensors"
  360. depends on I2C
  361. help
  362. Say Y here if you want to build a driver for the TAOS TSL4531 family
  363. of ambient light sensors with direct lux output.
  364. To compile this driver as a module, choose M here: the
  365. module will be called tsl4531.
  366. config US5182D
  367. tristate "UPISEMI light and proximity sensor"
  368. depends on I2C
  369. help
  370. If you say yes here you get support for the UPISEMI US5182D
  371. ambient light and proximity sensor.
  372. This driver can also be built as a module. If so, the module
  373. will be called us5182d.
  374. config VCNL4000
  375. tristate "VCNL4000/4010/4020/4200 combined ALS and proximity sensor"
  376. depends on I2C
  377. help
  378. Say Y here if you want to build a driver for the Vishay VCNL4000,
  379. VCNL4010, VCNL4020, VCNL4200 combined ambient light and proximity
  380. sensor.
  381. To compile this driver as a module, choose M here: the
  382. module will be called vcnl4000.
  383. config VEML6070
  384. tristate "VEML6070 UV A light sensor"
  385. depends on I2C
  386. help
  387. Say Y here if you want to build a driver for the Vishay VEML6070 UV A
  388. light sensor.
  389. To compile this driver as a module, choose M here: the
  390. module will be called veml6070.
  391. config VL6180
  392. tristate "VL6180 ALS, range and proximity sensor"
  393. depends on I2C
  394. help
  395. Say Y here if you want to build a driver for the STMicroelectronics
  396. VL6180 combined ambient light, range and proximity sensor.
  397. To compile this driver as a module, choose M here: the
  398. module will be called vl6180.
  399. config ZOPT2201
  400. tristate "ZOPT2201 ALS and UV B sensor"
  401. depends on I2C
  402. help
  403. Say Y here if you want to build a driver for the IDT
  404. ZOPT2201 ambient light and UV B sensor.
  405. To compile this driver as a module, choose M here: the
  406. module will be called zopt2201.
  407. endmenu