1# Copyright (c) 2023 Prosaris Solutions Inc.
2# SPDX-License-Identifier: Apache-2.0
3
4description: STMicroelectronics VL53L1X Time of Flight sensor
5
6compatible: "st,vl53l1x"
7
8include: [sensor-device.yaml, i2c-device.yaml]
9
10properties:
11  xshut-gpios:
12    type: phandle-array
13    description: |
14      Driving the XSHUT pin low puts the VL53L1X into hardware
15      standby (if VDD is present) or complete power off (if
16      VDD is not present). Additionally, if XSHUT is connected
17      directly to VDD, the sensor will go into boot mode on a
18      transition from LOW to HIGH.
19
20  int-gpios:
21    type: phandle-array
22    description: |
23      An interrupt is raised when a distance measurement is ready.
24      GPIO1 is the interrupt pin on the VL53L1X (active low). This
25      can be disabled if the user prefers to use polling instead.
26