Commit 3db3562b authored by Waqar Hameed's avatar Waqar Hameed Committed by Jonathan Cameron
Browse files

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: default avatarWaqar Hameed <waqar.hameed@axis.com>
Link: https://lore.kernel.org/r/d218a1bc75402b5ebd6e12a563f7315f83fe966c.1689753076.git.waqar.hameed@axis.com


Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 5e1cd3e9
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -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
+1 −0
Original line number Diff line number Diff line
@@ -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
+958 −0

File added.

Preview size limit exceeded, changes collapsed.