xref: /openbmc/linux/drivers/iio/light/Kconfig (revision afb46f79)
1#
2# Light sensors
3#
4# When adding new entries keep the list in alphabetical order
5
6menu "Light sensors"
7
8config ADJD_S311
9	tristate "ADJD-S311-CR999 digital color sensor"
10	select IIO_BUFFER
11	select IIO_TRIGGERED_BUFFER
12	depends on I2C
13	help
14	 If you say yes here you get support for the Avago ADJD-S311-CR999
15	 digital color light sensor.
16
17	 This driver can also be built as a module.  If so, the module
18	 will be called adjd_s311.
19
20config APDS9300
21	tristate "APDS9300 ambient light sensor"
22	depends on I2C
23	help
24	 Say Y here if you want to build a driver for the Avago APDS9300
25	 ambient light sensor.
26
27	 To compile this driver as a module, choose M here: the
28	 module will be called apds9300.
29
30config CM32181
31	depends on I2C
32	tristate "CM32181 driver"
33	help
34	 Say Y here if you use cm32181.
35	 This option enables ambient light sensor using
36	 Capella cm32181 device driver.
37
38	 To compile this driver as a module, choose M here:
39	 the module will be called cm32181.
40
41config CM36651
42	depends on I2C
43	tristate "CM36651 driver"
44	help
45	 Say Y here if you use cm36651.
46	 This option enables proximity & RGB sensor using
47	 Capella cm36651 device driver.
48
49	 To compile this driver as a module, choose M here:
50	 the module will be called cm36651.
51
52config GP2AP020A00F
53	tristate "Sharp GP2AP020A00F Proximity/ALS sensor"
54	depends on I2C
55	select IIO_BUFFER
56	select IIO_TRIGGERED_BUFFER
57	select IRQ_WORK
58	help
59	  Say Y here if you have a Sharp GP2AP020A00F proximity/ALS combo-chip
60	  hooked to an I2C bus.
61
62	  To compile this driver as a module, choose M here: the
63	  module will be called gp2ap020a00f.
64
65config HID_SENSOR_ALS
66	depends on HID_SENSOR_HUB
67	select IIO_BUFFER
68	select IIO_TRIGGERED_BUFFER
69	select HID_SENSOR_IIO_COMMON
70	select HID_SENSOR_IIO_TRIGGER
71	tristate "HID ALS"
72	help
73	  Say yes here to build support for the HID SENSOR
74	  Ambient light sensor.
75
76config HID_SENSOR_PROX
77	depends on HID_SENSOR_HUB
78	select IIO_BUFFER
79	select IIO_TRIGGERED_BUFFER
80	select HID_SENSOR_IIO_COMMON
81	select HID_SENSOR_IIO_TRIGGER
82	tristate "HID PROX"
83	help
84	  Say yes here to build support for the HID SENSOR
85	  Proximity sensor.
86
87	  To compile this driver as a module, choose M here: the
88	  module will be called hid-sensor-prox.
89
90config SENSORS_LM3533
91	tristate "LM3533 ambient light sensor"
92	depends on MFD_LM3533
93	help
94	  If you say yes here you get support for the ambient light sensor
95	  interface on National Semiconductor / TI LM3533 Lighting Power
96	  chips.
97
98	  The sensor interface can be used to control the LEDs and backlights
99	  of the chip through defining five light zones and three sets of
100	  corresponding output-current values.
101
102	  The driver provides raw and mean adc readings along with the current
103	  light zone through sysfs. A threshold event can be generated on zone
104	  changes. The ALS-control output values can be set per zone for the
105	  three current output channels.
106
107config LTR501
108	tristate "LTR-501ALS-01 light sensor"
109	depends on I2C
110	select IIO_BUFFER
111	select IIO_TRIGGERED_BUFFER
112	help
113	 If you say yes here you get support for the Lite-On LTR-501ALS-01
114	 ambient light and proximity sensor.
115
116	 This driver can also be built as a module.  If so, the module
117         will be called ltr501.
118
119config TCS3472
120	tristate "TAOS TCS3472 color light-to-digital converter"
121	depends on I2C
122	select IIO_BUFFER
123	select IIO_TRIGGERED_BUFFER
124	help
125	 If you say yes here you get support for the TAOS TCS3472
126	 family of color light-to-digital converters with IR filter.
127
128	 This driver can also be built as a module.  If so, the module
129	 will be called tcs3472.
130
131config SENSORS_TSL2563
132	tristate "TAOS TSL2560, TSL2561, TSL2562 and TSL2563 ambient light sensors"
133	depends on I2C
134	help
135	 If you say yes here you get support for the Taos TSL2560,
136	 TSL2561, TSL2562 and TSL2563 ambient light sensors.
137
138	 This driver can also be built as a module.  If so, the module
139	 will be called tsl2563.
140
141config TSL4531
142	tristate "TAOS TSL4531 ambient light sensors"
143	depends on I2C
144	help
145	 Say Y here if you want to build a driver for the TAOS TSL4531 family
146	 of ambient light sensors with direct lux output.
147
148	 To compile this driver as a module, choose M here: the
149	 module will be called tsl4531.
150
151config VCNL4000
152	tristate "VCNL4000 combined ALS and proximity sensor"
153	depends on I2C
154	help
155	 Say Y here if you want to build a driver for the Vishay VCNL4000
156	 combined ambient light and proximity sensor.
157
158	 To compile this driver as a module, choose M here: the
159	 module will be called vcnl4000.
160
161endmenu
162