Ultrasonic sensor srf10 is quite similar to srf08 and now also supported by the driver as device tree compatible string. It was necessary to prepare the source for supplementary sensors. This is done by enum srf08_sensor_type. The most significiant difference between srf08 and srf10 is another range and values of register gain (in the driver it's call sensitivity). Therefore the array of it is extended and dependent of the sensor type. Signed-off-by: Andreas Klinger <ak@it-klinger.de> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
71 lines
1.7 KiB
Plaintext
71 lines
1.7 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 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 SRF08/SRF10 ultrasonic ranger sensor"
|
|
depends on I2C
|
|
help
|
|
Say Y here to build a driver for Devantech SRF08/SRF10 ultrasonic
|
|
ranger sensor. 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
|