summaryrefslogtreecommitdiffstats
path: root/drivers/iio/proximity/Kconfig
diff options
context:
space:
mode:
authorWaqar Hameed <waqar.hameed@axis.com>2023-07-19 09:51:17 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2023-07-23 13:21:54 +0100
commit3db3562bc66e6904cfc271bb45b13a26e720a5a9 (patch)
tree79406a8745bddd95541d08df318ece11578eed93 /drivers/iio/proximity/Kconfig
parent5e1cd3e97e8673d7e3d61e3060cbae83c6e65757 (diff)
downloadlinux-3db3562bc66e6904cfc271bb45b13a26e720a5a9.tar.gz
linux-3db3562bc66e6904cfc271bb45b13a26e720a5a9.tar.bz2
linux-3db3562bc66e6904cfc271bb45b13a26e720a5a9.zip
iio: Add driver for Murata IRS-D200
Murata IRS-D200 is a PIR sensor for human detection. It has support for raw data measurements and detection event notification. Add a driver with support for triggered buffer and events. Map the various settings to the `iio` framework, e.g. threshold values, sampling frequency, filter frequencies etc. Signed-off-by: Waqar Hameed <waqar.hameed@axis.com> Link: https://lore.kernel.org/r/d218a1bc75402b5ebd6e12a563f7315f83fe966c.1689753076.git.waqar.hameed@axis.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/proximity/Kconfig')
-rw-r--r--drivers/iio/proximity/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/iio/proximity/Kconfig b/drivers/iio/proximity/Kconfig
index 0e5c17530b8b..2ca3b0bc5eba 100644
--- a/drivers/iio/proximity/Kconfig
+++ b/drivers/iio/proximity/Kconfig
@@ -32,6 +32,18 @@ config CROS_EC_MKBP_PROXIMITY
To compile this driver as a module, choose M here: the
module will be called cros_ec_mkbp_proximity.
+config IRSD200
+ tristate "Murata IRS-D200 PIR sensor"
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
+ select REGMAP_I2C
+ depends on I2C
+ help
+ Say Y here to build a driver for the Murata IRS-D200 PIR sensor.
+
+ To compile this driver as a module, choose M here: the module will be
+ called irsd200.
+
config ISL29501
tristate "Intersil ISL29501 Time Of Flight sensor"
depends on I2C