mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 06:12:08 +00:00
511051d509
Functions for triggered buffer support are needed by this module.
If they are not defined accidentally by another driver, there's an error
thrown out while linking.
Add a select of IIO_BUFFER and IIO_TRIGGERED_BUFFER in the Kconfig file.
Signed-off-by: Andreas Klinger <ak@it-klinger.de>
Fixes: a831959371
("iio: srf08: add triggered buffer support")
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
83 lines
2.1 KiB
Plaintext
83 lines
2.1 KiB
Plaintext
#
|
|
# Proximity sensors
|
|
#
|
|
|
|
menu "Lightning sensors"
|
|
|
|
config AS3935
|
|
tristate "AS3935 Franklin lightning sensor"
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
depends on SPI
|
|
help
|
|
Say Y here to build SPI interface support for the Austrian
|
|
Microsystems AS3935 lightning detection sensor.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called as3935
|
|
|
|
endmenu
|
|
|
|
menu "Proximity and distance sensors"
|
|
|
|
config LIDAR_LITE_V2
|
|
tristate "PulsedLight LIDAR sensor"
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
depends on I2C
|
|
help
|
|
Say Y to build a driver for PulsedLight LIDAR range finding
|
|
sensor.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called pulsedlight-lite-v2
|
|
|
|
config RFD77402
|
|
tristate "RFD77402 ToF sensor"
|
|
depends on I2C
|
|
help
|
|
Say Y to build a driver for the RFD77420 Time-of-Flight (distance)
|
|
sensor module with I2C interface.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called rfd77402.
|
|
|
|
config SRF04
|
|
tristate "Devantech SRF04 ultrasonic ranger sensor"
|
|
depends on GPIOLIB
|
|
help
|
|
Say Y here to build a driver for Devantech SRF04 ultrasonic
|
|
ranger sensor. This driver can be used to measure the distance
|
|
of objects. It is using two GPIOs.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called srf04.
|
|
|
|
config SX9500
|
|
tristate "SX9500 Semtech proximity sensor"
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
select REGMAP_I2C
|
|
depends on I2C
|
|
help
|
|
Say Y here to build a driver for Semtech's SX9500 capacitive
|
|
proximity/button sensor.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called sx9500.
|
|
|
|
config SRF08
|
|
tristate "Devantech SRF02/SRF08/SRF10 ultrasonic ranger sensor"
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
depends on I2C
|
|
help
|
|
Say Y here to build a driver for Devantech SRF02/SRF08/SRF10
|
|
ultrasonic ranger sensors with i2c interface.
|
|
This driver can be used to measure the distance of objects.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called srf08.
|
|
|
|
endmenu
|