[PATCH 2/3] dt-bindings: iio: proximity: Add Benewake TF-Luna

From: Vidhu Sarwal via B4 Relay

Date: Mon Oct 19 2026 - 19:18:14 EST


From: Vidhu Sarwal <vidhu.linux@xxxxxxxxx>

Add binding for the Benewake TF-Luna, a single point ToF
LiDAR distance sensor with a range of 0.2 m to 8 m.

The sensor talks either UART or I2C, selected by the level of pin 5 at
power-up. This binding covers the I2C interface. Pin 6 is a data ready
output and is described as an interrupt.

Signed-off-by: Vidhu Sarwal <vidhu.linux@xxxxxxxxx>
---
.../bindings/iio/proximity/benewake,tf-luna.yaml | 58 ++++++++++++++++++++++
MAINTAINERS | 6 +++
2 files changed, 64 insertions(+)

diff --git a/Documentation/devicetree/bindings/iio/proximity/benewake,tf-luna.yaml b/Documentation/devicetree/bindings/iio/proximity/benewake,tf-luna.yaml
new file mode 100644
index 000000000000..cfc3dff58013
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/proximity/benewake,tf-luna.yaml
@@ -0,0 +1,58 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/iio/proximity/benewake,tf-luna.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Benewake TF-Luna LiDAR distance sensor
+
+maintainers:
+ - Vidhu Sarwal <vidhu.linux@xxxxxxxxx>
+
+description: |
+ Single-point time-of-flight LiDAR ranging sensor with a range of 0.2 m to
+ 8 m. The sensor talks either UART or I2C, selected at power-up by the level
+ of pin 5. Pin 5 must be tied to ground for the I2C interface described here.
+
+ Datasheet: https://en.benewake.com/uploadfiles/2025/04/20250430174501874.pdf
+
+properties:
+ compatible:
+ const: benewake,tf-luna
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ description:
+ Data ready output on pin 6. Goes high when a new measurement is
+ available and goes low again once any register has been read.
+ maxItems: 1
+
+ vcc-supply:
+ description: Power supply, 3.7 V to 5.2 V.
+
+required:
+ - compatible
+ - reg
+ - vcc-supply
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/irq.h>
+
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ proximity@10 {
+ compatible = "benewake,tf-luna";
+ reg = <0x10>;
+ vcc-supply = <&reg_5v>;
+ interrupt-parent = <&gpio>;
+ interrupts = <17 IRQ_TYPE_EDGE_RISING>;
+ };
+ };
+...
diff --git a/MAINTAINERS b/MAINTAINERS
index 52024397dc78..24fa7cdf6a57 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -4662,6 +4662,12 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/luisbg/linux-befs.git
F: Documentation/filesystems/befs.rst
F: fs/befs/

+BENEWAKE TF-LUNA LIDAR IIO DRIVER
+M: Vidhu Sarwal <vidhu.linux@xxxxxxxxx>
+L: linux-iio@xxxxxxxxxxxxxxx
+S: Maintained
+F: Documentation/devicetree/bindings/iio/proximity/benewake,tf-luna.yaml
+
BFQ I/O SCHEDULER
M: Yu Kuai <yukuai@xxxxxxx>
L: linux-block@xxxxxxxxxxxxxxx

--
2.53.0