xref: /linux/drivers/iio/light/Kconfig (revision 8b0544263761adbc7308f6910cdcc0d601782cb1)
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
40971672c0SKevin Tsaiconfig CM32181
41971672c0SKevin Tsai	depends on I2C
42971672c0SKevin Tsai	tristate "CM32181 driver"
43971672c0SKevin Tsai	help
44971672c0SKevin Tsai	 Say Y here if you use cm32181.
45971672c0SKevin Tsai	 This option enables ambient light sensor using
46971672c0SKevin Tsai	 Capella cm32181 device driver.
47971672c0SKevin Tsai
48971672c0SKevin Tsai	 To compile this driver as a module, choose M here:
49971672c0SKevin Tsai	 the module will be called cm32181.
50971672c0SKevin Tsai
51b84894c7SKevin Tsaiconfig CM3232
52b84894c7SKevin Tsai	depends on I2C
53b84894c7SKevin Tsai	tristate "CM3232 ambient light sensor"
54b84894c7SKevin Tsai	help
55b84894c7SKevin Tsai	 Say Y here if you use cm3232.
56b84894c7SKevin Tsai	 This option enables ambient light sensor using
57b84894c7SKevin Tsai	 Capella Microsystems cm3232 device driver.
58b84894c7SKevin Tsai
59b84894c7SKevin Tsai	 To compile this driver as a module, choose M here:
60b84894c7SKevin Tsai	 the module will be called cm3232.
61b84894c7SKevin Tsai
62*8b054426SDaniel Balutaconfig CM3323
63*8b054426SDaniel Baluta	depends on I2C
64*8b054426SDaniel Baluta	tristate "Capella CM3323 color light sensor"
65*8b054426SDaniel Baluta	help
66*8b054426SDaniel Baluta	 Say Y here if you want to build a driver for Capela CM3323
67*8b054426SDaniel Baluta	 color sensor.
68*8b054426SDaniel Baluta
69*8b054426SDaniel Baluta	 To compile this driver as a module, choose M here: the module will
70*8b054426SDaniel Baluta	 be called cm3323.
71*8b054426SDaniel Baluta
72e590d451SBeomho Seoconfig CM36651
73e590d451SBeomho Seo	depends on I2C
74e590d451SBeomho Seo	tristate "CM36651 driver"
75e590d451SBeomho Seo	help
76e590d451SBeomho Seo	 Say Y here if you use cm36651.
77e590d451SBeomho Seo	 This option enables proximity & RGB sensor using
78e590d451SBeomho Seo	 Capella cm36651 device driver.
79e590d451SBeomho Seo
80e590d451SBeomho Seo	 To compile this driver as a module, choose M here:
81e590d451SBeomho Seo	 the module will be called cm36651.
82e590d451SBeomho Seo
83bf29fbeaSJacek Anaszewskiconfig GP2AP020A00F
84bf29fbeaSJacek Anaszewski	tristate "Sharp GP2AP020A00F Proximity/ALS sensor"
85bf29fbeaSJacek Anaszewski	depends on I2C
86bf29fbeaSJacek Anaszewski	select IIO_BUFFER
87bf29fbeaSJacek Anaszewski	select IIO_TRIGGERED_BUFFER
88419a4aaeSRussell King - ARM Linux	select IRQ_WORK
89bf29fbeaSJacek Anaszewski	help
90bf29fbeaSJacek Anaszewski	  Say Y here if you have a Sharp GP2AP020A00F proximity/ALS combo-chip
91bf29fbeaSJacek Anaszewski	  hooked to an I2C bus.
92bf29fbeaSJacek Anaszewski
93bf29fbeaSJacek Anaszewski	  To compile this driver as a module, choose M here: the
94bf29fbeaSJacek Anaszewski	  module will be called gp2ap020a00f.
95bf29fbeaSJacek Anaszewski
966c25539cSPeter Meerwaldconfig ISL29125
976c25539cSPeter Meerwald	tristate "Intersil ISL29125 digital color light sensor"
986c25539cSPeter Meerwald	depends on I2C
996c25539cSPeter Meerwald	select IIO_BUFFER
1006c25539cSPeter Meerwald	select IIO_TRIGGERED_BUFFER
1016c25539cSPeter Meerwald	help
1026c25539cSPeter Meerwald	  Say Y here if you want to build a driver for the Intersil ISL29125
1036c25539cSPeter Meerwald	  RGB light sensor for I2C.
1046c25539cSPeter Meerwald
1056c25539cSPeter Meerwald	  To compile this driver as a module, choose M here: the module will be
1066c25539cSPeter Meerwald	  called isl29125.
1076c25539cSPeter Meerwald
1083edc84e6SLars-Peter Clausenconfig HID_SENSOR_ALS
1093edc84e6SLars-Peter Clausen	depends on HID_SENSOR_HUB
1103edc84e6SLars-Peter Clausen	select IIO_BUFFER
1113edc84e6SLars-Peter Clausen	select IIO_TRIGGERED_BUFFER
1123edc84e6SLars-Peter Clausen	select HID_SENSOR_IIO_COMMON
1133edc84e6SLars-Peter Clausen	select HID_SENSOR_IIO_TRIGGER
1143edc84e6SLars-Peter Clausen	tristate "HID ALS"
1153edc84e6SLars-Peter Clausen	help
1163edc84e6SLars-Peter Clausen	  Say yes here to build support for the HID SENSOR
1173edc84e6SLars-Peter Clausen	  Ambient light sensor.
1183edc84e6SLars-Peter Clausen
1194f51c9adSRoberta Dobrescu	  To compile this driver as a module, choose M here: the
1204f51c9adSRoberta Dobrescu	  module will be called hid-sensor-als.
1214f51c9adSRoberta Dobrescu
12239a3a013SArchana Patniconfig HID_SENSOR_PROX
12339a3a013SArchana Patni	depends on HID_SENSOR_HUB
12439a3a013SArchana Patni	select IIO_BUFFER
12539a3a013SArchana Patni	select IIO_TRIGGERED_BUFFER
12639a3a013SArchana Patni	select HID_SENSOR_IIO_COMMON
12739a3a013SArchana Patni	select HID_SENSOR_IIO_TRIGGER
12839a3a013SArchana Patni	tristate "HID PROX"
12939a3a013SArchana Patni	help
13039a3a013SArchana Patni	  Say yes here to build support for the HID SENSOR
13139a3a013SArchana Patni	  Proximity sensor.
13239a3a013SArchana Patni
13339a3a013SArchana Patni	  To compile this driver as a module, choose M here: the
13439a3a013SArchana Patni	  module will be called hid-sensor-prox.
13539a3a013SArchana Patni
136995863ccSKuppuswamy Sathyanarayananconfig JSA1212
137995863ccSKuppuswamy Sathyanarayanan	tristate "JSA1212 ALS and proximity sensor driver"
138995863ccSKuppuswamy Sathyanarayanan	depends on I2C
139995863ccSKuppuswamy Sathyanarayanan	help
140995863ccSKuppuswamy Sathyanarayanan	 Say Y here if you want to build a IIO driver for JSA1212
141995863ccSKuppuswamy Sathyanarayanan	 proximity & ALS sensor device.
142995863ccSKuppuswamy Sathyanarayanan
143995863ccSKuppuswamy Sathyanarayanan	 To compile this driver as a module, choose M here:
144995863ccSKuppuswamy Sathyanarayanan	 the module will be called jsa1212.
145995863ccSKuppuswamy Sathyanarayanan
1469c8ea1b2SJohan Hovoldconfig SENSORS_LM3533
1479c8ea1b2SJohan Hovold	tristate "LM3533 ambient light sensor"
1489c8ea1b2SJohan Hovold	depends on MFD_LM3533
1499c8ea1b2SJohan Hovold	help
1509c8ea1b2SJohan Hovold	  If you say yes here you get support for the ambient light sensor
1519c8ea1b2SJohan Hovold	  interface on National Semiconductor / TI LM3533 Lighting Power
1529c8ea1b2SJohan Hovold	  chips.
1539c8ea1b2SJohan Hovold
1549c8ea1b2SJohan Hovold	  The sensor interface can be used to control the LEDs and backlights
1559c8ea1b2SJohan Hovold	  of the chip through defining five light zones and three sets of
1569c8ea1b2SJohan Hovold	  corresponding output-current values.
1579c8ea1b2SJohan Hovold
1589c8ea1b2SJohan Hovold	  The driver provides raw and mean adc readings along with the current
1599c8ea1b2SJohan Hovold	  light zone through sysfs. A threshold event can be generated on zone
1609c8ea1b2SJohan Hovold	  changes. The ALS-control output values can be set per zone for the
1619c8ea1b2SJohan Hovold	  three current output channels.
16262a1efb9SPeter Meerwald
1632690be90SPeter Meerwaldconfig LTR501
1642690be90SPeter Meerwald	tristate "LTR-501ALS-01 light sensor"
1652690be90SPeter Meerwald	depends on I2C
1662690be90SPeter Meerwald	select IIO_BUFFER
1672690be90SPeter Meerwald	select IIO_TRIGGERED_BUFFER
1682690be90SPeter Meerwald	help
1692690be90SPeter Meerwald	 If you say yes here you get support for the Lite-On LTR-501ALS-01
1702690be90SPeter Meerwald	 ambient light and proximity sensor.
1712690be90SPeter Meerwald
1722690be90SPeter Meerwald	 This driver can also be built as a module.  If so, the module
1732690be90SPeter Meerwald         will be called ltr501.
1742690be90SPeter Meerwald
175a244e7b5SPeter Meerwaldconfig TCS3414
176a244e7b5SPeter Meerwald	tristate "TAOS TCS3414 digital color sensor"
177a244e7b5SPeter Meerwald	depends on I2C
178a244e7b5SPeter Meerwald	select IIO_BUFFER
179a244e7b5SPeter Meerwald	select IIO_TRIGGERED_BUFFER
180a244e7b5SPeter Meerwald	help
181a244e7b5SPeter Meerwald	 If you say yes here you get support for the TAOS TCS3414
182a244e7b5SPeter Meerwald	 family of digital color sensors.
183a244e7b5SPeter Meerwald
184a244e7b5SPeter Meerwald	 This driver can also be built as a module.  If so, the module
185a244e7b5SPeter Meerwald	 will be called tcs3414.
186a244e7b5SPeter Meerwald
187eb869adeSPeter Meerwaldconfig TCS3472
188eb869adeSPeter Meerwald	tristate "TAOS TCS3472 color light-to-digital converter"
189eb869adeSPeter Meerwald	depends on I2C
190089b54bdSPeter Meerwald	select IIO_BUFFER
191089b54bdSPeter Meerwald	select IIO_TRIGGERED_BUFFER
192eb869adeSPeter Meerwald	help
193eb869adeSPeter Meerwald	 If you say yes here you get support for the TAOS TCS3472
194eb869adeSPeter Meerwald	 family of color light-to-digital converters with IR filter.
195eb869adeSPeter Meerwald
196eb869adeSPeter Meerwald	 This driver can also be built as a module.  If so, the module
197eb869adeSPeter Meerwald	 will be called tcs3472.
198eb869adeSPeter Meerwald
1999c2251ddSJonathan Cameronconfig SENSORS_TSL2563
2009c2251ddSJonathan Cameron	tristate "TAOS TSL2560, TSL2561, TSL2562 and TSL2563 ambient light sensors"
2019c2251ddSJonathan Cameron	depends on I2C
2029c2251ddSJonathan Cameron	help
2039c2251ddSJonathan Cameron	 If you say yes here you get support for the Taos TSL2560,
2049c2251ddSJonathan Cameron	 TSL2561, TSL2562 and TSL2563 ambient light sensors.
2059c2251ddSJonathan Cameron
2069c2251ddSJonathan Cameron	 This driver can also be built as a module.  If so, the module
2079c2251ddSJonathan Cameron	 will be called tsl2563.
2089c2251ddSJonathan Cameron
209aab9ba7eSPeter Meerwaldconfig TSL4531
210aab9ba7eSPeter Meerwald	tristate "TAOS TSL4531 ambient light sensors"
211aab9ba7eSPeter Meerwald	depends on I2C
212aab9ba7eSPeter Meerwald	help
213aab9ba7eSPeter Meerwald	 Say Y here if you want to build a driver for the TAOS TSL4531 family
214aab9ba7eSPeter Meerwald	 of ambient light sensors with direct lux output.
215aab9ba7eSPeter Meerwald
216aab9ba7eSPeter Meerwald	 To compile this driver as a module, choose M here: the
217aab9ba7eSPeter Meerwald	 module will be called tsl4531.
218aab9ba7eSPeter Meerwald
21962a1efb9SPeter Meerwaldconfig VCNL4000
22062a1efb9SPeter Meerwald	tristate "VCNL4000 combined ALS and proximity sensor"
22162a1efb9SPeter Meerwald	depends on I2C
22262a1efb9SPeter Meerwald	help
22362a1efb9SPeter Meerwald	 Say Y here if you want to build a driver for the Vishay VCNL4000
22462a1efb9SPeter Meerwald	 combined ambient light and proximity sensor.
22562a1efb9SPeter Meerwald
22662a1efb9SPeter Meerwald	 To compile this driver as a module, choose M here: the
22762a1efb9SPeter Meerwald	 module will be called vcnl4000.
22862a1efb9SPeter Meerwald
2299c8ea1b2SJohan Hovoldendmenu
230