Re: [PATCH 1/3] dt-bindings: iio: proximity: add ST VL53L1X ToF sensor

From: Conor Dooley

Date: Tue Mar 03 2026 - 14:17:12 EST


On Tue, Mar 03, 2026 at 03:02:40PM +0600, Siratul Islam wrote:
> Add device tree binding documentation for the STMicroelectronics
> VL53L1X Time-of-Flight ranging sensor connected via I2C.
>
> Signed-off-by: Siratul Islam <email@xxxxxxxx>
> ---
> .../bindings/iio/proximity/st,vl53l1x.yaml | 49 +++++++++++++++++++
> 1 file changed, 49 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/iio/proximity/st,vl53l1x.yaml
>
> diff --git a/Documentation/devicetree/bindings/iio/proximity/st,vl53l1x.yaml b/Documentation/devicetree/bindings/iio/proximity/st,vl53l1x.yaml
> new file mode 100644
> index 000000000000..1b14063ba344
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/proximity/st,vl53l1x.yaml
> @@ -0,0 +1,49 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/iio/proximity/st,vl53l1x.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: ST VL53L1X ToF ranging sensor
> +
> +maintainers:
> + - Siratul Islam <email@xxxxxxxx>
> +
> +properties:
> + compatible:
> + const: st,vl53l1x
> +
> + reg:
> + maxItems: 1
> +
> + interrupts:
> + maxItems: 1
> +
> + reset-gpios:
> + maxItems: 1
> +
> + vdd-supply: true
> +
> +required:
> + - compatible
> + - reg

Are you sure the supply is not mandatory?

> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/interrupt-controller/irq.h>
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + proximity@29 {
> + compatible = "st,vl53l1x";
> + reg = <0x29>;
> + interrupt-parent = <&gpio>;
> + interrupts = <23 IRQ_TYPE_EDGE_FALLING>;
> + reset-gpios = <&gpio 5 1>;
> + vdd-supply = <&vdd_3v3>;
> + };
> + };
> +...
> --
> 2.53.0
>

Attachment: signature.asc
Description: PGP signature