Skip to content

Commit

Permalink
iio: Add driver for Murata IRS-D200
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
whame authored and jic23 committed Jul 23, 2023
1 parent 5e1cd3e commit 3db3562
Show file tree
Hide file tree
Showing 3 changed files with 971 additions and 0 deletions.
12 changes: 12 additions & 0 deletions drivers/iio/proximity/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions drivers/iio/proximity/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# When adding new entries keep the list in alphabetical order
obj-$(CONFIG_AS3935) += as3935.o
obj-$(CONFIG_CROS_EC_MKBP_PROXIMITY) += cros_ec_mkbp_proximity.o
obj-$(CONFIG_IRSD200) += irsd200.o
obj-$(CONFIG_ISL29501) += isl29501.o
obj-$(CONFIG_LIDAR_LITE_V2) += pulsedlight-lidar-lite-v2.o
obj-$(CONFIG_MB1232) += mb1232.o
Expand Down
Loading

0 comments on commit 3db3562

Please sign in to comment.