mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
iio: proximity: add driver for ST VL53L1X ToF sensor
Add support for the STMicroelectronics VL53L1X Time-of-Flight ranging sensor with I2C interface. Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Siratul Islam <email@sirat.me> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
committed by
Jonathan Cameron
parent
2c9225e8d2
commit
128e5ebec8
@@ -25110,6 +25110,7 @@ M: Siratul Islam <email@sirat.me>
|
||||
L: linux-iio@vger.kernel.org
|
||||
S: Maintained
|
||||
F: Documentation/devicetree/bindings/iio/proximity/st,vl53l0x.yaml
|
||||
F: drivers/iio/proximity/vl53l1x-i2c.c
|
||||
|
||||
STABLE BRANCH
|
||||
M: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
||||
|
||||
@@ -244,6 +244,21 @@ config VL53L0X_I2C
|
||||
To compile this driver as a module, choose M here: the
|
||||
module will be called vl53l0x-i2c.
|
||||
|
||||
config VL53L1X_I2C
|
||||
tristate "STMicroelectronics VL53L1X ToF ranger sensor (I2C)"
|
||||
depends on I2C
|
||||
select IIO_BUFFER
|
||||
select IIO_TRIGGERED_BUFFER
|
||||
select REGMAP_I2C
|
||||
select RESET_CONTROLLER
|
||||
help
|
||||
Say Y here to build a driver for STMicroelectronics VL53L1X
|
||||
ToF ranger sensors with i2c interface.
|
||||
This driver can be used to measure the distance of objects.
|
||||
|
||||
To compile this driver as a module, choose M here: the
|
||||
module will be called vl53l1x-i2c.
|
||||
|
||||
config AW96103
|
||||
tristate "AW96103/AW96105 Awinic proximity sensor"
|
||||
select REGMAP_I2C
|
||||
|
||||
@@ -23,5 +23,6 @@ obj-$(CONFIG_SX_COMMON) += sx_common.o
|
||||
obj-$(CONFIG_SX9500) += sx9500.o
|
||||
obj-$(CONFIG_VCNL3020) += vcnl3020.o
|
||||
obj-$(CONFIG_VL53L0X_I2C) += vl53l0x-i2c.o
|
||||
obj-$(CONFIG_VL53L1X_I2C) += vl53l1x-i2c.o
|
||||
obj-$(CONFIG_AW96103) += aw96103.o
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user