2019-05-19 19:07:45 +07:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2018-07-20 03:26:25 +07:00
|
|
|
|
2012-05-21 19:18:06 +07:00
|
|
|
#
|
|
|
|
# Light sensors
|
|
|
|
#
|
2013-07-15 14:45:00 +07:00
|
|
|
# When adding new entries keep the list in alphabetical order
|
|
|
|
|
2012-05-21 19:18:06 +07:00
|
|
|
menu "Light sensors"
|
|
|
|
|
2015-05-02 19:30:57 +07:00
|
|
|
config ACPI_ALS
|
|
|
|
tristate "ACPI Ambient Light Sensor"
|
|
|
|
depends on ACPI
|
|
|
|
select IIO_BUFFER
|
|
|
|
select IIO_TRIGGERED_BUFFER
|
|
|
|
select IIO_KFIFO_BUF
|
|
|
|
help
|
2019-03-06 21:52:23 +07:00
|
|
|
Say Y here if you want to build a driver for the ACPI0008
|
|
|
|
Ambient Light Sensor.
|
2015-05-02 19:30:57 +07:00
|
|
|
|
2019-03-06 21:52:23 +07:00
|
|
|
To compile this driver as a module, choose M here: the module will
|
|
|
|
be called acpi-als.
|
2015-05-02 19:30:57 +07:00
|
|
|
|
2012-07-11 04:32:00 +07:00
|
|
|
config ADJD_S311
|
|
|
|
tristate "ADJD-S311-CR999 digital color sensor"
|
|
|
|
select IIO_BUFFER
|
|
|
|
select IIO_TRIGGERED_BUFFER
|
|
|
|
depends on I2C
|
|
|
|
help
|
2019-03-06 21:52:23 +07:00
|
|
|
If you say yes here you get support for the Avago ADJD-S311-CR999
|
|
|
|
digital color light sensor.
|
2012-07-11 04:32:00 +07:00
|
|
|
|
2019-03-06 21:52:23 +07:00
|
|
|
This driver can also be built as a module. If so, the module
|
|
|
|
will be called adjd_s311.
|
2012-07-11 04:32:00 +07:00
|
|
|
|
2019-10-12 01:48:52 +07:00
|
|
|
config ADUX1020
|
|
|
|
tristate "ADUX1020 photometric sensor"
|
|
|
|
select REGMAP_I2C
|
|
|
|
depends on I2C
|
|
|
|
help
|
|
|
|
Say Y here if you want to build a driver for the Analog Devices
|
|
|
|
ADUX1020 photometric sensor.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called adux1020.
|
|
|
|
|
2020-02-15 05:09:17 +07:00
|
|
|
config AL3010
|
|
|
|
tristate "AL3010 ambient light sensor"
|
|
|
|
depends on I2C
|
|
|
|
help
|
|
|
|
Say Y here if you want to build a driver for the Dyna Image AL3010
|
|
|
|
ambient light sensor.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called al3010.
|
|
|
|
|
2014-10-09 13:57:00 +07:00
|
|
|
config AL3320A
|
|
|
|
tristate "AL3320A ambient light sensor"
|
|
|
|
depends on I2C
|
|
|
|
help
|
2019-03-06 21:52:23 +07:00
|
|
|
Say Y here if you want to build a driver for the Dyna Image AL3320A
|
|
|
|
ambient light sensor.
|
2014-10-09 13:57:00 +07:00
|
|
|
|
2019-03-06 21:52:23 +07:00
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called al3320a.
|
2014-10-09 13:57:00 +07:00
|
|
|
|
2013-07-22 20:11:00 +07:00
|
|
|
config APDS9300
|
|
|
|
tristate "APDS9300 ambient light sensor"
|
|
|
|
depends on I2C
|
|
|
|
help
|
2019-03-06 21:52:23 +07:00
|
|
|
Say Y here if you want to build a driver for the Avago APDS9300
|
|
|
|
ambient light sensor.
|
2013-07-22 20:11:00 +07:00
|
|
|
|
2019-03-06 21:52:23 +07:00
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called apds9300.
|
2013-07-22 20:11:00 +07:00
|
|
|
|
2015-08-18 00:30:16 +07:00
|
|
|
config APDS9960
|
|
|
|
tristate "Avago APDS9960 gesture/RGB/ALS/proximity sensor"
|
|
|
|
select REGMAP_I2C
|
|
|
|
select IIO_BUFFER
|
|
|
|
select IIO_KFIFO_BUF
|
|
|
|
depends on I2C
|
|
|
|
help
|
|
|
|
Say Y here to build I2C interface support for the Avago
|
|
|
|
APDS9960 gesture/RGB/ALS/proximity sensor.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called apds9960
|
|
|
|
|
2020-08-05 12:57:44 +07:00
|
|
|
config AS73211
|
|
|
|
tristate "AMS AS73211 XYZ color sensor"
|
|
|
|
depends on I2C
|
|
|
|
select IIO_BUFFER
|
|
|
|
select IIO_TRIGGERED_BUFFER
|
|
|
|
help
|
|
|
|
If you say yes here you get support for the AMS AS73211
|
|
|
|
JENCOLOR(R) Digital XYZ Sensor.
|
|
|
|
|
|
|
|
For triggered measurements, you will need an additional trigger driver
|
|
|
|
like IIO_HRTIMER_TRIGGER or IIO_SYSFS_TRIGGER.
|
|
|
|
|
|
|
|
This driver can also be built as a module. If so, the module
|
|
|
|
will be called as73211.
|
|
|
|
|
2015-05-04 01:37:21 +07:00
|
|
|
config BH1750
|
|
|
|
tristate "ROHM BH1750 ambient light sensor"
|
|
|
|
depends on I2C
|
|
|
|
help
|
2019-03-06 21:52:23 +07:00
|
|
|
Say Y here to build support for the ROHM BH1710, BH1715, BH1721,
|
|
|
|
BH1750, BH1751 ambient light sensors.
|
2015-05-04 01:37:21 +07:00
|
|
|
|
2019-03-06 21:52:23 +07:00
|
|
|
To compile this driver as a module, choose M here: the module will
|
|
|
|
be called bh1750.
|
2015-05-04 01:37:21 +07:00
|
|
|
|
2016-04-11 19:12:04 +07:00
|
|
|
config BH1780
|
|
|
|
tristate "ROHM BH1780 ambient light sensor"
|
|
|
|
depends on I2C
|
|
|
|
help
|
2019-03-06 21:52:23 +07:00
|
|
|
Say Y here to build support for the ROHM BH1780GLI ambient
|
|
|
|
light sensor.
|
2016-04-11 19:12:04 +07:00
|
|
|
|
2019-03-06 21:52:23 +07:00
|
|
|
To compile this driver as a module, choose M here: the module will
|
|
|
|
be called bh1780.
|
2016-04-11 19:12:04 +07:00
|
|
|
|
2013-12-24 08:53:00 +07:00
|
|
|
config CM32181
|
|
|
|
depends on I2C
|
|
|
|
tristate "CM32181 driver"
|
|
|
|
help
|
2019-03-06 21:52:23 +07:00
|
|
|
Say Y here if you use cm32181.
|
|
|
|
This option enables ambient light sensor using
|
|
|
|
Capella cm32181 device driver.
|
2013-12-24 08:53:00 +07:00
|
|
|
|
2019-03-06 21:52:23 +07:00
|
|
|
To compile this driver as a module, choose M here:
|
|
|
|
the module will be called cm32181.
|
2013-12-24 08:53:00 +07:00
|
|
|
|
2015-01-16 08:41:04 +07:00
|
|
|
config CM3232
|
|
|
|
depends on I2C
|
|
|
|
tristate "CM3232 ambient light sensor"
|
|
|
|
help
|
2019-03-06 21:52:23 +07:00
|
|
|
Say Y here if you use cm3232.
|
|
|
|
This option enables ambient light sensor using
|
|
|
|
Capella Microsystems cm3232 device driver.
|
2015-01-16 08:41:04 +07:00
|
|
|
|
2019-03-06 21:52:23 +07:00
|
|
|
To compile this driver as a module, choose M here:
|
|
|
|
the module will be called cm3232.
|
2015-01-16 08:41:04 +07:00
|
|
|
|
2015-03-15 02:11:41 +07:00
|
|
|
config CM3323
|
|
|
|
depends on I2C
|
|
|
|
tristate "Capella CM3323 color light sensor"
|
|
|
|
help
|
2019-03-06 21:52:23 +07:00
|
|
|
Say Y here if you want to build a driver for Capella CM3323
|
|
|
|
color sensor.
|
2015-03-15 02:11:41 +07:00
|
|
|
|
2019-03-06 21:52:23 +07:00
|
|
|
To compile this driver as a module, choose M here: the module will
|
|
|
|
be called cm3323.
|
2015-03-15 02:11:41 +07:00
|
|
|
|
iio: light: add driver for Capella CM3605
This adds a driver for the Capella Microsystems CM3605 Ambient
Light Sensor and proximity sensor. This is a pretty simple entirely
analog device that is interfaced with the target system using
the POUT (proximity out) and AOUT (ambient light out) signals.
The POUT signal is a simple high/low signal that indicates whether
an object is in proximity, most typically used to detect a face
in front of a mobile device. The signal requires that an infrared
LED is mounted next to the device, making IR light reflect off
the object in proximity and triggering the POUT signal. We grab
a GPIO pin to handle the POUT signal as an interrupt line and
register this as an event channel for the sensor.
Since the proximity sensor requires an IR LED, we add a LED trigger
named "cm3605" so that the infrared LED can just associate with
this trigger to be sure it is always on when the proximity sensor
needs it.
The AOUT is an analog voltage between 0 and 1550 mV that indicate
the LUX value in the ambient light: this is orthogonal to the
proximity sensor functionality. Since this analog voltage needs
to be converted into a digital value, the driver grabs an IIO
channel named "aout" associated with the device.
This patch created a combined ALS and proximity sensor driver.
The former supports raw reads of the LUX value and the latter
will generate proximity events.
To integrate this properly with Linux we also add a supply
regulator for the VDD pin (driving both functions) and add device
tree bindings to define the RSET resistor that in turn configures
the luminosity range of the ALS sensor.
Since the sensor needs to be on more or less constantly, we
restrict the power management to system suspend/resume: we
disable the IR LED and disable the regulator for VDD on suspend
and take them back up on resume.
Tests:
cd /sys/bus/iio/devices/iio:device1
cat in_illuminance_raw
304
(hold hand over sensor)
cat in_illuminance_raw
17
iio_event_monitor cm3605
Found IIO device with name cm3605 with device number 1
(hold hand over sensor)
Event: time: 2444842301447, type: proximity, channel: 0,
evtype: thresh, direction: falling
(remove hand over sensor)
Event: time: 2445583440706, type: proximity, channel: 0,
evtype: thresh, direction: rising
Cc: Capella Microsystems <capellamicro@gmail.com>
Cc: Kevin Tsai <ktsai@capellamicro.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2016-12-19 04:56:05 +07:00
|
|
|
config CM3605
|
|
|
|
tristate "Capella CM3605 ambient light and proximity sensor"
|
|
|
|
depends on OF
|
|
|
|
help
|
2019-03-06 21:52:23 +07:00
|
|
|
Say Y here if you want to build a driver for Capella CM3605
|
|
|
|
ambient light and short range proximity sensor.
|
iio: light: add driver for Capella CM3605
This adds a driver for the Capella Microsystems CM3605 Ambient
Light Sensor and proximity sensor. This is a pretty simple entirely
analog device that is interfaced with the target system using
the POUT (proximity out) and AOUT (ambient light out) signals.
The POUT signal is a simple high/low signal that indicates whether
an object is in proximity, most typically used to detect a face
in front of a mobile device. The signal requires that an infrared
LED is mounted next to the device, making IR light reflect off
the object in proximity and triggering the POUT signal. We grab
a GPIO pin to handle the POUT signal as an interrupt line and
register this as an event channel for the sensor.
Since the proximity sensor requires an IR LED, we add a LED trigger
named "cm3605" so that the infrared LED can just associate with
this trigger to be sure it is always on when the proximity sensor
needs it.
The AOUT is an analog voltage between 0 and 1550 mV that indicate
the LUX value in the ambient light: this is orthogonal to the
proximity sensor functionality. Since this analog voltage needs
to be converted into a digital value, the driver grabs an IIO
channel named "aout" associated with the device.
This patch created a combined ALS and proximity sensor driver.
The former supports raw reads of the LUX value and the latter
will generate proximity events.
To integrate this properly with Linux we also add a supply
regulator for the VDD pin (driving both functions) and add device
tree bindings to define the RSET resistor that in turn configures
the luminosity range of the ALS sensor.
Since the sensor needs to be on more or less constantly, we
restrict the power management to system suspend/resume: we
disable the IR LED and disable the regulator for VDD on suspend
and take them back up on resume.
Tests:
cd /sys/bus/iio/devices/iio:device1
cat in_illuminance_raw
304
(hold hand over sensor)
cat in_illuminance_raw
17
iio_event_monitor cm3605
Found IIO device with name cm3605 with device number 1
(hold hand over sensor)
Event: time: 2444842301447, type: proximity, channel: 0,
evtype: thresh, direction: falling
(remove hand over sensor)
Event: time: 2445583440706, type: proximity, channel: 0,
evtype: thresh, direction: rising
Cc: Capella Microsystems <capellamicro@gmail.com>
Cc: Kevin Tsai <ktsai@capellamicro.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2016-12-19 04:56:05 +07:00
|
|
|
|
2019-03-06 21:52:23 +07:00
|
|
|
To compile this driver as a module, choose M here: the module will
|
|
|
|
be called cm3605.
|
iio: light: add driver for Capella CM3605
This adds a driver for the Capella Microsystems CM3605 Ambient
Light Sensor and proximity sensor. This is a pretty simple entirely
analog device that is interfaced with the target system using
the POUT (proximity out) and AOUT (ambient light out) signals.
The POUT signal is a simple high/low signal that indicates whether
an object is in proximity, most typically used to detect a face
in front of a mobile device. The signal requires that an infrared
LED is mounted next to the device, making IR light reflect off
the object in proximity and triggering the POUT signal. We grab
a GPIO pin to handle the POUT signal as an interrupt line and
register this as an event channel for the sensor.
Since the proximity sensor requires an IR LED, we add a LED trigger
named "cm3605" so that the infrared LED can just associate with
this trigger to be sure it is always on when the proximity sensor
needs it.
The AOUT is an analog voltage between 0 and 1550 mV that indicate
the LUX value in the ambient light: this is orthogonal to the
proximity sensor functionality. Since this analog voltage needs
to be converted into a digital value, the driver grabs an IIO
channel named "aout" associated with the device.
This patch created a combined ALS and proximity sensor driver.
The former supports raw reads of the LUX value and the latter
will generate proximity events.
To integrate this properly with Linux we also add a supply
regulator for the VDD pin (driving both functions) and add device
tree bindings to define the RSET resistor that in turn configures
the luminosity range of the ALS sensor.
Since the sensor needs to be on more or less constantly, we
restrict the power management to system suspend/resume: we
disable the IR LED and disable the regulator for VDD on suspend
and take them back up on resume.
Tests:
cd /sys/bus/iio/devices/iio:device1
cat in_illuminance_raw
304
(hold hand over sensor)
cat in_illuminance_raw
17
iio_event_monitor cm3605
Found IIO device with name cm3605 with device number 1
(hold hand over sensor)
Event: time: 2444842301447, type: proximity, channel: 0,
evtype: thresh, direction: falling
(remove hand over sensor)
Event: time: 2445583440706, type: proximity, channel: 0,
evtype: thresh, direction: rising
Cc: Capella Microsystems <capellamicro@gmail.com>
Cc: Kevin Tsai <ktsai@capellamicro.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2016-12-19 04:56:05 +07:00
|
|
|
|
2013-10-17 09:22:00 +07:00
|
|
|
config CM36651
|
|
|
|
depends on I2C
|
|
|
|
tristate "CM36651 driver"
|
|
|
|
help
|
2019-03-06 21:52:23 +07:00
|
|
|
Say Y here if you use cm36651.
|
|
|
|
This option enables proximity & RGB sensor using
|
|
|
|
Capella cm36651 device driver.
|
2013-10-17 09:22:00 +07:00
|
|
|
|
2019-03-06 21:52:23 +07:00
|
|
|
To compile this driver as a module, choose M here:
|
|
|
|
the module will be called cm36651.
|
2013-10-17 09:22:00 +07:00
|
|
|
|
2017-01-31 00:07:53 +07:00
|
|
|
config IIO_CROS_EC_LIGHT_PROX
|
|
|
|
tristate "ChromeOS EC Light and Proximity Sensors"
|
|
|
|
depends on 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 M here:
|
|
|
|
the module will be called cros_ec_light_prox.
|
|
|
|
|
2020-01-26 22:05:48 +07:00
|
|
|
config GP2AP002
|
|
|
|
tristate "Sharp GP2AP002 Proximity/ALS sensor"
|
|
|
|
depends on I2C
|
|
|
|
select REGMAP
|
|
|
|
help
|
|
|
|
Say Y here if you have a Sharp GP2AP002 proximity/ALS combo-chip
|
|
|
|
hooked to an I2C bus.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called gp2ap002.
|
|
|
|
|
2013-09-09 22:23:00 +07:00
|
|
|
config GP2AP020A00F
|
|
|
|
tristate "Sharp GP2AP020A00F Proximity/ALS sensor"
|
|
|
|
depends on I2C
|
2015-02-13 04:00:15 +07:00
|
|
|
select REGMAP_I2C
|
2013-09-09 22:23:00 +07:00
|
|
|
select IIO_BUFFER
|
|
|
|
select IIO_TRIGGERED_BUFFER
|
2013-12-02 18:25:00 +07:00
|
|
|
select IRQ_WORK
|
2013-09-09 22:23:00 +07:00
|
|
|
help
|
|
|
|
Say Y here if you have a Sharp GP2AP020A00F proximity/ALS combo-chip
|
|
|
|
hooked to an I2C bus.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called gp2ap020a00f.
|
|
|
|
|
2020-02-17 06:32:10 +07:00
|
|
|
config IQS621_ALS
|
|
|
|
tristate "Azoteq IQS621/622 ambient light sensors"
|
|
|
|
depends on MFD_IQS62X || COMPILE_TEST
|
|
|
|
help
|
|
|
|
Say Y here if you want to build support for the Azoteq IQS621
|
|
|
|
and IQS622 ambient light sensors.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
|
|
will be called iqs621-als.
|
|
|
|
|
2016-10-10 14:20:02 +07:00
|
|
|
config SENSORS_ISL29018
|
|
|
|
tristate "Intersil 29018 light and proximity sensor"
|
|
|
|
depends on I2C
|
|
|
|
select REGMAP_I2C
|
|
|
|
default n
|
|
|
|
help
|
2019-03-06 21:52:23 +07:00
|
|
|
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.
|
2016-10-10 14:20:02 +07:00
|
|
|
|
2017-04-25 08:34:34 +07:00
|
|
|
config SENSORS_ISL29028
|
|
|
|
tristate "Intersil ISL29028 Concurrent Light and Proximity Sensor"
|
|
|
|
depends on I2C
|
|
|
|
select REGMAP_I2C
|
|
|
|
help
|
2019-03-06 21:52:23 +07:00
|
|
|
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.
|
2017-04-25 08:34:34 +07:00
|
|
|
|
2014-05-07 19:38:00 +07:00
|
|
|
config ISL29125
|
|
|
|
tristate "Intersil ISL29125 digital color light sensor"
|
|
|
|
depends on I2C
|
|
|
|
select IIO_BUFFER
|
|
|
|
select IIO_TRIGGERED_BUFFER
|
|
|
|
help
|
|
|
|
Say Y here if you want to build a driver for the Intersil ISL29125
|
|
|
|
RGB light sensor for I2C.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module will be
|
|
|
|
called isl29125.
|
|
|
|
|
2013-07-15 14:45:00 +07:00
|
|
|
config HID_SENSOR_ALS
|
|
|
|
depends on HID_SENSOR_HUB
|
|
|
|
select IIO_BUFFER
|
|
|
|
select HID_SENSOR_IIO_COMMON
|
|
|
|
select HID_SENSOR_IIO_TRIGGER
|
|
|
|
tristate "HID ALS"
|
|
|
|
help
|
|
|
|
Say yes here to build support for the HID SENSOR
|
|
|
|
Ambient light sensor.
|
|
|
|
|
2014-12-31 01:48:49 +07:00
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called hid-sensor-als.
|
|
|
|
|
2014-02-20 13:29:00 +07:00
|
|
|
config HID_SENSOR_PROX
|
|
|
|
depends on HID_SENSOR_HUB
|
|
|
|
select IIO_BUFFER
|
|
|
|
select HID_SENSOR_IIO_COMMON
|
|
|
|
select HID_SENSOR_IIO_TRIGGER
|
|
|
|
tristate "HID PROX"
|
|
|
|
help
|
|
|
|
Say yes here to build support for the HID SENSOR
|
|
|
|
Proximity sensor.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called hid-sensor-prox.
|
|
|
|
|
2014-09-16 10:54:00 +07:00
|
|
|
config JSA1212
|
|
|
|
tristate "JSA1212 ALS and proximity sensor driver"
|
|
|
|
depends on I2C
|
2015-02-13 04:00:14 +07:00
|
|
|
select REGMAP_I2C
|
2014-09-16 10:54:00 +07:00
|
|
|
help
|
2019-03-06 21:52:23 +07:00
|
|
|
Say Y here if you want to build a IIO driver for JSA1212
|
|
|
|
proximity & ALS sensor device.
|
2014-09-16 10:54:00 +07:00
|
|
|
|
2019-03-06 21:52:23 +07:00
|
|
|
To compile this driver as a module, choose M here:
|
|
|
|
the module will be called jsa1212.
|
2014-09-16 10:54:00 +07:00
|
|
|
|
2015-06-17 16:42:51 +07:00
|
|
|
config RPR0521
|
|
|
|
tristate "ROHM RPR0521 ALS and proximity sensor driver"
|
|
|
|
depends on I2C
|
|
|
|
select REGMAP_I2C
|
|
|
|
help
|
2019-03-06 21:52:23 +07:00
|
|
|
Say Y here if you want to build support for ROHM's RPR0521
|
|
|
|
ambient light and proximity sensor device.
|
2015-06-17 16:42:51 +07:00
|
|
|
|
2019-03-06 21:52:23 +07:00
|
|
|
To compile this driver as a module, choose M here:
|
|
|
|
the module will be called rpr0521.
|
2015-06-17 16:42:51 +07:00
|
|
|
|
2012-05-21 19:18:06 +07:00
|
|
|
config SENSORS_LM3533
|
|
|
|
tristate "LM3533 ambient light sensor"
|
|
|
|
depends on 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. 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.
|
2012-06-19 14:58:54 +07:00
|
|
|
|
2014-10-02 04:01:00 +07:00
|
|
|
config LTR501
|
|
|
|
tristate "LTR-501ALS-01 light sensor"
|
|
|
|
depends on I2C
|
2015-06-28 17:31:52 +07:00
|
|
|
select REGMAP_I2C
|
2014-10-02 04:01:00 +07:00
|
|
|
select IIO_BUFFER
|
|
|
|
select IIO_TRIGGERED_BUFFER
|
|
|
|
help
|
2019-03-06 21:52:23 +07:00
|
|
|
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.
|
2014-10-02 04:01:00 +07:00
|
|
|
|
2019-03-06 21:52:23 +07:00
|
|
|
This driver can also be built as a module. If so, the module
|
|
|
|
will be called ltr501.
|
2014-10-02 04:01:00 +07:00
|
|
|
|
2018-02-27 09:11:51 +07:00
|
|
|
config LV0104CS
|
|
|
|
tristate "LV0104CS Ambient Light Sensor"
|
|
|
|
depends on I2C
|
|
|
|
help
|
2019-03-06 21:52:23 +07:00
|
|
|
Say Y here if you want to build support for the On Semiconductor
|
|
|
|
LV0104CS ambient light sensor.
|
2018-02-27 09:11:51 +07:00
|
|
|
|
2019-03-06 21:52:23 +07:00
|
|
|
To compile this driver as a module, choose M here:
|
|
|
|
the module will be called lv0104cs.
|
2018-02-27 09:11:51 +07:00
|
|
|
|
2016-04-18 21:31:53 +07:00
|
|
|
config MAX44000
|
|
|
|
tristate "MAX44000 Ambient and Infrared Proximity Sensor"
|
|
|
|
depends on I2C
|
|
|
|
select REGMAP_I2C
|
2016-07-19 07:56:43 +07:00
|
|
|
select IIO_BUFFER
|
|
|
|
select IIO_TRIGGERED_BUFFER
|
2016-04-18 21:31:53 +07:00
|
|
|
help
|
2019-03-06 21:52:23 +07:00
|
|
|
Say Y here if you want to build support for Maxim Integrated's
|
|
|
|
MAX44000 ambient and infrared proximity sensor device.
|
2016-04-18 21:31:53 +07:00
|
|
|
|
2019-03-06 21:52:23 +07:00
|
|
|
To compile this driver as a module, choose M here:
|
|
|
|
the module will be called max44000.
|
2016-04-18 21:31:53 +07:00
|
|
|
|
2019-01-31 22:29:01 +07:00
|
|
|
config MAX44009
|
|
|
|
tristate "MAX44009 Ambient Light Sensor"
|
|
|
|
depends on I2C
|
2019-08-02 18:42:28 +07:00
|
|
|
select REGMAP_I2C
|
2019-01-31 22:29:01 +07:00
|
|
|
help
|
|
|
|
Say Y here if you want to build support for Maxim Integrated's
|
|
|
|
MAX44009 ambient light sensor device.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here:
|
|
|
|
the module will be called max44009.
|
|
|
|
|
2019-08-02 18:42:28 +07:00
|
|
|
config NOA1305
|
|
|
|
tristate "ON Semiconductor NOA1305 ambient light sensor"
|
|
|
|
depends on I2C
|
2019-09-23 09:04:32 +07:00
|
|
|
select REGMAP_I2C
|
2019-08-02 18:42:28 +07:00
|
|
|
help
|
|
|
|
Say Y here if you want to build support for the ON Semiconductor
|
|
|
|
NOA1305 ambient light sensor.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here:
|
|
|
|
The module will be called noa1305.
|
|
|
|
|
2015-07-03 05:27:58 +07:00
|
|
|
config OPT3001
|
|
|
|
tristate "Texas Instruments OPT3001 Light Sensor"
|
|
|
|
depends on I2C
|
|
|
|
help
|
|
|
|
If you say Y or M here, you get support for Texas Instruments
|
|
|
|
OPT3001 Ambient Light Sensor.
|
|
|
|
|
|
|
|
If built as a dynamically linked module, it will be called
|
|
|
|
opt3001.
|
|
|
|
|
2015-07-07 18:07:13 +07:00
|
|
|
config PA12203001
|
2019-03-06 21:52:23 +07:00
|
|
|
tristate "TXC PA12203001 light and proximity sensor"
|
|
|
|
depends on I2C
|
|
|
|
select REGMAP_I2C
|
|
|
|
help
|
|
|
|
If you say yes here you get support for the TXC PA12203001
|
|
|
|
ambient light and proximity sensor.
|
2015-07-07 18:07:13 +07:00
|
|
|
|
2019-03-06 21:52:23 +07:00
|
|
|
This driver can also be built as a module. If so, the module
|
|
|
|
will be called pa12203001.
|
2015-07-07 18:07:13 +07:00
|
|
|
|
2018-07-20 03:26:25 +07:00
|
|
|
config SI1133
|
|
|
|
tristate "SI1133 UV Index Sensor and Ambient Light Sensor"
|
|
|
|
depends on I2C
|
|
|
|
select REGMAP_I2C
|
|
|
|
help
|
|
|
|
Say Y here if you want to build a driver for the Silicon Labs SI1133
|
|
|
|
UV Index Sensor and Ambient Light Sensor chip.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module will be
|
|
|
|
called si1133.
|
|
|
|
|
2016-09-18 21:41:30 +07:00
|
|
|
config SI1145
|
|
|
|
tristate "SI1132 and SI1141/2/3/5/6/7 combined ALS, UV index and proximity sensor"
|
|
|
|
depends on I2C
|
|
|
|
select IIO_BUFFER
|
|
|
|
select 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 M here: the module will be
|
|
|
|
called si1145.
|
|
|
|
|
2015-04-27 22:34:00 +07:00
|
|
|
config STK3310
|
|
|
|
tristate "STK3310 ALS and proximity sensor"
|
|
|
|
depends on I2C
|
2015-07-04 22:56:57 +07:00
|
|
|
select REGMAP_I2C
|
2015-04-27 22:34:00 +07:00
|
|
|
help
|
2019-03-06 21:52:23 +07:00
|
|
|
Say yes here to get support for the Sensortek STK3310 ambient light
|
|
|
|
and proximity sensor. The STK3311 model is also supported by this
|
|
|
|
driver.
|
2015-04-27 22:34:00 +07:00
|
|
|
|
2019-03-06 21:52:23 +07:00
|
|
|
Choosing M will build the driver as a module. If so, the module
|
|
|
|
will be called stk3310.
|
2015-04-27 22:34:00 +07:00
|
|
|
|
2017-11-24 05:59:05 +07:00
|
|
|
config ST_UVIS25
|
|
|
|
tristate "STMicroelectronics UVIS25 sensor driver"
|
|
|
|
depends on (I2C || SPI)
|
|
|
|
select IIO_BUFFER
|
|
|
|
select IIO_TRIGGERED_BUFFER
|
|
|
|
select ST_UVIS25_I2C if (I2C)
|
|
|
|
select ST_UVIS25_SPI if (SPI_MASTER)
|
|
|
|
help
|
|
|
|
Say yes here to build support for STMicroelectronics UVIS25
|
|
|
|
uv sensor
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
|
|
will be called st_uvis25.
|
|
|
|
|
|
|
|
config ST_UVIS25_I2C
|
|
|
|
tristate
|
|
|
|
depends on ST_UVIS25
|
|
|
|
select REGMAP_I2C
|
|
|
|
|
|
|
|
config ST_UVIS25_SPI
|
|
|
|
tristate
|
|
|
|
depends on ST_UVIS25
|
|
|
|
select REGMAP_SPI
|
|
|
|
|
2014-05-07 19:38:00 +07:00
|
|
|
config TCS3414
|
|
|
|
tristate "TAOS TCS3414 digital color sensor"
|
|
|
|
depends on I2C
|
|
|
|
select IIO_BUFFER
|
|
|
|
select IIO_TRIGGERED_BUFFER
|
|
|
|
help
|
2019-03-06 21:52:23 +07:00
|
|
|
If you say yes here you get support for the TAOS TCS3414
|
|
|
|
family of digital color sensors.
|
2014-05-07 19:38:00 +07:00
|
|
|
|
2019-03-06 21:52:23 +07:00
|
|
|
This driver can also be built as a module. If so, the module
|
|
|
|
will be called tcs3414.
|
2014-05-07 19:38:00 +07:00
|
|
|
|
2013-09-15 02:38:00 +07:00
|
|
|
config TCS3472
|
|
|
|
tristate "TAOS TCS3472 color light-to-digital converter"
|
|
|
|
depends on I2C
|
2013-10-29 07:59:00 +07:00
|
|
|
select IIO_BUFFER
|
|
|
|
select IIO_TRIGGERED_BUFFER
|
2013-09-15 02:38:00 +07:00
|
|
|
help
|
2019-03-06 21:52:23 +07:00
|
|
|
If you say yes here you get support for the TAOS TCS3472
|
|
|
|
family of color light-to-digital converters with IR filter.
|
2013-09-15 02:38:00 +07:00
|
|
|
|
2019-03-06 21:52:23 +07:00
|
|
|
This driver can also be built as a module. If so, the module
|
|
|
|
will be called tcs3472.
|
2013-09-15 02:38:00 +07:00
|
|
|
|
2013-01-12 17:35:00 +07:00
|
|
|
config SENSORS_TSL2563
|
|
|
|
tristate "TAOS TSL2560, TSL2561, TSL2562 and TSL2563 ambient light sensors"
|
|
|
|
depends on I2C
|
|
|
|
help
|
2019-03-06 21:52:23 +07:00
|
|
|
If you say yes here you get support for the Taos TSL2560,
|
|
|
|
TSL2561, TSL2562 and TSL2563 ambient light sensors.
|
2013-01-12 17:35:00 +07:00
|
|
|
|
2019-03-06 21:52:23 +07:00
|
|
|
This driver can also be built as a module. If so, the module
|
|
|
|
will be called tsl2563.
|
2013-01-12 17:35:00 +07:00
|
|
|
|
2016-11-13 01:19:41 +07:00
|
|
|
config TSL2583
|
|
|
|
tristate "TAOS TSL2580, TSL2581 and TSL2583 light-to-digital converters"
|
|
|
|
depends on I2C
|
|
|
|
help
|
2019-03-06 21:52:23 +07:00
|
|
|
Provides support for the TAOS tsl2580, tsl2581 and tsl2583 devices.
|
|
|
|
Access ALS data via iio, sysfs.
|
2016-11-13 01:19:41 +07:00
|
|
|
|
2018-05-11 07:12:23 +07:00
|
|
|
config TSL2772
|
|
|
|
tristate "TAOS TSL/TMD2x71 and TSL/TMD2x72 Family of light and proximity sensors"
|
|
|
|
depends on I2C
|
|
|
|
help
|
2019-03-06 21:52:23 +07:00
|
|
|
Support for: tsl2571, tsl2671, tmd2671, tsl2771, tmd2771, tsl2572, tsl2672,
|
|
|
|
tmd2672, tsl2772, tmd2772 devices.
|
|
|
|
Provides iio_events and direct access via sysfs.
|
2018-05-11 07:12:23 +07:00
|
|
|
|
2013-09-08 22:20:00 +07:00
|
|
|
config TSL4531
|
|
|
|
tristate "TAOS TSL4531 ambient light sensors"
|
|
|
|
depends on I2C
|
|
|
|
help
|
2019-03-06 21:52:23 +07:00
|
|
|
Say Y here if you want to build a driver for the TAOS TSL4531 family
|
|
|
|
of ambient light sensors with direct lux output.
|
2013-09-08 22:20:00 +07:00
|
|
|
|
2019-03-06 21:52:23 +07:00
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called tsl4531.
|
2013-09-08 22:20:00 +07:00
|
|
|
|
2015-09-16 15:14:11 +07:00
|
|
|
config US5182D
|
|
|
|
tristate "UPISEMI light and proximity sensor"
|
|
|
|
depends on I2C
|
|
|
|
help
|
2019-03-06 21:52:23 +07:00
|
|
|
If you say yes here you get support for the UPISEMI US5182D
|
|
|
|
ambient light and proximity sensor.
|
2015-09-16 15:14:11 +07:00
|
|
|
|
2019-03-06 21:52:23 +07:00
|
|
|
This driver can also be built as a module. If so, the module
|
|
|
|
will be called us5182d.
|
2015-09-16 15:14:11 +07:00
|
|
|
|
2012-06-19 14:58:54 +07:00
|
|
|
config VCNL4000
|
2018-07-25 22:18:21 +07:00
|
|
|
tristate "VCNL4000/4010/4020/4200 combined ALS and proximity sensor"
|
2020-05-03 16:29:59 +07:00
|
|
|
select IIO_BUFFER
|
|
|
|
select IIO_TRIGGERED_BUFFER
|
2012-06-19 14:58:54 +07:00
|
|
|
depends on I2C
|
|
|
|
help
|
2019-03-06 21:52:23 +07:00
|
|
|
Say Y here if you want to build a driver for the Vishay VCNL4000,
|
|
|
|
VCNL4010, VCNL4020, VCNL4200 combined ambient light and proximity
|
|
|
|
sensor.
|
2012-06-19 14:58:54 +07:00
|
|
|
|
2019-03-06 21:52:23 +07:00
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called vcnl4000.
|
2012-06-19 14:58:54 +07:00
|
|
|
|
2018-11-08 00:08:20 +07:00
|
|
|
config VCNL4035
|
|
|
|
tristate "VCNL4035 combined ALS and proximity sensor"
|
2020-11-03 05:35:24 +07:00
|
|
|
select IIO_BUFFER
|
2018-11-08 00:08:20 +07:00
|
|
|
select IIO_TRIGGERED_BUFFER
|
|
|
|
select REGMAP_I2C
|
|
|
|
depends on I2C
|
|
|
|
help
|
2019-03-06 21:52:23 +07:00
|
|
|
Say Y here if you want to build a driver for the Vishay VCNL4035,
|
|
|
|
combined ambient light (ALS) and proximity sensor. Currently only ALS
|
|
|
|
function is available.
|
2018-11-08 00:08:20 +07:00
|
|
|
|
2019-03-06 21:52:23 +07:00
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called vcnl4035.
|
2018-11-08 00:08:20 +07:00
|
|
|
|
2019-11-04 22:38:24 +07:00
|
|
|
config VEML6030
|
|
|
|
tristate "VEML6030 ambient light sensor"
|
|
|
|
select REGMAP_I2C
|
|
|
|
depends on I2C
|
|
|
|
help
|
|
|
|
Say Y here if you want to build a driver for the Vishay VEML6030
|
|
|
|
ambient light sensor (ALS).
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called veml6030.
|
|
|
|
|
2016-03-20 22:20:24 +07:00
|
|
|
config VEML6070
|
|
|
|
tristate "VEML6070 UV A light sensor"
|
|
|
|
depends on I2C
|
|
|
|
help
|
2019-03-06 21:52:23 +07:00
|
|
|
Say Y here if you want to build a driver for the Vishay VEML6070 UV A
|
|
|
|
light sensor.
|
2016-03-20 22:20:24 +07:00
|
|
|
|
2019-03-06 21:52:23 +07:00
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called veml6070.
|
2016-03-20 22:20:24 +07:00
|
|
|
|
2017-03-19 21:53:12 +07:00
|
|
|
config VL6180
|
|
|
|
tristate "VL6180 ALS, range and proximity sensor"
|
|
|
|
depends on I2C
|
|
|
|
help
|
2019-03-06 21:52:23 +07:00
|
|
|
Say Y here if you want to build a driver for the STMicroelectronics
|
|
|
|
VL6180 combined ambient light, range and proximity sensor.
|
2017-03-19 21:53:12 +07:00
|
|
|
|
2019-03-06 21:52:23 +07:00
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called vl6180.
|
2017-03-19 21:53:12 +07:00
|
|
|
|
2017-11-06 06:24:59 +07:00
|
|
|
config ZOPT2201
|
|
|
|
tristate "ZOPT2201 ALS and UV B sensor"
|
|
|
|
depends on I2C
|
|
|
|
help
|
2019-03-06 21:52:23 +07:00
|
|
|
Say Y here if you want to build a driver for the IDT
|
|
|
|
ZOPT2201 ambient light and UV B sensor.
|
2017-11-06 06:24:59 +07:00
|
|
|
|
2019-03-06 21:52:23 +07:00
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called zopt2201.
|
2017-11-06 06:24:59 +07:00
|
|
|
|
2012-05-21 19:18:06 +07:00
|
|
|
endmenu
|