1# VL53L0X time of flight sensor configuration options
2
3# Copyright (c) 2017 STMicroelectronics
4# SPDX-License-Identifier: Apache-2.0
5
6menuconfig VL53L0X
7	bool "VL53L0X time of flight sensor"
8	default y
9	depends on DT_HAS_ST_VL53L0X_ENABLED
10	select I2C
11	select HAS_STLIB
12	help
13	  Enable driver for VL53L0X I2C-based time of flight sensor.
14
15config VL53L0X_PROXIMITY_THRESHOLD
16	int "Proximity threshold in millimeters"
17	default 100
18	depends on VL53L0X
19	help
20	  Threshold used for proximity detection when sensor is used with SENSOR_CHAN_PROX.
21
22config VL53L0X_RECONFIGURE_ADDRESS
23	bool "Support reconfigurable sensor address"
24	depends on VL53L0X
25	help
26	  Enable support for reconfiguring the sensor address at runtime.
27	  When this option is enabled, all sensors declared in the device tree
28	  must have an xshut-gpio property.
29
30	  All sensors are disabled during initialization. When reading the first
31	  value from a sensor, it is powered up and its I2C address is reconfigured
32	  from the manufacturer default (0x29) to the address specified in the
33	  device tree.
34