diff options
author | Daniel Campello <campello@chromium.org> | 2020-03-10 14:06:59 -0600 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-03-21 10:28:20 +0000 |
commit | 72ad02b15d6367f9897db62313cc69fb0a20ee1f (patch) | |
tree | eae39b13bfb5fe65710da318365cf8c42cda7168 /drivers/iio/proximity/Kconfig | |
parent | 4bb2b8f94ace32c1e0d94a7dc9f881c44c3a71b8 (diff) | |
download | linux-72ad02b15d6367f9897db62313cc69fb0a20ee1f.tar.gz linux-72ad02b15d6367f9897db62313cc69fb0a20ee1f.tar.bz2 linux-72ad02b15d6367f9897db62313cc69fb0a20ee1f.zip |
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/Kconfig | 13 |
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 |