]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit53073c4f27de385f49535ceb21f8dda8b7fddadd
treeeae39b13bfb5fe65710da318365cf8c42cda7168
parente9c5ea4029fdd52251ef0b02ca8673b1059ecd4b
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]