Kconfig 17 KB

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