xref: /linux/drivers/iio/light/Kconfig (revision 3a11fbb037a1ecd3e1070ee484f1ea887133f21b)
19c8ea1b2SJohan Hovold#
29c8ea1b2SJohan Hovold# Light sensors
39c8ea1b2SJohan Hovold#
43edc84e6SLars-Peter Clausen# When adding new entries keep the list in alphabetical order
53edc84e6SLars-Peter Clausen
69c8ea1b2SJohan Hovoldmenu "Light sensors"
79c8ea1b2SJohan Hovold
8bbdb822cSPeter Meerwaldconfig ADJD_S311
9bbdb822cSPeter Meerwald	tristate "ADJD-S311-CR999 digital color sensor"
10bbdb822cSPeter Meerwald	select IIO_BUFFER
11bbdb822cSPeter Meerwald	select IIO_TRIGGERED_BUFFER
12bbdb822cSPeter Meerwald	depends on I2C
13bbdb822cSPeter Meerwald	help
14bbdb822cSPeter Meerwald	 If you say yes here you get support for the Avago ADJD-S311-CR999
15bbdb822cSPeter Meerwald	 digital color light sensor.
16bbdb822cSPeter Meerwald
17bbdb822cSPeter Meerwald	 This driver can also be built as a module.  If so, the module
18bbdb822cSPeter Meerwald	 will be called adjd_s311.
19bbdb822cSPeter Meerwald
20f007d7f1SDaniel Balutaconfig AL3320A
21f007d7f1SDaniel Baluta	tristate "AL3320A ambient light sensor"
22f007d7f1SDaniel Baluta	depends on I2C
23f007d7f1SDaniel Baluta	help
24f007d7f1SDaniel Baluta	 Say Y here if you want to build a driver for the Dyna Image AL3320A
25f007d7f1SDaniel Baluta	 ambient light sensor.
26f007d7f1SDaniel Baluta
27f007d7f1SDaniel Baluta	 To compile this driver as a module, choose M here: the
28f007d7f1SDaniel Baluta	 module will be called al3320a.
29f007d7f1SDaniel Baluta
3003eff7b6SOleksandr Kravchenkoconfig APDS9300
3103eff7b6SOleksandr Kravchenko	tristate "APDS9300 ambient light sensor"
3203eff7b6SOleksandr Kravchenko	depends on I2C
3303eff7b6SOleksandr Kravchenko	help
3403eff7b6SOleksandr Kravchenko	 Say Y here if you want to build a driver for the Avago APDS9300
3503eff7b6SOleksandr Kravchenko	 ambient light sensor.
3603eff7b6SOleksandr Kravchenko
3703eff7b6SOleksandr Kravchenko	 To compile this driver as a module, choose M here: the
3803eff7b6SOleksandr Kravchenko	 module will be called apds9300.
3903eff7b6SOleksandr Kravchenko
40*3a11fbb0STomasz Duszynskiconfig BH1750
41*3a11fbb0STomasz Duszynski	tristate "ROHM BH1750 ambient light sensor"
42*3a11fbb0STomasz Duszynski	depends on I2C
43*3a11fbb0STomasz Duszynski	help
44*3a11fbb0STomasz Duszynski	 Say Y here to build support for the ROHM BH1710, BH1715, BH1721,
45*3a11fbb0STomasz Duszynski	 BH1750, BH1751 ambient light sensors.
46*3a11fbb0STomasz Duszynski
47*3a11fbb0STomasz Duszynski	 To compile this driver as a module, choose M here: the module will
48*3a11fbb0STomasz Duszynski	 be called bh1750.
49*3a11fbb0STomasz Duszynski
50971672c0SKevin Tsaiconfig CM32181
51971672c0SKevin Tsai	depends on I2C
52971672c0SKevin Tsai	tristate "CM32181 driver"
53971672c0SKevin Tsai	help
54971672c0SKevin Tsai	 Say Y here if you use cm32181.
55971672c0SKevin Tsai	 This option enables ambient light sensor using
56971672c0SKevin Tsai	 Capella cm32181 device driver.
57971672c0SKevin Tsai
58971672c0SKevin Tsai	 To compile this driver as a module, choose M here:
59971672c0SKevin Tsai	 the module will be called cm32181.
60971672c0SKevin Tsai
61b84894c7SKevin Tsaiconfig CM3232
62b84894c7SKevin Tsai	depends on I2C
63b84894c7SKevin Tsai	tristate "CM3232 ambient light sensor"
64b84894c7SKevin Tsai	help
65b84894c7SKevin Tsai	 Say Y here if you use cm3232.
66b84894c7SKevin Tsai	 This option enables ambient light sensor using
67b84894c7SKevin Tsai	 Capella Microsystems cm3232 device driver.
68b84894c7SKevin Tsai
69b84894c7SKevin Tsai	 To compile this driver as a module, choose M here:
70b84894c7SKevin Tsai	 the module will be called cm3232.
71b84894c7SKevin Tsai
728b054426SDaniel Balutaconfig CM3323
738b054426SDaniel Baluta	depends on I2C
748b054426SDaniel Baluta	tristate "Capella CM3323 color light sensor"
758b054426SDaniel Baluta	help
768b054426SDaniel Baluta	 Say Y here if you want to build a driver for Capela CM3323
778b054426SDaniel Baluta	 color sensor.
788b054426SDaniel Baluta
798b054426SDaniel Baluta	 To compile this driver as a module, choose M here: the module will
808b054426SDaniel Baluta	 be called cm3323.
818b054426SDaniel Baluta
82e590d451SBeomho Seoconfig CM36651
83e590d451SBeomho Seo	depends on I2C
84e590d451SBeomho Seo	tristate "CM36651 driver"
85e590d451SBeomho Seo	help
86e590d451SBeomho Seo	 Say Y here if you use cm36651.
87e590d451SBeomho Seo	 This option enables proximity & RGB sensor using
88e590d451SBeomho Seo	 Capella cm36651 device driver.
89e590d451SBeomho Seo
90e590d451SBeomho Seo	 To compile this driver as a module, choose M here:
91e590d451SBeomho Seo	 the module will be called cm36651.
92e590d451SBeomho Seo
93bf29fbeaSJacek Anaszewskiconfig GP2AP020A00F
94bf29fbeaSJacek Anaszewski	tristate "Sharp GP2AP020A00F Proximity/ALS sensor"
95bf29fbeaSJacek Anaszewski	depends on I2C
968c3b3efbSRoberta Dobrescu	select REGMAP_I2C
97bf29fbeaSJacek Anaszewski	select IIO_BUFFER
98bf29fbeaSJacek Anaszewski	select IIO_TRIGGERED_BUFFER
99419a4aaeSRussell King - ARM Linux	select IRQ_WORK
100bf29fbeaSJacek Anaszewski	help
101bf29fbeaSJacek Anaszewski	  Say Y here if you have a Sharp GP2AP020A00F proximity/ALS combo-chip
102bf29fbeaSJacek Anaszewski	  hooked to an I2C bus.
103bf29fbeaSJacek Anaszewski
104bf29fbeaSJacek Anaszewski	  To compile this driver as a module, choose M here: the
105bf29fbeaSJacek Anaszewski	  module will be called gp2ap020a00f.
106bf29fbeaSJacek Anaszewski
1076c25539cSPeter Meerwaldconfig ISL29125
1086c25539cSPeter Meerwald	tristate "Intersil ISL29125 digital color light sensor"
1096c25539cSPeter Meerwald	depends on I2C
1106c25539cSPeter Meerwald	select IIO_BUFFER
1116c25539cSPeter Meerwald	select IIO_TRIGGERED_BUFFER
1126c25539cSPeter Meerwald	help
1136c25539cSPeter Meerwald	  Say Y here if you want to build a driver for the Intersil ISL29125
1146c25539cSPeter Meerwald	  RGB light sensor for I2C.
1156c25539cSPeter Meerwald
1166c25539cSPeter Meerwald	  To compile this driver as a module, choose M here: the module will be
1176c25539cSPeter Meerwald	  called isl29125.
1186c25539cSPeter Meerwald
1193edc84e6SLars-Peter Clausenconfig HID_SENSOR_ALS
1203edc84e6SLars-Peter Clausen	depends on HID_SENSOR_HUB
1213edc84e6SLars-Peter Clausen	select IIO_BUFFER
1223edc84e6SLars-Peter Clausen	select IIO_TRIGGERED_BUFFER
1233edc84e6SLars-Peter Clausen	select HID_SENSOR_IIO_COMMON
1243edc84e6SLars-Peter Clausen	select HID_SENSOR_IIO_TRIGGER
1253edc84e6SLars-Peter Clausen	tristate "HID ALS"
1263edc84e6SLars-Peter Clausen	help
1273edc84e6SLars-Peter Clausen	  Say yes here to build support for the HID SENSOR
1283edc84e6SLars-Peter Clausen	  Ambient light sensor.
1293edc84e6SLars-Peter Clausen
1304f51c9adSRoberta Dobrescu	  To compile this driver as a module, choose M here: the
1314f51c9adSRoberta Dobrescu	  module will be called hid-sensor-als.
1324f51c9adSRoberta Dobrescu
13339a3a013SArchana Patniconfig HID_SENSOR_PROX
13439a3a013SArchana Patni	depends on HID_SENSOR_HUB
13539a3a013SArchana Patni	select IIO_BUFFER
13639a3a013SArchana Patni	select IIO_TRIGGERED_BUFFER
13739a3a013SArchana Patni	select HID_SENSOR_IIO_COMMON
13839a3a013SArchana Patni	select HID_SENSOR_IIO_TRIGGER
13939a3a013SArchana Patni	tristate "HID PROX"
14039a3a013SArchana Patni	help
14139a3a013SArchana Patni	  Say yes here to build support for the HID SENSOR
14239a3a013SArchana Patni	  Proximity sensor.
14339a3a013SArchana Patni
14439a3a013SArchana Patni	  To compile this driver as a module, choose M here: the
14539a3a013SArchana Patni	  module will be called hid-sensor-prox.
14639a3a013SArchana Patni
147995863ccSKuppuswamy Sathyanarayananconfig JSA1212
148995863ccSKuppuswamy Sathyanarayanan	tristate "JSA1212 ALS and proximity sensor driver"
149995863ccSKuppuswamy Sathyanarayanan	depends on I2C
15049e19d5fSRoberta Dobrescu	select REGMAP_I2C
151995863ccSKuppuswamy Sathyanarayanan	help
152995863ccSKuppuswamy Sathyanarayanan	 Say Y here if you want to build a IIO driver for JSA1212
153995863ccSKuppuswamy Sathyanarayanan	 proximity & ALS sensor device.
154995863ccSKuppuswamy Sathyanarayanan
155995863ccSKuppuswamy Sathyanarayanan	 To compile this driver as a module, choose M here:
156995863ccSKuppuswamy Sathyanarayanan	 the module will be called jsa1212.
157995863ccSKuppuswamy Sathyanarayanan
1589c8ea1b2SJohan Hovoldconfig SENSORS_LM3533
1599c8ea1b2SJohan Hovold	tristate "LM3533 ambient light sensor"
1609c8ea1b2SJohan Hovold	depends on MFD_LM3533
1619c8ea1b2SJohan Hovold	help
1629c8ea1b2SJohan Hovold	  If you say yes here you get support for the ambient light sensor
1639c8ea1b2SJohan Hovold	  interface on National Semiconductor / TI LM3533 Lighting Power
1649c8ea1b2SJohan Hovold	  chips.
1659c8ea1b2SJohan Hovold
1669c8ea1b2SJohan Hovold	  The sensor interface can be used to control the LEDs and backlights
1679c8ea1b2SJohan Hovold	  of the chip through defining five light zones and three sets of
1689c8ea1b2SJohan Hovold	  corresponding output-current values.
1699c8ea1b2SJohan Hovold
1709c8ea1b2SJohan Hovold	  The driver provides raw and mean adc readings along with the current
1719c8ea1b2SJohan Hovold	  light zone through sysfs. A threshold event can be generated on zone
1729c8ea1b2SJohan Hovold	  changes. The ALS-control output values can be set per zone for the
1739c8ea1b2SJohan Hovold	  three current output channels.
17462a1efb9SPeter Meerwald
1752690be90SPeter Meerwaldconfig LTR501
1762690be90SPeter Meerwald	tristate "LTR-501ALS-01 light sensor"
1772690be90SPeter Meerwald	depends on I2C
1782690be90SPeter Meerwald	select IIO_BUFFER
1792690be90SPeter Meerwald	select IIO_TRIGGERED_BUFFER
1802690be90SPeter Meerwald	help
1812690be90SPeter Meerwald	 If you say yes here you get support for the Lite-On LTR-501ALS-01
1828592a7eeSDaniel Baluta	 ambient light and proximity sensor. This driver also supports LTR-559
183035ebb15SDaniel Baluta	 ALS/PS or LTR-301 ALS sensors.
1842690be90SPeter Meerwald
1852690be90SPeter Meerwald	 This driver can also be built as a module.  If so, the module
1862690be90SPeter Meerwald         will be called ltr501.
1872690be90SPeter Meerwald
188be9e6229STiberiu Breanaconfig STK3310
189be9e6229STiberiu Breana	tristate "STK3310 ALS and proximity sensor"
190be9e6229STiberiu Breana	depends on I2C
191be9e6229STiberiu Breana	help
192be9e6229STiberiu Breana	 Say yes here to get support for the Sensortek STK3310 ambient light
193be9e6229STiberiu Breana	 and proximity sensor. The STK3311 model is also supported by this
194be9e6229STiberiu Breana	 driver.
195be9e6229STiberiu Breana
196be9e6229STiberiu Breana	 Choosing M will build the driver as a module. If so, the module
197be9e6229STiberiu Breana	 will be called stk3310.
198be9e6229STiberiu Breana
199a244e7b5SPeter Meerwaldconfig TCS3414
200a244e7b5SPeter Meerwald	tristate "TAOS TCS3414 digital color sensor"
201a244e7b5SPeter Meerwald	depends on I2C
202a244e7b5SPeter Meerwald	select IIO_BUFFER
203a244e7b5SPeter Meerwald	select IIO_TRIGGERED_BUFFER
204a244e7b5SPeter Meerwald	help
205a244e7b5SPeter Meerwald	 If you say yes here you get support for the TAOS TCS3414
206a244e7b5SPeter Meerwald	 family of digital color sensors.
207a244e7b5SPeter Meerwald
208a244e7b5SPeter Meerwald	 This driver can also be built as a module.  If so, the module
209a244e7b5SPeter Meerwald	 will be called tcs3414.
210a244e7b5SPeter Meerwald
211eb869adeSPeter Meerwaldconfig TCS3472
212eb869adeSPeter Meerwald	tristate "TAOS TCS3472 color light-to-digital converter"
213eb869adeSPeter Meerwald	depends on I2C
214089b54bdSPeter Meerwald	select IIO_BUFFER
215089b54bdSPeter Meerwald	select IIO_TRIGGERED_BUFFER
216eb869adeSPeter Meerwald	help
217eb869adeSPeter Meerwald	 If you say yes here you get support for the TAOS TCS3472
218eb869adeSPeter Meerwald	 family of color light-to-digital converters with IR filter.
219eb869adeSPeter Meerwald
220eb869adeSPeter Meerwald	 This driver can also be built as a module.  If so, the module
221eb869adeSPeter Meerwald	 will be called tcs3472.
222eb869adeSPeter Meerwald
2239c2251ddSJonathan Cameronconfig SENSORS_TSL2563
2249c2251ddSJonathan Cameron	tristate "TAOS TSL2560, TSL2561, TSL2562 and TSL2563 ambient light sensors"
2259c2251ddSJonathan Cameron	depends on I2C
2269c2251ddSJonathan Cameron	help
2279c2251ddSJonathan Cameron	 If you say yes here you get support for the Taos TSL2560,
2289c2251ddSJonathan Cameron	 TSL2561, TSL2562 and TSL2563 ambient light sensors.
2299c2251ddSJonathan Cameron
2309c2251ddSJonathan Cameron	 This driver can also be built as a module.  If so, the module
2319c2251ddSJonathan Cameron	 will be called tsl2563.
2329c2251ddSJonathan Cameron
233aab9ba7eSPeter Meerwaldconfig TSL4531
234aab9ba7eSPeter Meerwald	tristate "TAOS TSL4531 ambient light sensors"
235aab9ba7eSPeter Meerwald	depends on I2C
236aab9ba7eSPeter Meerwald	help
237aab9ba7eSPeter Meerwald	 Say Y here if you want to build a driver for the TAOS TSL4531 family
238aab9ba7eSPeter Meerwald	 of ambient light sensors with direct lux output.
239aab9ba7eSPeter Meerwald
240aab9ba7eSPeter Meerwald	 To compile this driver as a module, choose M here: the
241aab9ba7eSPeter Meerwald	 module will be called tsl4531.
242aab9ba7eSPeter Meerwald
24362a1efb9SPeter Meerwaldconfig VCNL4000
24462a1efb9SPeter Meerwald	tristate "VCNL4000 combined ALS and proximity sensor"
24562a1efb9SPeter Meerwald	depends on I2C
24662a1efb9SPeter Meerwald	help
24762a1efb9SPeter Meerwald	 Say Y here if you want to build a driver for the Vishay VCNL4000
24862a1efb9SPeter Meerwald	 combined ambient light and proximity sensor.
24962a1efb9SPeter Meerwald
25062a1efb9SPeter Meerwald	 To compile this driver as a module, choose M here: the
25162a1efb9SPeter Meerwald	 module will be called vcnl4000.
25262a1efb9SPeter Meerwald
2539c8ea1b2SJohan Hovoldendmenu
254