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

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.orgSigned-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent a8ee3b32
...@@ -145,6 +145,20 @@ config SX9324 ...@@ -145,6 +145,20 @@ config SX9324
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called sx9324. 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 config SX9500
tristate "SX9500 Semtech proximity sensor" tristate "SX9500 Semtech proximity sensor"
select IIO_BUFFER select IIO_BUFFER
......
...@@ -15,6 +15,7 @@ obj-$(CONFIG_SRF04) += srf04.o ...@@ -15,6 +15,7 @@ obj-$(CONFIG_SRF04) += srf04.o
obj-$(CONFIG_SRF08) += srf08.o obj-$(CONFIG_SRF08) += srf08.o
obj-$(CONFIG_SX9310) += sx9310.o obj-$(CONFIG_SX9310) += sx9310.o
obj-$(CONFIG_SX9324) += sx9324.o obj-$(CONFIG_SX9324) += sx9324.o
obj-$(CONFIG_SX9360) += sx9360.o
obj-$(CONFIG_SX_COMMON) += sx_common.o obj-$(CONFIG_SX_COMMON) += sx_common.o
obj-$(CONFIG_SX9500) += sx9500.o obj-$(CONFIG_SX9500) += sx9500.o
obj-$(CONFIG_VCNL3020) += vcnl3020.o obj-$(CONFIG_VCNL3020) += vcnl3020.o
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment