Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
# SPDX-License-Identifier: GPL-2.0-only

#
# Light sensors
#
# When adding new entries keep the list in alphabetical order

menu "Light sensors"

config CONFIG_ACPI_ALS
	tristate "ACPI Ambient Light Sensor"
	depends on CONFIG_ACPI
	select CONFIG_IIO_BUFFER
	select CONFIG_IIO_TRIGGERED_BUFFER
	select CONFIG_IIO_KFIFO_BUF
	help
	  Say Y here if you want to build a driver for the ACPI0008
	  Ambient Light Sensor.

	  To compile this driver as a module, choose CONFIG_M here: the module will
	  be called acpi-als.

config CONFIG_ADJD_S311
	tristate "ADJD-S311-CR999 digital color sensor"
	select CONFIG_IIO_BUFFER
	select CONFIG_IIO_TRIGGERED_BUFFER
	depends on CONFIG_I2C
	help
	  If you say yes here you get support for the Avago ADJD-S311-CR999
	  digital color light sensor.

	  This driver can also be built as a module.  If so, the module
	  will be called adjd_s311.

config CONFIG_AL3320A
	tristate "AL3320A ambient light sensor"
	depends on CONFIG_I2C
	help
	  Say Y here if you want to build a driver for the Dyna Image CONFIG_AL3320A
	  ambient light sensor.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called al3320a.

config CONFIG_APDS9300
	tristate "APDS9300 ambient light sensor"
	depends on CONFIG_I2C
	help
	  Say Y here if you want to build a driver for the Avago CONFIG_APDS9300
	  ambient light sensor.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called apds9300.

config CONFIG_APDS9960
	tristate "Avago APDS9960 gesture/RGB/ALS/proximity sensor"
	select CONFIG_REGMAP_I2C
	select CONFIG_IIO_BUFFER
	select CONFIG_IIO_KFIFO_BUF
	depends on CONFIG_I2C
	help
	  Say Y here to build CONFIG_I2C interface support for the Avago
	  CONFIG_APDS9960 gesture/RGB/ALS/proximity sensor.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called apds9960

config CONFIG_BH1750
	tristate "ROHM BH1750 ambient light sensor"
	depends on CONFIG_I2C
	help
	  Say Y here to build support for the ROHM BH1710, BH1715, BH1721,
	  CONFIG_BH1750, BH1751 ambient light sensors.

	  To compile this driver as a module, choose CONFIG_M here: the module will
	  be called bh1750.

config CONFIG_BH1780
	tristate "ROHM BH1780 ambient light sensor"
	depends on CONFIG_I2C
	help
	  Say Y here to build support for the ROHM BH1780GLI ambient
	  light sensor.

	  To compile this driver as a module, choose CONFIG_M here: the module will
	  be called bh1780.

config CONFIG_CM32181
	depends on CONFIG_I2C
	tristate "CM32181 driver"
	help
	  Say Y here if you use cm32181.
	  This option enables ambient light sensor using
	  Capella cm32181 device driver.

	  To compile this driver as a module, choose CONFIG_M here:
	  the module will be called cm32181.

config CONFIG_CM3232
	depends on CONFIG_I2C
	tristate "CM3232 ambient light sensor"
	help
	  Say Y here if you use cm3232.
	  This option enables ambient light sensor using
	  Capella Microsystems cm3232 device driver.

	  To compile this driver as a module, choose CONFIG_M here:
	  the module will be called cm3232.

config CONFIG_CM3323
	depends on CONFIG_I2C
	tristate "Capella CM3323 color light sensor"
	help
	  Say Y here if you want to build a driver for Capella CONFIG_CM3323
	  color sensor.

	  To compile this driver as a module, choose CONFIG_M here: the module will
	  be called cm3323.

config CONFIG_CM3605
	tristate "Capella CM3605 ambient light and proximity sensor"
	depends on CONFIG_OF
	help
	  Say Y here if you want to build a driver for Capella CONFIG_CM3605
	  ambient light and short range proximity sensor.

	  To compile this driver as a module, choose CONFIG_M here: the module will
	  be called cm3605.

config CONFIG_CM36651
	depends on CONFIG_I2C
	tristate "CM36651 driver"
	help
	  Say Y here if you use cm36651.
	  This option enables proximity & RGB sensor using
	  Capella cm36651 device driver.

	  To compile this driver as a module, choose CONFIG_M here:
	  the module will be called cm36651.

config CONFIG_IIO_CROS_EC_LIGHT_PROX
	tristate "ChromeOS EC Light and Proximity Sensors"
	depends on CONFIG_IIO_CROS_EC_SENSORS_CORE
	help
	  Say Y here if you use the light and proximity sensors
	  presented by the ChromeOS EC Sensor hub.

	  To compile this driver as a module, choose CONFIG_M here:
	  the module will be called cros_ec_light_prox.

config CONFIG_GP2AP020A00F
	tristate "Sharp GP2AP020A00F Proximity/ALS sensor"
	depends on CONFIG_I2C
	select CONFIG_REGMAP_I2C
	select CONFIG_IIO_BUFFER
	select CONFIG_IIO_TRIGGERED_BUFFER
	select CONFIG_IRQ_WORK
	help
	  Say Y here if you have a Sharp CONFIG_GP2AP020A00F proximity/ALS combo-chip
	  hooked to an CONFIG_I2C bus.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called gp2ap020a00f.

config CONFIG_SENSORS_ISL29018
	tristate "Intersil 29018 light and proximity sensor"
	depends on CONFIG_I2C
	select CONFIG_REGMAP_I2C
	default n
	help
	  If you say yes here you get support for ambient light sensing and
	  proximity infrared sensing from Intersil ISL29018.
	  This driver will provide the measurements of ambient light intensity
	  in lux, proximity infrared sensing and normal infrared sensing.
	  Data from sensor is accessible via sysfs.

config CONFIG_SENSORS_ISL29028
	tristate "Intersil ISL29028 Concurrent Light and Proximity Sensor"
	depends on CONFIG_I2C
	select CONFIG_REGMAP_I2C
	help
	  Provides driver for the Intersil's ISL29028 device.
	  This driver supports the sysfs interface to get the ALS, IR intensity,
	  Proximity value via iio. The ISL29028 provides the concurrent sensing
	  of ambient light and proximity.

config CONFIG_ISL29125
	tristate "Intersil ISL29125 digital color light sensor"
	depends on CONFIG_I2C
	select CONFIG_IIO_BUFFER
	select CONFIG_IIO_TRIGGERED_BUFFER
	help
	  Say Y here if you want to build a driver for the Intersil CONFIG_ISL29125
	  RGB light sensor for CONFIG_I2C.

	  To compile this driver as a module, choose CONFIG_M here: the module will be
	  called isl29125.

config CONFIG_HID_SENSOR_ALS
	depends on CONFIG_HID_SENSOR_HUB
	select CONFIG_IIO_BUFFER
	select CONFIG_IIO_TRIGGERED_BUFFER
	select CONFIG_HID_SENSOR_IIO_COMMON
	select CONFIG_HID_SENSOR_IIO_TRIGGER
	tristate "HID ALS"
	help
	  Say yes here to build support for the CONFIG_HID SENSOR
	  Ambient light sensor.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called hid-sensor-als.

config CONFIG_HID_SENSOR_PROX
	depends on CONFIG_HID_SENSOR_HUB
	select CONFIG_IIO_BUFFER
	select CONFIG_IIO_TRIGGERED_BUFFER
	select CONFIG_HID_SENSOR_IIO_COMMON
	select CONFIG_HID_SENSOR_IIO_TRIGGER
	tristate "HID PROX"
	help
	  Say yes here to build support for the CONFIG_HID SENSOR
	  Proximity sensor.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called hid-sensor-prox.

config CONFIG_JSA1212
	tristate "JSA1212 ALS and proximity sensor driver"
	depends on CONFIG_I2C
	select CONFIG_REGMAP_I2C
	help
	  Say Y here if you want to build a CONFIG_IIO driver for CONFIG_JSA1212
	  proximity & ALS sensor device.

	  To compile this driver as a module, choose CONFIG_M here:
	  the module will be called jsa1212.

config CONFIG_RPR0521
	tristate "ROHM RPR0521 ALS and proximity sensor driver"
	depends on CONFIG_I2C
	select CONFIG_REGMAP_I2C
	help
	  Say Y here if you want to build support for ROHM's CONFIG_RPR0521
	  ambient light and proximity sensor device.

	  To compile this driver as a module, choose CONFIG_M here:
	  the module will be called rpr0521.

config CONFIG_SENSORS_LM3533
	tristate "LM3533 ambient light sensor"
	depends on CONFIG_MFD_LM3533
	help
	  If you say yes here you get support for the ambient light sensor
	  interface on National Semiconductor / TI LM3533 Lighting Power
	  chips.

	  The sensor interface can be used to control the LEDs and backlights
	  of the chip through defining five light zones and three sets of
	  corresponding output-current values.

	  The driver provides raw and mean adc readings along with the current
	  light zone through sysfs. CONFIG_A threshold event can be generated on zone
	  changes. The ALS-control output values can be set per zone for the
	  three current output channels.

config CONFIG_LTR501
	tristate "LTR-501ALS-01 light sensor"
	depends on CONFIG_I2C
	select CONFIG_REGMAP_I2C
	select CONFIG_IIO_BUFFER
	select CONFIG_IIO_TRIGGERED_BUFFER
	help
	  If you say yes here you get support for the Lite-On LTR-501ALS-01
	  ambient light and proximity sensor. This driver also supports LTR-559
	  ALS/PS or LTR-301 ALS sensors.

	  This driver can also be built as a module.  If so, the module
	  will be called ltr501.

config CONFIG_LV0104CS
	tristate "LV0104CS Ambient Light Sensor"
	depends on CONFIG_I2C
	help
	  Say Y here if you want to build support for the On Semiconductor
	  CONFIG_LV0104CS ambient light sensor.

	  To compile this driver as a module, choose CONFIG_M here:
	  the module will be called lv0104cs.

config CONFIG_MAX44000
	tristate "MAX44000 Ambient and Infrared Proximity Sensor"
	depends on CONFIG_I2C
	select CONFIG_REGMAP_I2C
	select CONFIG_IIO_BUFFER
	select CONFIG_IIO_TRIGGERED_BUFFER
	help
	  Say Y here if you want to build support for Maxim Integrated's
	  CONFIG_MAX44000 ambient and infrared proximity sensor device.

	  To compile this driver as a module, choose CONFIG_M here:
	  the module will be called max44000.

config CONFIG_MAX44009
	tristate "MAX44009 Ambient Light Sensor"
	depends on CONFIG_I2C
	select CONFIG_REGMAP_I2C
	help
	 Say Y here if you want to build support for Maxim Integrated's
	 CONFIG_MAX44009 ambient light sensor device.

	 To compile this driver as a module, choose CONFIG_M here:
	 the module will be called max44009.

config CONFIG_NOA1305
	tristate "ON Semiconductor NOA1305 ambient light sensor"
	depends on CONFIG_I2C
	select CONFIG_REGMAP_I2C
	help
	 Say Y here if you want to build support for the ON Semiconductor
	 CONFIG_NOA1305 ambient light sensor.

	 To compile this driver as a module, choose CONFIG_M here:
	 The module will be called noa1305.

config CONFIG_OPT3001
	tristate "Texas Instruments OPT3001 Light Sensor"
	depends on CONFIG_I2C
	help
	  If you say Y or CONFIG_M here, you get support for Texas Instruments
	  CONFIG_OPT3001 Ambient Light Sensor.

	  If built as a dynamically linked module, it will be called
	  opt3001.

config CONFIG_PA12203001
	tristate "TXC PA12203001 light and proximity sensor"
	depends on CONFIG_I2C
	select CONFIG_REGMAP_I2C
	help
	  If you say yes here you get support for the TXC CONFIG_PA12203001
	  ambient light and proximity sensor.

	  This driver can also be built as a module.  If so, the module
	  will be called pa12203001.

config CONFIG_SI1133
	tristate "SI1133 UV Index Sensor and Ambient Light Sensor"
	depends on CONFIG_I2C
	select CONFIG_REGMAP_I2C
	  help
	  Say Y here if you want to build a driver for the Silicon Labs CONFIG_SI1133
	  UV Index Sensor and Ambient Light Sensor chip.

	  To compile this driver as a module, choose CONFIG_M here: the module will be
	  called si1133.

config CONFIG_SI1145
	tristate "SI1132 and SI1141/2/3/5/6/7 combined ALS, UV index and proximity sensor"
	depends on CONFIG_I2C
	select CONFIG_IIO_BUFFER
	select CONFIG_IIO_TRIGGERED_BUFFER
	help
	  Say Y here if you want to build a driver for the Silicon Labs SI1132 or
	  SI1141/2/3/5/6/7 combined ambient light, UV index and proximity sensor
	  chips.

	  To compile this driver as a module, choose CONFIG_M here: the module will be
	  called si1145.

config CONFIG_STK3310
	tristate "STK3310 ALS and proximity sensor"
	depends on CONFIG_I2C
	select CONFIG_REGMAP_I2C
	help
	  Say yes here to get support for the Sensortek CONFIG_STK3310 ambient light
	  and proximity sensor. The STK3311 model is also supported by this
	  driver.

	  Choosing CONFIG_M will build the driver as a module. If so, the module
	  will be called stk3310.

config CONFIG_ST_UVIS25
	tristate "STMicroelectronics UVIS25 sensor driver"
	depends on (CONFIG_I2C || CONFIG_SPI)
	select CONFIG_IIO_BUFFER
	select CONFIG_IIO_TRIGGERED_BUFFER
	select CONFIG_ST_UVIS25_I2C if (CONFIG_I2C)
	select CONFIG_ST_UVIS25_SPI if (CONFIG_SPI_MASTER)
	help
	  Say yes here to build support for STMicroelectronics UVIS25
	  uv sensor

	  To compile this driver as a module, choose CONFIG_M here: the module
	  will be called st_uvis25.

config CONFIG_ST_UVIS25_I2C
	tristate
	depends on CONFIG_ST_UVIS25
	select CONFIG_REGMAP_I2C

config CONFIG_ST_UVIS25_SPI
	tristate
	depends on CONFIG_ST_UVIS25
	select CONFIG_REGMAP_SPI

config CONFIG_TCS3414
	tristate "TAOS TCS3414 digital color sensor"
	depends on CONFIG_I2C
	select CONFIG_IIO_BUFFER
	select CONFIG_IIO_TRIGGERED_BUFFER
	help
	  If you say yes here you get support for the TAOS CONFIG_TCS3414
	  family of digital color sensors.

	  This driver can also be built as a module.  If so, the module
	  will be called tcs3414.

config CONFIG_TCS3472
	tristate "TAOS TCS3472 color light-to-digital converter"
	depends on CONFIG_I2C
	select CONFIG_IIO_BUFFER
	select CONFIG_IIO_TRIGGERED_BUFFER
	help
	  If you say yes here you get support for the TAOS CONFIG_TCS3472
	  family of color light-to-digital converters with IR filter.

	  This driver can also be built as a module.  If so, the module
	  will be called tcs3472.

config CONFIG_SENSORS_TSL2563
	tristate "TAOS TSL2560, TSL2561, TSL2562 and TSL2563 ambient light sensors"
	depends on CONFIG_I2C
	help
	  If you say yes here you get support for the Taos TSL2560,
	  TSL2561, TSL2562 and TSL2563 ambient light sensors.

	  This driver can also be built as a module.  If so, the module
	  will be called tsl2563.

config CONFIG_TSL2583
	tristate "TAOS TSL2580, TSL2581 and TSL2583 light-to-digital converters"
	depends on CONFIG_I2C
	help
	  Provides support for the TAOS tsl2580, tsl2581 and tsl2583 devices.
	  Access ALS data via iio, sysfs.

config CONFIG_TSL2772
	tristate "TAOS TSL/TMD2x71 and TSL/TMD2x72 Family of light and proximity sensors"
	depends on CONFIG_I2C
	help
	  Support for: tsl2571, tsl2671, tmd2671, tsl2771, tmd2771, tsl2572, tsl2672,
	  tmd2672, tsl2772, tmd2772 devices.
	  Provides iio_events and direct access via sysfs.

config CONFIG_TSL4531
	tristate "TAOS TSL4531 ambient light sensors"
	depends on CONFIG_I2C
	help
	  Say Y here if you want to build a driver for the TAOS CONFIG_TSL4531 family
	  of ambient light sensors with direct lux output.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called tsl4531.

config CONFIG_US5182D
	tristate "UPISEMI light and proximity sensor"
	depends on CONFIG_I2C
	help
	  If you say yes here you get support for the UPISEMI CONFIG_US5182D
	  ambient light and proximity sensor.

	  This driver can also be built as a module.  If so, the module
	  will be called us5182d.

config CONFIG_VCNL4000
	tristate "VCNL4000/4010/4020/4200 combined ALS and proximity sensor"
	depends on CONFIG_I2C
	help
	  Say Y here if you want to build a driver for the Vishay CONFIG_VCNL4000,
	  VCNL4010, VCNL4020, VCNL4200 combined ambient light and proximity
	  sensor.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called vcnl4000.

config CONFIG_VCNL4035
	tristate "VCNL4035 combined ALS and proximity sensor"
	select CONFIG_IIO_TRIGGERED_BUFFER
	select CONFIG_REGMAP_I2C
	depends on CONFIG_I2C
	help
	  Say Y here if you want to build a driver for the Vishay CONFIG_VCNL4035,
	  combined ambient light (ALS) and proximity sensor. Currently only ALS
	  function is available.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called vcnl4035.

config CONFIG_VEML6070
	tristate "VEML6070 UV A light sensor"
	depends on CONFIG_I2C
	help
	  Say Y here if you want to build a driver for the Vishay CONFIG_VEML6070 UV CONFIG_A
	  light sensor.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called veml6070.

config CONFIG_VL6180
	tristate "VL6180 ALS, range and proximity sensor"
	depends on CONFIG_I2C
	help
	  Say Y here if you want to build a driver for the STMicroelectronics
	  CONFIG_VL6180 combined ambient light, range and proximity sensor.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called vl6180.

config CONFIG_ZOPT2201
	tristate "ZOPT2201 ALS and UV B sensor"
	depends on CONFIG_I2C
	help
	  Say Y here if you want to build a driver for the IDT
	  CONFIG_ZOPT2201 ambient light and UV CONFIG_B sensor.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called zopt2201.

endmenu