xref: /linux/drivers/iio/light/Kconfig (revision 02324a09cbe2ae38ab081dd5a1f620ccfd3c62b7)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2e01e7eafSMaxime Roussin-Bélanger
39c8ea1b2SJohan Hovold#
49c8ea1b2SJohan Hovold# Light sensors
59c8ea1b2SJohan Hovold#
63edc84e6SLars-Peter Clausen# When adding new entries keep the list in alphabetical order
73edc84e6SLars-Peter Clausen
89c8ea1b2SJohan Hovoldmenu "Light sensors"
99c8ea1b2SJohan Hovold
10feca56ffSGabriele Mazzottaconfig ACPI_ALS
11feca56ffSGabriele Mazzotta	tristate "ACPI Ambient Light Sensor"
12feca56ffSGabriele Mazzotta	depends on ACPI
13feca56ffSGabriele Mazzotta	select IIO_BUFFER
14feca56ffSGabriele Mazzotta	select IIO_TRIGGERED_BUFFER
15feca56ffSGabriele Mazzotta	select IIO_KFIFO_BUF
16feca56ffSGabriele Mazzotta	help
17feca56ffSGabriele Mazzotta	  Say Y here if you want to build a driver for the ACPI0008
18feca56ffSGabriele Mazzotta	  Ambient Light Sensor.
19feca56ffSGabriele Mazzotta
20feca56ffSGabriele Mazzotta	  To compile this driver as a module, choose M here: the module will
21feca56ffSGabriele Mazzotta	  be called acpi-als.
22feca56ffSGabriele Mazzotta
23bbdb822cSPeter Meerwaldconfig ADJD_S311
24bbdb822cSPeter Meerwald	tristate "ADJD-S311-CR999 digital color sensor"
25bbdb822cSPeter Meerwald	select IIO_BUFFER
26bbdb822cSPeter Meerwald	select IIO_TRIGGERED_BUFFER
27bbdb822cSPeter Meerwald	depends on I2C
28bbdb822cSPeter Meerwald	help
29bbdb822cSPeter Meerwald	  If you say yes here you get support for the Avago ADJD-S311-CR999
30bbdb822cSPeter Meerwald	  digital color light sensor.
31bbdb822cSPeter Meerwald
32bbdb822cSPeter Meerwald	  This driver can also be built as a module.  If so, the module
33bbdb822cSPeter Meerwald	  will be called adjd_s311.
34bbdb822cSPeter Meerwald
3535654354SManivannan Sadhasivamconfig ADUX1020
3635654354SManivannan Sadhasivam	tristate "ADUX1020 photometric sensor"
3735654354SManivannan Sadhasivam	select REGMAP_I2C
3835654354SManivannan Sadhasivam	depends on I2C
3935654354SManivannan Sadhasivam	help
4035654354SManivannan Sadhasivam	 Say Y here if you want to build a driver for the Analog Devices
4135654354SManivannan Sadhasivam	 ADUX1020 photometric sensor.
4235654354SManivannan Sadhasivam
4335654354SManivannan Sadhasivam	 To compile this driver as a module, choose M here: the
4435654354SManivannan Sadhasivam	 module will be called adux1020.
4535654354SManivannan Sadhasivam
46c36b5195SDavid Heidelbergconfig AL3010
47c36b5195SDavid Heidelberg	tristate "AL3010 ambient light sensor"
48c36b5195SDavid Heidelberg	depends on I2C
49c36b5195SDavid Heidelberg	help
50c36b5195SDavid Heidelberg	  Say Y here if you want to build a driver for the Dyna Image AL3010
51c36b5195SDavid Heidelberg	  ambient light sensor.
52c36b5195SDavid Heidelberg
53c36b5195SDavid Heidelberg	  To compile this driver as a module, choose M here: the
54c36b5195SDavid Heidelberg	  module will be called al3010.
55c36b5195SDavid Heidelberg
56f007d7f1SDaniel Balutaconfig AL3320A
57f007d7f1SDaniel Baluta	tristate "AL3320A ambient light sensor"
58f007d7f1SDaniel Baluta	depends on I2C
59f007d7f1SDaniel Baluta	help
60f007d7f1SDaniel Baluta	  Say Y here if you want to build a driver for the Dyna Image AL3320A
61f007d7f1SDaniel Baluta	  ambient light sensor.
62f007d7f1SDaniel Baluta
63f007d7f1SDaniel Baluta	  To compile this driver as a module, choose M here: the
64f007d7f1SDaniel Baluta	  module will be called al3320a.
65f007d7f1SDaniel Baluta
6603eff7b6SOleksandr Kravchenkoconfig APDS9300
6703eff7b6SOleksandr Kravchenko	tristate "APDS9300 ambient light sensor"
6803eff7b6SOleksandr Kravchenko	depends on I2C
6903eff7b6SOleksandr Kravchenko	help
7003eff7b6SOleksandr Kravchenko	  Say Y here if you want to build a driver for the Avago APDS9300
7103eff7b6SOleksandr Kravchenko	  ambient light sensor.
7203eff7b6SOleksandr Kravchenko
7303eff7b6SOleksandr Kravchenko	  To compile this driver as a module, choose M here: the
7403eff7b6SOleksandr Kravchenko	  module will be called apds9300.
7503eff7b6SOleksandr Kravchenko
76aff268cdSMatt Ranostayconfig APDS9960
77aff268cdSMatt Ranostay	tristate "Avago APDS9960 gesture/RGB/ALS/proximity sensor"
78aff268cdSMatt Ranostay	select REGMAP_I2C
79aff268cdSMatt Ranostay	select IIO_BUFFER
80aff268cdSMatt Ranostay	select IIO_KFIFO_BUF
81aff268cdSMatt Ranostay	depends on I2C
82aff268cdSMatt Ranostay	help
83aff268cdSMatt Ranostay	  Say Y here to build I2C interface support for the Avago
84aff268cdSMatt Ranostay	  APDS9960 gesture/RGB/ALS/proximity sensor.
85aff268cdSMatt Ranostay
86aff268cdSMatt Ranostay	  To compile this driver as a module, choose M here: the
87aff268cdSMatt Ranostay	  module will be called apds9960
88aff268cdSMatt Ranostay
89403e5586SChristian Eggersconfig AS73211
90*02324a09SJavier Carrasco	tristate "AMS AS73211 XYZ color sensor and AMS AS7331 UV sensor"
91403e5586SChristian Eggers	depends on I2C
92403e5586SChristian Eggers	select IIO_BUFFER
93403e5586SChristian Eggers	select IIO_TRIGGERED_BUFFER
94403e5586SChristian Eggers	help
95403e5586SChristian Eggers	 If you say yes here you get support for the AMS AS73211
96*02324a09SJavier Carrasco	 JENCOLOR(R) Digital XYZ and the AMS AS7331 UVA, UVB and UVC
97*02324a09SJavier Carrasco	 ultraviolet sensors.
98403e5586SChristian Eggers
99403e5586SChristian Eggers	 For triggered measurements, you will need an additional trigger driver
100403e5586SChristian Eggers	 like IIO_HRTIMER_TRIGGER or IIO_SYSFS_TRIGGER.
101403e5586SChristian Eggers
102403e5586SChristian Eggers	 This driver can also be built as a module.  If so, the module
103403e5586SChristian Eggers	 will be called as73211.
104403e5586SChristian Eggers
1053a11fbb0STomasz Duszynskiconfig BH1750
1063a11fbb0STomasz Duszynski	tristate "ROHM BH1750 ambient light sensor"
1073a11fbb0STomasz Duszynski	depends on I2C
1083a11fbb0STomasz Duszynski	help
1093a11fbb0STomasz Duszynski	  Say Y here to build support for the ROHM BH1710, BH1715, BH1721,
1103a11fbb0STomasz Duszynski	  BH1750, BH1751 ambient light sensors.
1113a11fbb0STomasz Duszynski
1123a11fbb0STomasz Duszynski	  To compile this driver as a module, choose M here: the module will
1133a11fbb0STomasz Duszynski	  be called bh1750.
1143a11fbb0STomasz Duszynski
1151f0477f1SLinus Walleijconfig BH1780
1161f0477f1SLinus Walleij	tristate "ROHM BH1780 ambient light sensor"
1171f0477f1SLinus Walleij	depends on I2C
1181f0477f1SLinus Walleij	help
1191f0477f1SLinus Walleij	  Say Y here to build support for the ROHM BH1780GLI ambient
1201f0477f1SLinus Walleij	  light sensor.
1211f0477f1SLinus Walleij
1221f0477f1SLinus Walleij	  To compile this driver as a module, choose M here: the module will
1231f0477f1SLinus Walleij	  be called bh1780.
1241f0477f1SLinus Walleij
125971672c0SKevin Tsaiconfig CM32181
126971672c0SKevin Tsai	depends on I2C
127971672c0SKevin Tsai	tristate "CM32181 driver"
128971672c0SKevin Tsai	help
129971672c0SKevin Tsai	  Say Y here if you use cm32181.
130971672c0SKevin Tsai	  This option enables ambient light sensor using
131971672c0SKevin Tsai	  Capella cm32181 device driver.
132971672c0SKevin Tsai
133971672c0SKevin Tsai	  To compile this driver as a module, choose M here:
134971672c0SKevin Tsai	  the module will be called cm32181.
135971672c0SKevin Tsai
136b84894c7SKevin Tsaiconfig CM3232
137b84894c7SKevin Tsai	depends on I2C
138b84894c7SKevin Tsai	tristate "CM3232 ambient light sensor"
139b84894c7SKevin Tsai	help
140b84894c7SKevin Tsai	  Say Y here if you use cm3232.
141b84894c7SKevin Tsai	  This option enables ambient light sensor using
142b84894c7SKevin Tsai	  Capella Microsystems cm3232 device driver.
143b84894c7SKevin Tsai
144b84894c7SKevin Tsai	  To compile this driver as a module, choose M here:
145b84894c7SKevin Tsai	  the module will be called cm3232.
146b84894c7SKevin Tsai
1478b054426SDaniel Balutaconfig CM3323
1488b054426SDaniel Baluta	depends on I2C
1498b054426SDaniel Baluta	tristate "Capella CM3323 color light sensor"
1508b054426SDaniel Baluta	help
15139b441bdSHartmut Knaack	  Say Y here if you want to build a driver for Capella CM3323
1528b054426SDaniel Baluta	  color sensor.
1538b054426SDaniel Baluta
1548b054426SDaniel Baluta	  To compile this driver as a module, choose M here: the module will
1558b054426SDaniel Baluta	  be called cm3323.
1568b054426SDaniel Baluta
1578afa505cSLinus Walleijconfig CM3605
1588afa505cSLinus Walleij	tristate "Capella CM3605 ambient light and proximity sensor"
1598afa505cSLinus Walleij	help
1608afa505cSLinus Walleij	  Say Y here if you want to build a driver for Capella CM3605
1618afa505cSLinus Walleij	  ambient light and short range proximity sensor.
1628afa505cSLinus Walleij
1638afa505cSLinus Walleij	  To compile this driver as a module, choose M here: the module will
1648afa505cSLinus Walleij	  be called cm3605.
1658afa505cSLinus Walleij
166e590d451SBeomho Seoconfig CM36651
167e590d451SBeomho Seo	depends on I2C
168e590d451SBeomho Seo	tristate "CM36651 driver"
169e590d451SBeomho Seo	help
170e590d451SBeomho Seo	  Say Y here if you use cm36651.
171e590d451SBeomho Seo	  This option enables proximity & RGB sensor using
172e590d451SBeomho Seo	  Capella cm36651 device driver.
173e590d451SBeomho Seo
174e590d451SBeomho Seo	  To compile this driver as a module, choose M here:
175e590d451SBeomho Seo	  the module will be called cm36651.
176e590d451SBeomho Seo
17748458b0cSGwendal Grignouconfig IIO_CROS_EC_LIGHT_PROX
17848458b0cSGwendal Grignou	tristate "ChromeOS EC Light and Proximity Sensors"
17948458b0cSGwendal Grignou	depends on IIO_CROS_EC_SENSORS_CORE
18048458b0cSGwendal Grignou	help
18148458b0cSGwendal Grignou	  Say Y here if you use the light and proximity sensors
18248458b0cSGwendal Grignou	  presented by the ChromeOS EC Sensor hub.
18348458b0cSGwendal Grignou
18448458b0cSGwendal Grignou	  To compile this driver as a module, choose M here:
18548458b0cSGwendal Grignou	  the module will be called cros_ec_light_prox.
18648458b0cSGwendal Grignou
18797d642e2SLinus Walleijconfig GP2AP002
18897d642e2SLinus Walleij	tristate "Sharp GP2AP002 Proximity/ALS sensor"
18997d642e2SLinus Walleij	depends on I2C
19097d642e2SLinus Walleij	select REGMAP
19197d642e2SLinus Walleij	help
19297d642e2SLinus Walleij	  Say Y here if you have a Sharp GP2AP002 proximity/ALS combo-chip
19397d642e2SLinus Walleij	  hooked to an I2C bus.
19497d642e2SLinus Walleij
19597d642e2SLinus Walleij	  To compile this driver as a module, choose M here: the
19697d642e2SLinus Walleij	  module will be called gp2ap002.
19797d642e2SLinus Walleij
198bf29fbeaSJacek Anaszewskiconfig GP2AP020A00F
199bf29fbeaSJacek Anaszewski	tristate "Sharp GP2AP020A00F Proximity/ALS sensor"
200bf29fbeaSJacek Anaszewski	depends on I2C
2018c3b3efbSRoberta Dobrescu	select REGMAP_I2C
202bf29fbeaSJacek Anaszewski	select IIO_BUFFER
203bf29fbeaSJacek Anaszewski	select IIO_TRIGGERED_BUFFER
204419a4aaeSRussell King - ARM Linux	select IRQ_WORK
205bf29fbeaSJacek Anaszewski	help
206bf29fbeaSJacek Anaszewski	  Say Y here if you have a Sharp GP2AP020A00F proximity/ALS combo-chip
207bf29fbeaSJacek Anaszewski	  hooked to an I2C bus.
208bf29fbeaSJacek Anaszewski
209bf29fbeaSJacek Anaszewski	  To compile this driver as a module, choose M here: the
210bf29fbeaSJacek Anaszewski	  module will be called gp2ap020a00f.
211bf29fbeaSJacek Anaszewski
212b081b738SJeff LaBundyconfig IQS621_ALS
213b081b738SJeff LaBundy	tristate "Azoteq IQS621/622 ambient light sensors"
214b081b738SJeff LaBundy	depends on MFD_IQS62X || COMPILE_TEST
215b081b738SJeff LaBundy	help
216b081b738SJeff LaBundy	  Say Y here if you want to build support for the Azoteq IQS621
217b081b738SJeff LaBundy	  and IQS622 ambient light sensors.
218b081b738SJeff LaBundy
219b081b738SJeff LaBundy	  To compile this driver as a module, choose M here: the module
220b081b738SJeff LaBundy	  will be called iqs621-als.
221b081b738SJeff LaBundy
222a5750414SBrian Masneyconfig SENSORS_ISL29018
223a5750414SBrian Masney	tristate "Intersil 29018 light and proximity sensor"
224a5750414SBrian Masney	depends on I2C
225a5750414SBrian Masney	select REGMAP_I2C
226a5750414SBrian Masney	default n
227a5750414SBrian Masney	help
228a5750414SBrian Masney	  If you say yes here you get support for ambient light sensing and
229a5750414SBrian Masney	  proximity infrared sensing from Intersil ISL29018.
230a5750414SBrian Masney	  This driver will provide the measurements of ambient light intensity
231a5750414SBrian Masney	  in lux, proximity infrared sensing and normal infrared sensing.
232a5750414SBrian Masney	  Data from sensor is accessible via sysfs.
233a5750414SBrian Masney
234105c3de1SBrian Masneyconfig SENSORS_ISL29028
235105c3de1SBrian Masney	tristate "Intersil ISL29028 Concurrent Light and Proximity Sensor"
236105c3de1SBrian Masney	depends on I2C
237105c3de1SBrian Masney	select REGMAP_I2C
238105c3de1SBrian Masney	help
239105c3de1SBrian Masney	  Provides driver for the Intersil's ISL29028 device.
240105c3de1SBrian Masney	  This driver supports the sysfs interface to get the ALS, IR intensity,
241105c3de1SBrian Masney	  Proximity value via iio. The ISL29028 provides the concurrent sensing
242105c3de1SBrian Masney	  of ambient light and proximity.
243105c3de1SBrian Masney
2446c25539cSPeter Meerwaldconfig ISL29125
2456c25539cSPeter Meerwald	tristate "Intersil ISL29125 digital color light sensor"
2466c25539cSPeter Meerwald	depends on I2C
2476c25539cSPeter Meerwald	select IIO_BUFFER
2486c25539cSPeter Meerwald	select IIO_TRIGGERED_BUFFER
2496c25539cSPeter Meerwald	help
2506c25539cSPeter Meerwald	  Say Y here if you want to build a driver for the Intersil ISL29125
2516c25539cSPeter Meerwald	  RGB light sensor for I2C.
2526c25539cSPeter Meerwald
2536c25539cSPeter Meerwald	  To compile this driver as a module, choose M here: the module will be
2546c25539cSPeter Meerwald	  called isl29125.
2556c25539cSPeter Meerwald
2564347f511SMarek Vasutconfig ISL76682
2574347f511SMarek Vasut	tristate "Intersil ISL76682 Light Sensor"
2584347f511SMarek Vasut	depends on I2C
2594347f511SMarek Vasut	select REGMAP_I2C
2604347f511SMarek Vasut	help
2614347f511SMarek Vasut	  Say Y here if you want to build a driver for the Intersil ISL76682
2624347f511SMarek Vasut	  Ambient Light Sensor and IR Intensity sensor. This driver provides
2634347f511SMarek Vasut	  the readouts via standard IIO sysfs and device interface. Both ALS
2644347f511SMarek Vasut	  illuminance and IR illuminance are provided raw with separate scale
2654347f511SMarek Vasut	  setting which can be configured via sysfs, the default scale is 1000
2664347f511SMarek Vasut	  lux, other options are 4000/16000/64000 lux.
2674347f511SMarek Vasut
2684347f511SMarek Vasut	  To compile this driver as a module, choose M here: the module will be
2694347f511SMarek Vasut	  called isl76682.
2704347f511SMarek Vasut
2713edc84e6SLars-Peter Clausenconfig HID_SENSOR_ALS
2723edc84e6SLars-Peter Clausen	depends on HID_SENSOR_HUB
2733edc84e6SLars-Peter Clausen	select IIO_BUFFER
2743edc84e6SLars-Peter Clausen	select HID_SENSOR_IIO_COMMON
2753edc84e6SLars-Peter Clausen	select HID_SENSOR_IIO_TRIGGER
2763edc84e6SLars-Peter Clausen	tristate "HID ALS"
2773edc84e6SLars-Peter Clausen	help
2783edc84e6SLars-Peter Clausen	  Say yes here to build support for the HID SENSOR
2793edc84e6SLars-Peter Clausen	  Ambient light sensor.
2803edc84e6SLars-Peter Clausen
2814f51c9adSRoberta Dobrescu	  To compile this driver as a module, choose M here: the
2824f51c9adSRoberta Dobrescu	  module will be called hid-sensor-als.
2834f51c9adSRoberta Dobrescu
28439a3a013SArchana Patniconfig HID_SENSOR_PROX
28539a3a013SArchana Patni	depends on HID_SENSOR_HUB
28639a3a013SArchana Patni	select IIO_BUFFER
28739a3a013SArchana Patni	select HID_SENSOR_IIO_COMMON
28839a3a013SArchana Patni	select HID_SENSOR_IIO_TRIGGER
28939a3a013SArchana Patni	tristate "HID PROX"
29039a3a013SArchana Patni	help
29139a3a013SArchana Patni	  Say yes here to build support for the HID SENSOR
29239a3a013SArchana Patni	  Proximity sensor.
29339a3a013SArchana Patni
29439a3a013SArchana Patni	  To compile this driver as a module, choose M here: the
29539a3a013SArchana Patni	  module will be called hid-sensor-prox.
29639a3a013SArchana Patni
297995863ccSKuppuswamy Sathyanarayananconfig JSA1212
298995863ccSKuppuswamy Sathyanarayanan	tristate "JSA1212 ALS and proximity sensor driver"
299995863ccSKuppuswamy Sathyanarayanan	depends on I2C
30049e19d5fSRoberta Dobrescu	select REGMAP_I2C
301995863ccSKuppuswamy Sathyanarayanan	help
302995863ccSKuppuswamy Sathyanarayanan	  Say Y here if you want to build a IIO driver for JSA1212
303995863ccSKuppuswamy Sathyanarayanan	  proximity & ALS sensor device.
304995863ccSKuppuswamy Sathyanarayanan
305995863ccSKuppuswamy Sathyanarayanan	  To compile this driver as a module, choose M here:
306995863ccSKuppuswamy Sathyanarayanan	  the module will be called jsa1212.
307995863ccSKuppuswamy Sathyanarayanan
30841ff93d1SMatti Vaittinenconfig ROHM_BU27008
30941ff93d1SMatti Vaittinen	tristate "ROHM BU27008 color (RGB+C/IR) sensor"
31041ff93d1SMatti Vaittinen	depends on I2C
31141ff93d1SMatti Vaittinen	select REGMAP_I2C
31241ff93d1SMatti Vaittinen	select IIO_GTS_HELPER
31341ff93d1SMatti Vaittinen	help
31441ff93d1SMatti Vaittinen	  Enable support for the ROHM BU27008 color sensor.
31541ff93d1SMatti Vaittinen	  The ROHM BU27008 is a sensor with 5 photodiodes (red, green,
31641ff93d1SMatti Vaittinen	  blue, clear and IR) with four configurable channels. Red and
31741ff93d1SMatti Vaittinen	  green being always available and two out of the rest three
31841ff93d1SMatti Vaittinen	  (blue, clear, IR) can be selected to be simultaneously measured.
31941ff93d1SMatti Vaittinen	  Typical application is adjusting LCD backlight of TVs,
32041ff93d1SMatti Vaittinen	  mobile phones and tablet PCs.
32141ff93d1SMatti Vaittinen
322e52afbd6SMatti Vaittinenconfig ROHM_BU27034
323e52afbd6SMatti Vaittinen	tristate "ROHM BU27034 ambient light sensor"
324e52afbd6SMatti Vaittinen	depends on I2C
325e52afbd6SMatti Vaittinen	select REGMAP_I2C
326e52afbd6SMatti Vaittinen	select IIO_GTS_HELPER
327e52afbd6SMatti Vaittinen	select IIO_BUFFER
328e52afbd6SMatti Vaittinen	select IIO_KFIFO_BUF
329e52afbd6SMatti Vaittinen	help
330e52afbd6SMatti Vaittinen	  Enable support for the ROHM BU27034 ambient light sensor. ROHM BU27034
331e52afbd6SMatti Vaittinen	  is an ambient light sesnor with 3 channels and 3 photo diodes capable
332e52afbd6SMatti Vaittinen	  of detecting a very wide range of illuminance.
333e52afbd6SMatti Vaittinen	  Typical application is adjusting LCD and backlight power of TVs and
334e52afbd6SMatti Vaittinen	  mobile phones.
335e52afbd6SMatti Vaittinen
336efa86e9fSDaniel Balutaconfig RPR0521
337efa86e9fSDaniel Baluta	tristate "ROHM RPR0521 ALS and proximity sensor driver"
338efa86e9fSDaniel Baluta	depends on I2C
339efa86e9fSDaniel Baluta	select REGMAP_I2C
3406ac12303SPaul Gazzillo	select IIO_BUFFER
3416ac12303SPaul Gazzillo	select IIO_TRIGGERED_BUFFER
342efa86e9fSDaniel Baluta	help
343efa86e9fSDaniel Baluta	  Say Y here if you want to build support for ROHM's RPR0521
344efa86e9fSDaniel Baluta	  ambient light and proximity sensor device.
345efa86e9fSDaniel Baluta
346efa86e9fSDaniel Baluta	  To compile this driver as a module, choose M here:
347efa86e9fSDaniel Baluta	  the module will be called rpr0521.
348efa86e9fSDaniel Baluta
3499c8ea1b2SJohan Hovoldconfig SENSORS_LM3533
3509c8ea1b2SJohan Hovold	tristate "LM3533 ambient light sensor"
3519c8ea1b2SJohan Hovold	depends on MFD_LM3533
3529c8ea1b2SJohan Hovold	help
3539c8ea1b2SJohan Hovold	  If you say yes here you get support for the ambient light sensor
3549c8ea1b2SJohan Hovold	  interface on National Semiconductor / TI LM3533 Lighting Power
3559c8ea1b2SJohan Hovold	  chips.
3569c8ea1b2SJohan Hovold
3579c8ea1b2SJohan Hovold	  The sensor interface can be used to control the LEDs and backlights
3589c8ea1b2SJohan Hovold	  of the chip through defining five light zones and three sets of
3599c8ea1b2SJohan Hovold	  corresponding output-current values.
3609c8ea1b2SJohan Hovold
3619c8ea1b2SJohan Hovold	  The driver provides raw and mean adc readings along with the current
3629c8ea1b2SJohan Hovold	  light zone through sysfs. A threshold event can be generated on zone
3639c8ea1b2SJohan Hovold	  changes. The ALS-control output values can be set per zone for the
3649c8ea1b2SJohan Hovold	  three current output channels.
36562a1efb9SPeter Meerwald
3668b0d4c40SAnshul Dalalconfig LTR390
3678b0d4c40SAnshul Dalal	tristate "LTR-390UV-01 ambient light and UV sensor"
3688b0d4c40SAnshul Dalal	depends on I2C
3698b0d4c40SAnshul Dalal	select REGMAP_I2C
3708b0d4c40SAnshul Dalal	help
3718b0d4c40SAnshul Dalal	  If you say yes here you get support for the Lite-On LTR-390UV-01
3728b0d4c40SAnshul Dalal	  ambient light and UV sensor.
3738b0d4c40SAnshul Dalal
3748b0d4c40SAnshul Dalal	  This driver can also be built as a module.  If so, the module
3758b0d4c40SAnshul Dalal	  will be called ltr390.
3768b0d4c40SAnshul Dalal
3772690be90SPeter Meerwaldconfig LTR501
3782690be90SPeter Meerwald	tristate "LTR-501ALS-01 light sensor"
3792690be90SPeter Meerwald	depends on I2C
3805d9fc0f6SHartmut Knaack	select REGMAP_I2C
3812690be90SPeter Meerwald	select IIO_BUFFER
3822690be90SPeter Meerwald	select IIO_TRIGGERED_BUFFER
3832690be90SPeter Meerwald	help
3842690be90SPeter Meerwald	  If you say yes here you get support for the Lite-On LTR-501ALS-01
3858592a7eeSDaniel Baluta	  ambient light and proximity sensor. This driver also supports LTR-559
386035ebb15SDaniel Baluta	  ALS/PS or LTR-301 ALS sensors.
3872690be90SPeter Meerwald
3882690be90SPeter Meerwald	  This driver can also be built as a module.  If so, the module
3892690be90SPeter Meerwald	  will be called ltr501.
3902690be90SPeter Meerwald
39183f0bcd4SShreeya Patelconfig LTRF216A
39283f0bcd4SShreeya Patel	tristate "Liteon LTRF216A Light Sensor"
39383f0bcd4SShreeya Patel	depends on I2C
39483f0bcd4SShreeya Patel	select REGMAP_I2C
39583f0bcd4SShreeya Patel	help
39683f0bcd4SShreeya Patel	  If you say Y or M here, you get support for Liteon LTRF216A
39783f0bcd4SShreeya Patel	  Ambient Light Sensor.
39883f0bcd4SShreeya Patel
39983f0bcd4SShreeya Patel	  If built as a dynamically linked module, it will be called
40083f0bcd4SShreeya Patel	  ltrf216a.
40183f0bcd4SShreeya Patel
4020f079547SJeff LaBundyconfig LV0104CS
4030f079547SJeff LaBundy	tristate "LV0104CS Ambient Light Sensor"
4040f079547SJeff LaBundy	depends on I2C
4050f079547SJeff LaBundy	help
4060f079547SJeff LaBundy	  Say Y here if you want to build support for the On Semiconductor
4070f079547SJeff LaBundy	  LV0104CS ambient light sensor.
4080f079547SJeff LaBundy
4090f079547SJeff LaBundy	  To compile this driver as a module, choose M here:
4100f079547SJeff LaBundy	  the module will be called lv0104cs.
4110f079547SJeff LaBundy
412b9567e66SCrestez Dan Leonardconfig MAX44000
413b9567e66SCrestez Dan Leonard	tristate "MAX44000 Ambient and Infrared Proximity Sensor"
414b9567e66SCrestez Dan Leonard	depends on I2C
415b9567e66SCrestez Dan Leonard	select REGMAP_I2C
416193e2d4fSAlison Schofield	select IIO_BUFFER
417193e2d4fSAlison Schofield	select IIO_TRIGGERED_BUFFER
418b9567e66SCrestez Dan Leonard	help
419b9567e66SCrestez Dan Leonard	  Say Y here if you want to build support for Maxim Integrated's
420b9567e66SCrestez Dan Leonard	  MAX44000 ambient and infrared proximity sensor device.
421b9567e66SCrestez Dan Leonard
422b9567e66SCrestez Dan Leonard	  To compile this driver as a module, choose M here:
423b9567e66SCrestez Dan Leonard	  the module will be called max44000.
424b9567e66SCrestez Dan Leonard
4256aef699aSRobert Eshlemanconfig MAX44009
4266aef699aSRobert Eshleman	tristate "MAX44009 Ambient Light Sensor"
4276aef699aSRobert Eshleman	depends on I2C
428741172d1SMartyn Welch	select REGMAP_I2C
4296aef699aSRobert Eshleman	help
4306aef699aSRobert Eshleman	 Say Y here if you want to build support for Maxim Integrated's
4316aef699aSRobert Eshleman	 MAX44009 ambient light sensor device.
4326aef699aSRobert Eshleman
4336aef699aSRobert Eshleman	 To compile this driver as a module, choose M here:
4346aef699aSRobert Eshleman	 the module will be called max44009.
4356aef699aSRobert Eshleman
436741172d1SMartyn Welchconfig NOA1305
437741172d1SMartyn Welch	tristate "ON Semiconductor NOA1305 ambient light sensor"
438741172d1SMartyn Welch	depends on I2C
439a26e0fbeSzhong jiang	select REGMAP_I2C
440741172d1SMartyn Welch	help
441741172d1SMartyn Welch	 Say Y here if you want to build support for the ON Semiconductor
442741172d1SMartyn Welch	 NOA1305 ambient light sensor.
443741172d1SMartyn Welch
444741172d1SMartyn Welch	 To compile this driver as a module, choose M here:
445741172d1SMartyn Welch	 The module will be called noa1305.
446741172d1SMartyn Welch
44794a9b7b1SAndreas Dannenbergconfig OPT3001
44894a9b7b1SAndreas Dannenberg	tristate "Texas Instruments OPT3001 Light Sensor"
44994a9b7b1SAndreas Dannenberg	depends on I2C
45094a9b7b1SAndreas Dannenberg	help
45194a9b7b1SAndreas Dannenberg	  If you say Y or M here, you get support for Texas Instruments
45294a9b7b1SAndreas Dannenberg	  OPT3001 Ambient Light Sensor.
45394a9b7b1SAndreas Dannenberg
45494a9b7b1SAndreas Dannenberg	  If built as a dynamically linked module, it will be called
45594a9b7b1SAndreas Dannenberg	  opt3001.
45694a9b7b1SAndreas Dannenberg
4579a960841SStefan Windfeldt-Prytzconfig OPT4001
4589a960841SStefan Windfeldt-Prytz	tristate "Texas Instruments OPT4001 Light Sensor"
4599a960841SStefan Windfeldt-Prytz	depends on I2C
4609a960841SStefan Windfeldt-Prytz	select REGMAP_I2C
4619a960841SStefan Windfeldt-Prytz	help
4629a960841SStefan Windfeldt-Prytz	  If you say Y or M here, you get support for Texas Instruments
4639a960841SStefan Windfeldt-Prytz	  OPT4001 Ambient Light Sensor.
4649a960841SStefan Windfeldt-Prytz
4659a960841SStefan Windfeldt-Prytz	  If built as a dynamically linked module, it will be called
4669a960841SStefan Windfeldt-Prytz	  opt4001.
4679a960841SStefan Windfeldt-Prytz
4688ab6abfcSAdriana Reusconfig PA12203001
4698ab6abfcSAdriana Reus	tristate "TXC PA12203001 light and proximity sensor"
4708ab6abfcSAdriana Reus	depends on I2C
4718ab6abfcSAdriana Reus	select REGMAP_I2C
4728ab6abfcSAdriana Reus	help
4738ab6abfcSAdriana Reus	  If you say yes here you get support for the TXC PA12203001
4748ab6abfcSAdriana Reus	  ambient light and proximity sensor.
4758ab6abfcSAdriana Reus
4768ab6abfcSAdriana Reus	  This driver can also be built as a module.  If so, the module
4778ab6abfcSAdriana Reus	  will be called pa12203001.
4788ab6abfcSAdriana Reus
479e01e7eafSMaxime Roussin-Bélangerconfig SI1133
480e01e7eafSMaxime Roussin-Bélanger	tristate "SI1133 UV Index Sensor and Ambient Light Sensor"
481e01e7eafSMaxime Roussin-Bélanger	depends on I2C
482e01e7eafSMaxime Roussin-Bélanger	select REGMAP_I2C
483e01e7eafSMaxime Roussin-Bélanger	  help
484e01e7eafSMaxime Roussin-Bélanger	  Say Y here if you want to build a driver for the Silicon Labs SI1133
485e01e7eafSMaxime Roussin-Bélanger	  UV Index Sensor and Ambient Light Sensor chip.
486e01e7eafSMaxime Roussin-Bélanger
487e01e7eafSMaxime Roussin-Bélanger	  To compile this driver as a module, choose M here: the module will be
488e01e7eafSMaxime Roussin-Bélanger	  called si1133.
489e01e7eafSMaxime Roussin-Bélanger
490ac45e57fSPeter Meerwald-Stadlerconfig SI1145
491ac45e57fSPeter Meerwald-Stadler	tristate "SI1132 and SI1141/2/3/5/6/7 combined ALS, UV index and proximity sensor"
492ac45e57fSPeter Meerwald-Stadler	depends on I2C
493ac45e57fSPeter Meerwald-Stadler	select IIO_BUFFER
494ac45e57fSPeter Meerwald-Stadler	select IIO_TRIGGERED_BUFFER
495ac45e57fSPeter Meerwald-Stadler	help
496ac45e57fSPeter Meerwald-Stadler	  Say Y here if you want to build a driver for the Silicon Labs SI1132 or
497ac45e57fSPeter Meerwald-Stadler	  SI1141/2/3/5/6/7 combined ambient light, UV index and proximity sensor
498ac45e57fSPeter Meerwald-Stadler	  chips.
499ac45e57fSPeter Meerwald-Stadler
500ac45e57fSPeter Meerwald-Stadler	  To compile this driver as a module, choose M here: the module will be
501ac45e57fSPeter Meerwald-Stadler	  called si1145.
502ac45e57fSPeter Meerwald-Stadler
503be9e6229STiberiu Breanaconfig STK3310
504be9e6229STiberiu Breana	tristate "STK3310 ALS and proximity sensor"
505be9e6229STiberiu Breana	depends on I2C
5065d6e834aSHartmut Knaack	select REGMAP_I2C
507be9e6229STiberiu Breana	help
508be9e6229STiberiu Breana	  Say yes here to get support for the Sensortek STK3310 ambient light
509be9e6229STiberiu Breana	  and proximity sensor. The STK3311 model is also supported by this
510be9e6229STiberiu Breana	  driver.
511be9e6229STiberiu Breana
512be9e6229STiberiu Breana	  Choosing M will build the driver as a module. If so, the module
513be9e6229STiberiu Breana	  will be called stk3310.
514be9e6229STiberiu Breana
5153025c868SLorenzo Bianconiconfig ST_UVIS25
5163025c868SLorenzo Bianconi	tristate "STMicroelectronics UVIS25 sensor driver"
5173025c868SLorenzo Bianconi	depends on (I2C || SPI)
5183025c868SLorenzo Bianconi	select IIO_BUFFER
5193025c868SLorenzo Bianconi	select IIO_TRIGGERED_BUFFER
5203025c868SLorenzo Bianconi	select ST_UVIS25_I2C if (I2C)
5213025c868SLorenzo Bianconi	select ST_UVIS25_SPI if (SPI_MASTER)
5223025c868SLorenzo Bianconi	help
5233025c868SLorenzo Bianconi	  Say yes here to build support for STMicroelectronics UVIS25
5243025c868SLorenzo Bianconi	  uv sensor
5253025c868SLorenzo Bianconi
5263025c868SLorenzo Bianconi	  To compile this driver as a module, choose M here: the module
5273025c868SLorenzo Bianconi	  will be called st_uvis25.
5283025c868SLorenzo Bianconi
5293025c868SLorenzo Bianconiconfig ST_UVIS25_I2C
5303025c868SLorenzo Bianconi	tristate
5313025c868SLorenzo Bianconi	depends on ST_UVIS25
5323025c868SLorenzo Bianconi	select REGMAP_I2C
5333025c868SLorenzo Bianconi
5343025c868SLorenzo Bianconiconfig ST_UVIS25_SPI
5353025c868SLorenzo Bianconi	tristate
5363025c868SLorenzo Bianconi	depends on ST_UVIS25
5373025c868SLorenzo Bianconi	select REGMAP_SPI
5383025c868SLorenzo Bianconi
539a244e7b5SPeter Meerwaldconfig TCS3414
540a244e7b5SPeter Meerwald	tristate "TAOS TCS3414 digital color sensor"
541a244e7b5SPeter Meerwald	depends on I2C
542a244e7b5SPeter Meerwald	select IIO_BUFFER
543a244e7b5SPeter Meerwald	select IIO_TRIGGERED_BUFFER
544a244e7b5SPeter Meerwald	help
545a244e7b5SPeter Meerwald	  If you say yes here you get support for the TAOS TCS3414
546a244e7b5SPeter Meerwald	  family of digital color sensors.
547a244e7b5SPeter Meerwald
548a244e7b5SPeter Meerwald	  This driver can also be built as a module.  If so, the module
549a244e7b5SPeter Meerwald	  will be called tcs3414.
550a244e7b5SPeter Meerwald
551eb869adeSPeter Meerwaldconfig TCS3472
552eb869adeSPeter Meerwald	tristate "TAOS TCS3472 color light-to-digital converter"
553eb869adeSPeter Meerwald	depends on I2C
554089b54bdSPeter Meerwald	select IIO_BUFFER
555089b54bdSPeter Meerwald	select IIO_TRIGGERED_BUFFER
556eb869adeSPeter Meerwald	help
557eb869adeSPeter Meerwald	  If you say yes here you get support for the TAOS TCS3472
558eb869adeSPeter Meerwald	  family of color light-to-digital converters with IR filter.
559eb869adeSPeter Meerwald
560eb869adeSPeter Meerwald	  This driver can also be built as a module.  If so, the module
561eb869adeSPeter Meerwald	  will be called tcs3472.
562eb869adeSPeter Meerwald
5639c2251ddSJonathan Cameronconfig SENSORS_TSL2563
5649c2251ddSJonathan Cameron	tristate "TAOS TSL2560, TSL2561, TSL2562 and TSL2563 ambient light sensors"
5659c2251ddSJonathan Cameron	depends on I2C
5669c2251ddSJonathan Cameron	help
5679c2251ddSJonathan Cameron	  If you say yes here you get support for the Taos TSL2560,
5689c2251ddSJonathan Cameron	  TSL2561, TSL2562 and TSL2563 ambient light sensors.
5699c2251ddSJonathan Cameron
5709c2251ddSJonathan Cameron	  This driver can also be built as a module.  If so, the module
5719c2251ddSJonathan Cameron	  will be called tsl2563.
5729c2251ddSJonathan Cameron
573f44d5c8aSBrian Masneyconfig TSL2583
574f44d5c8aSBrian Masney	tristate "TAOS TSL2580, TSL2581 and TSL2583 light-to-digital converters"
575f44d5c8aSBrian Masney	depends on I2C
576f44d5c8aSBrian Masney	help
577f44d5c8aSBrian Masney	  Provides support for the TAOS tsl2580, tsl2581 and tsl2583 devices.
578f44d5c8aSBrian Masney	  Access ALS data via iio, sysfs.
579f44d5c8aSBrian Masney
5802335f0d7SJoe Sandomconfig TSL2591
5812335f0d7SJoe Sandom        tristate "TAOS TSL2591 ambient light sensor"
5822335f0d7SJoe Sandom        depends on I2C
5832335f0d7SJoe Sandom        help
5842335f0d7SJoe Sandom          Select Y here for support of the AMS/TAOS TSL2591 ambient light sensor,
5852335f0d7SJoe Sandom          featuring channels for combined visible + IR intensity and lux illuminance.
5862335f0d7SJoe Sandom          Access data via iio and sysfs. Supports iio_events.
5872335f0d7SJoe Sandom
5882335f0d7SJoe Sandom          To compile this driver as a module, select M: the
5892335f0d7SJoe Sandom          module will be called tsl2591.
5902335f0d7SJoe Sandom
591c06c4d79SBrian Masneyconfig TSL2772
592c06c4d79SBrian Masney	tristate "TAOS TSL/TMD2x71 and TSL/TMD2x72 Family of light and proximity sensors"
593c06c4d79SBrian Masney	depends on I2C
594c06c4d79SBrian Masney	help
595c06c4d79SBrian Masney	  Support for: tsl2571, tsl2671, tmd2671, tsl2771, tmd2771, tsl2572, tsl2672,
596c06c4d79SBrian Masney	  tmd2672, tsl2772, tmd2772 devices.
597c06c4d79SBrian Masney	  Provides iio_events and direct access via sysfs.
598c06c4d79SBrian Masney
599aab9ba7eSPeter Meerwaldconfig TSL4531
600aab9ba7eSPeter Meerwald	tristate "TAOS TSL4531 ambient light sensors"
601aab9ba7eSPeter Meerwald	depends on I2C
602aab9ba7eSPeter Meerwald	help
603aab9ba7eSPeter Meerwald	  Say Y here if you want to build a driver for the TAOS TSL4531 family
604aab9ba7eSPeter Meerwald	  of ambient light sensors with direct lux output.
605aab9ba7eSPeter Meerwald
606aab9ba7eSPeter Meerwald	  To compile this driver as a module, choose M here: the
607aab9ba7eSPeter Meerwald	  module will be called tsl4531.
608aab9ba7eSPeter Meerwald
609c14f8abeSAdriana Reusconfig US5182D
610c14f8abeSAdriana Reus	tristate "UPISEMI light and proximity sensor"
611c14f8abeSAdriana Reus	depends on I2C
612c14f8abeSAdriana Reus	help
613c14f8abeSAdriana Reus	  If you say yes here you get support for the UPISEMI US5182D
614c14f8abeSAdriana Reus	  ambient light and proximity sensor.
615c14f8abeSAdriana Reus
616c14f8abeSAdriana Reus	  This driver can also be built as a module.  If so, the module
617c14f8abeSAdriana Reus	  will be called us5182d.
618c14f8abeSAdriana Reus
61962a1efb9SPeter Meerwaldconfig VCNL4000
620be38866fSTomas Novotny	tristate "VCNL4000/4010/4020/4200 combined ALS and proximity sensor"
6218fe78d52SMathieu Othacehe	select IIO_BUFFER
6228fe78d52SMathieu Othacehe	select IIO_TRIGGERED_BUFFER
62362a1efb9SPeter Meerwald	depends on I2C
62462a1efb9SPeter Meerwald	help
625d978bfddSPeter Meerwald-Stadler	  Say Y here if you want to build a driver for the Vishay VCNL4000,
626be38866fSTomas Novotny	  VCNL4010, VCNL4020, VCNL4200 combined ambient light and proximity
627be38866fSTomas Novotny	  sensor.
62862a1efb9SPeter Meerwald
62962a1efb9SPeter Meerwald	  To compile this driver as a module, choose M here: the
63062a1efb9SPeter Meerwald	  module will be called vcnl4000.
63162a1efb9SPeter Meerwald
63255707294SParthiban Nallathambiconfig VCNL4035
63355707294SParthiban Nallathambi	tristate "VCNL4035 combined ALS and proximity sensor"
63444a146a4SNecip Fazil Yildiran	select IIO_BUFFER
63555707294SParthiban Nallathambi	select IIO_TRIGGERED_BUFFER
63655707294SParthiban Nallathambi	select REGMAP_I2C
63755707294SParthiban Nallathambi	depends on I2C
63855707294SParthiban Nallathambi	help
63955707294SParthiban Nallathambi	  Say Y here if you want to build a driver for the Vishay VCNL4035,
64055707294SParthiban Nallathambi	  combined ambient light (ALS) and proximity sensor. Currently only ALS
64155707294SParthiban Nallathambi	  function is available.
64255707294SParthiban Nallathambi
64355707294SParthiban Nallathambi	  To compile this driver as a module, choose M here: the
64455707294SParthiban Nallathambi	  module will be called vcnl4035.
64555707294SParthiban Nallathambi
6467b779f57SRishi Guptaconfig VEML6030
6477b779f57SRishi Gupta	tristate "VEML6030 ambient light sensor"
6487b779f57SRishi Gupta	select REGMAP_I2C
6497b779f57SRishi Gupta	depends on I2C
6507b779f57SRishi Gupta	help
6517b779f57SRishi Gupta	  Say Y here if you want to build a driver for the Vishay VEML6030
6527b779f57SRishi Gupta	  ambient light sensor (ALS).
6537b779f57SRishi Gupta
6547b779f57SRishi Gupta	  To compile this driver as a module, choose M here: the
6557b779f57SRishi Gupta	  module will be called veml6030.
6567b779f57SRishi Gupta
657dfd2ab8dSPeter Meerwald-Stadlerconfig VEML6070
658dfd2ab8dSPeter Meerwald-Stadler	tristate "VEML6070 UV A light sensor"
659dfd2ab8dSPeter Meerwald-Stadler	depends on I2C
660dfd2ab8dSPeter Meerwald-Stadler	help
661dfd2ab8dSPeter Meerwald-Stadler	  Say Y here if you want to build a driver for the Vishay VEML6070 UV A
662dfd2ab8dSPeter Meerwald-Stadler	  light sensor.
663dfd2ab8dSPeter Meerwald-Stadler
664dfd2ab8dSPeter Meerwald-Stadler	  To compile this driver as a module, choose M here: the
665dfd2ab8dSPeter Meerwald-Stadler	  module will be called veml6070.
666dfd2ab8dSPeter Meerwald-Stadler
6673b82f432SJavier Carrascoconfig VEML6075
6683b82f432SJavier Carrasco	tristate "VEML6075 UVA and UVB light sensor"
6693b82f432SJavier Carrasco	select REGMAP_I2C
6703b82f432SJavier Carrasco	depends on I2C
6713b82f432SJavier Carrasco	help
6723b82f432SJavier Carrasco	  Say Y here if you want to build a driver for the Vishay VEML6075 UVA
6733b82f432SJavier Carrasco	  and UVB light sensor.
6743b82f432SJavier Carrasco
6753b82f432SJavier Carrasco	  To compile this driver as a module, choose M here: the
6763b82f432SJavier Carrasco	  module will be called veml6075.
6773b82f432SJavier Carrasco
6785e7f47e4SManivannan Sadhasivamconfig VL6180
6795e7f47e4SManivannan Sadhasivam	tristate "VL6180 ALS, range and proximity sensor"
6805e7f47e4SManivannan Sadhasivam	depends on I2C
6815e7f47e4SManivannan Sadhasivam	help
6825e7f47e4SManivannan Sadhasivam	  Say Y here if you want to build a driver for the STMicroelectronics
6835e7f47e4SManivannan Sadhasivam	  VL6180 combined ambient light, range and proximity sensor.
6845e7f47e4SManivannan Sadhasivam
6855e7f47e4SManivannan Sadhasivam	  To compile this driver as a module, choose M here: the
6865e7f47e4SManivannan Sadhasivam	  module will be called vl6180.
6875e7f47e4SManivannan Sadhasivam
6888556f514SPeter Meerwald-Stadlerconfig ZOPT2201
6898556f514SPeter Meerwald-Stadler	tristate "ZOPT2201 ALS and UV B sensor"
6908556f514SPeter Meerwald-Stadler	depends on I2C
6918556f514SPeter Meerwald-Stadler	help
6928556f514SPeter Meerwald-Stadler	  Say Y here if you want to build a driver for the IDT
6938556f514SPeter Meerwald-Stadler	  ZOPT2201 ambient light and UV B sensor.
6948556f514SPeter Meerwald-Stadler
6958556f514SPeter Meerwald-Stadler	  To compile this driver as a module, choose M here: the
6968556f514SPeter Meerwald-Stadler	  module will be called zopt2201.
6978556f514SPeter Meerwald-Stadler
6989c8ea1b2SJohan Hovoldendmenu
699