summaryrefslogtreecommitdiff
path: root/drivers/iio/proximity/Kconfig
diff options
context:
space:
mode:
authorDaniel Campello <campello@chromium.org>2020-03-10 23:06:59 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-03-21 13:28:20 +0300
commit72ad02b15d6367f9897db62313cc69fb0a20ee1f (patch)
treeeae39b13bfb5fe65710da318365cf8c42cda7168 /drivers/iio/proximity/Kconfig
parent4bb2b8f94ace32c1e0d94a7dc9f881c44c3a71b8 (diff)
downloadlinux-72ad02b15d6367f9897db62313cc69fb0a20ee1f.tar.xz
iio: Add SEMTECH SX9310/9311 sensor driver
Add SEMTECH SX9310/9311 driver. The device has the following entry points: Usual frequency: - sampling_frequency - sampling_frequency_available Instant reading of current values for different sensors: - in_proximity0_raw - in_proximity1_raw - in_proximity2_raw - in_proximity3_comb_raw and associated events in events/ Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Signed-off-by: Enrico Granata <egranata@chromium.org> Signed-off-by: Daniel Campello <campello@chromium.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/proximity/Kconfig')
-rw-r--r--drivers/iio/proximity/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/iio/proximity/Kconfig b/drivers/iio/proximity/Kconfig
index 37606d400805..d57e8cc17e42 100644
--- a/drivers/iio/proximity/Kconfig
+++ b/drivers/iio/proximity/Kconfig
@@ -101,6 +101,19 @@ config SRF04
To compile this driver as a module, choose M here: the
module will be called srf04.
+config SX9310
+ tristate "SX9310/SX9311 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 SX9310/SX9311 capacitive
+ proximity/button sensor.
+
+ To compile this driver as a module, choose M here: the
+ module will be called sx9310.
+
config SX9500
tristate "SX9500 Semtech proximity sensor"
select IIO_BUFFER