Commit 1cdb4c47 authored by Gwendal Grignou's avatar Gwendal Grignou Committed by Jonathan Cameron
Browse files

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: default avatarGwendal Grignou <gwendal@chromium.org>
Reviewed-by: default avatarStephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/20220101203800.290387-2-gwendal@chromium.org


Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent a8ee3b32
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -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
+1 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@ obj-$(CONFIG_SRF04) += srf04.o
obj-$(CONFIG_SRF08)		+= srf08.o
obj-$(CONFIG_SX9310)		+= sx9310.o
obj-$(CONFIG_SX9324)		+= sx9324.o
obj-$(CONFIG_SX9360)		+= sx9360.o
obj-$(CONFIG_SX_COMMON) 	+= sx_common.o
obj-$(CONFIG_SX9500)		+= sx9500.o
obj-$(CONFIG_VCNL3020)		+= vcnl3020.o
+809 −0

File added.

Preview size limit exceeded, changes collapsed.