mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-14 14:34:28 +08:00
6eb17c6c8a
This driver was originally written by ST in 2016 as a misc input device driver, and hasn't been maintained for a long time. I grabbed some code from it's API and reformed it into an iio proximity device driver. This version of driver uses i2c bus to talk to the sensor and polling for measuring completes, so no irq line is needed. It can be tested with reading from /sys/bus/iio/devices/iio:deviceX/in_distance_input Signed-off-by: Song Qiang <songqiang1304521@gmail.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
16 lines
450 B
Makefile
16 lines
450 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for IIO proximity sensors
|
|
#
|
|
|
|
# When adding new entries keep the list in alphabetical order
|
|
obj-$(CONFIG_AS3935) += as3935.o
|
|
obj-$(CONFIG_ISL29501) += isl29501.o
|
|
obj-$(CONFIG_LIDAR_LITE_V2) += pulsedlight-lidar-lite-v2.o
|
|
obj-$(CONFIG_RFD77402) += rfd77402.o
|
|
obj-$(CONFIG_SRF04) += srf04.o
|
|
obj-$(CONFIG_SRF08) += srf08.o
|
|
obj-$(CONFIG_SX9500) += sx9500.o
|
|
obj-$(CONFIG_VL53L0X_I2C) += vl53l0x-i2c.o
|
|
|