summaryrefslogtreecommitdiff
path: root/drivers/iio/proximity/Makefile
diff options
context:
space:
mode:
authorSong Qiang <songqiang1304521@gmail.com>2018-09-18 16:24:21 +0800
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-09-22 16:42:56 +0100
commit6eb17c6c8aee233e27339bcefe4bf9bef6d94c6c (patch)
treec5f5c98a80e5b619966f8d08ec0b278c73718bf8 /drivers/iio/proximity/Makefile
parent7c2d53700c7e0ca4b7d1bfd59971248625e9f70c (diff)
iio: proximity: Add driver support for ST's VL53L0X ToF ranging sensor.
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>
Diffstat (limited to 'drivers/iio/proximity/Makefile')
-rw-r--r--drivers/iio/proximity/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iio/proximity/Makefile b/drivers/iio/proximity/Makefile
index cac3d7d3325e..6d031f903c4c 100644
--- a/drivers/iio/proximity/Makefile
+++ b/drivers/iio/proximity/Makefile
@@ -11,3 +11,5 @@ 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
+