iio: Add SEMTECH SX9310/9311 sensor driver
authorDaniel Campello <campello@chromium.org>
Tue, 10 Mar 2020 20:06:59 +0000 (14:06 -0600)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 21 Mar 2020 10:28:20 +0000 (10:28 +0000)
commit72ad02b15d6367f9897db62313cc69fb0a20ee1f
treeeae39b13bfb5fe65710da318365cf8c42cda7168
parent4bb2b8f94ace32c1e0d94a7dc9f881c44c3a71b8
iio: Add SEMTECH SX9310/9311 sensor driver

Add SEMTECH SX9310/9311 driver.

The device has the following entry points:

Usual frequency:
- sampling_frequency
- sampling_frequency_available

Instant reading of current values for different sensors:
- in_proximity0_raw
- in_proximity1_raw
- in_proximity2_raw
- in_proximity3_comb_raw
and associated events in events/

Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Signed-off-by: Enrico Granata <egranata@chromium.org>
Signed-off-by: Daniel Campello <campello@chromium.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/ABI/testing/sysfs-bus-iio-sx9310 [new file with mode: 0644]
drivers/iio/proximity/Kconfig
drivers/iio/proximity/Makefile
drivers/iio/proximity/sx9310.c [new file with mode: 0644]