summaryrefslogtreecommitdiff
path: root/drivers/iio/proximity/Makefile
diff options
context:
space:
mode:
authorIvan Mikhaylov <i.mikhaylov@yadro.com>2020-05-10 21:45:37 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-05-21 21:12:42 +0300
commitac101e6b315bfeb5a4f43a962f589e567855c177 (patch)
tree7a48a3bad5ae66cab956f97265ef720f7dab9a45 /drivers/iio/proximity/Makefile
parent9ecd11812e384c21e12dad05972ac9332fceece0 (diff)
downloadlinux-ac101e6b315bfeb5a4f43a962f589e567855c177.tar.xz
iio: proximity: Add driver support for vcnl3020 proximity sensor
Proximity sensor driver based on light/vcnl4000.c code. For now supports only the single on-demand measurement. The VCNL3020 is a fully integrated proximity sensor. Fully integrated means that the infrared emitter is included in the package. It has 16-bit resolution. It includes a signal processing IC and features standard I2C communication interface. It features an interrupt function. Datasheet: http://www.vishay.com/docs/84150/vcnl3020.pdf Signed-off-by: Ivan Mikhaylov <i.mikhaylov@yadro.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/proximity/Makefile')
-rw-r--r--drivers/iio/proximity/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/proximity/Makefile b/drivers/iio/proximity/Makefile
index 25e5a04da101..9c1aca1a8b79 100644
--- a/drivers/iio/proximity/Makefile
+++ b/drivers/iio/proximity/Makefile
@@ -14,5 +14,6 @@ obj-$(CONFIG_SRF04) += srf04.o
obj-$(CONFIG_SRF08) += srf08.o
obj-$(CONFIG_SX9310) += sx9310.o
obj-$(CONFIG_SX9500) += sx9500.o
+obj-$(CONFIG_VCNL3020) += vcnl3020.o
obj-$(CONFIG_VL53L0X_I2C) += vl53l0x-i2c.o