diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2022-01-01 12:37:58 -0800 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-01-23 18:03:33 +0000 |
commit | 1cdb4c47f7f501e51006fdb4d36c528ed30de9a8 (patch) | |
tree | 2a8f73008546975bff9ff77415f59a72ab2a5f8f /drivers/iio/proximity/Kconfig | |
parent | a8ee3b32f5da6c77a5ccc0e42c2250d61ba54fe0 (diff) | |
download | linux-1cdb4c47f7f501e51006fdb4d36c528ed30de9a8.tar.gz linux-1cdb4c47f7f501e51006fdb4d36c528ed30de9a8.tar.bz2 linux-1cdb4c47f7f501e51006fdb4d36c528ed30de9a8.zip |
iio:proximity:sx9360: Add sx9360 support
A simplified version of SX9324, it only have one pin and
2 phases (aka channels).
Only one event is presented.
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/20220101203800.290387-2-gwendal@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 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/iio/proximity/Kconfig b/drivers/iio/proximity/Kconfig index dc66f339e5b1..0e5c17530b8b 100644 --- a/drivers/iio/proximity/Kconfig +++ b/drivers/iio/proximity/Kconfig @@ -145,6 +145,20 @@ config SX9324 To compile this driver as a module, choose M here: the module will be called sx9324. +config SX9360 + tristate "SX9360 Semtech proximity sensor" + select IIO_BUFFER + select IIO_TRIGGERED_BUFFER + select REGMAP_I2C + select SX_COMMON + depends on I2C + help + Say Y here to build a driver for Semtech's SX9360 + proximity/button sensor, a simplified SX9324. + + To compile this driver as a module, choose M here: the + module will be called sx9360. + config SX9500 tristate "SX9500 Semtech proximity sensor" select IIO_BUFFER |