[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260111123932.6bf63cdb@jic23-huawei>
Date: Sun, 11 Jan 2026 12:39:32 +0000
From: Jonathan Cameron <jic23@...nel.org>
To: Shrikant Raskar via B4 Relay
<devnull+raskar.shree97.gmail.com@...nel.org>
Cc: raskar.shree97@...il.com, David Lechner <dlechner@...libre.com>, Nuno
Sá <nuno.sa@...log.com>, Andy Shevchenko <andy@...nel.org>,
Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, skhan@...uxfoundation.org,
david.hunter.linux@...il.com, linux-iio@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org, Krzysztof
Kozlowski <krzysztof.kozlowski@....qualcomm.com>
Subject: Re: [PATCH v4 1/4] dt-bindings: iio: proximity: Add RF Digital
RFD77402 ToF sensor
On Thu, 01 Jan 2026 21:47:38 +0530
Shrikant Raskar via B4 Relay <devnull+raskar.shree97.gmail.com@...nel.org> wrote:
> From: Shrikant Raskar <raskar.shree97@...il.com>
>
> The RF Digital RFD77402 is a Time-of-Flight (ToF) proximity and distance
> sensor that provides absolute and highly accurate distance measurements
> from 100 mm up to 2000 mm over an I2C interface. It includes an optional
> interrupt pin that signals when new measurement data is ready.
>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@....qualcomm.com>
> Signed-off-by: Shrikant Raskar <raskar.shree97@...il.com>
Given the first two patches of this series are ready to go and
independent of the last one I'll apply them now.
Applied patches 1 and 2 to the togreg branch of iio.git and pushed out as testing.
Just send the last two in v5.
Thanks,
Jonathan
> ---
> .../bindings/iio/proximity/rfdigital,rfd77402.yaml | 53 ++++++++++++++++++++++
> .../devicetree/bindings/vendor-prefixes.yaml | 2 +
> 2 files changed, 55 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/iio/proximity/rfdigital,rfd77402.yaml b/Documentation/devicetree/bindings/iio/proximity/rfdigital,rfd77402.yaml
> new file mode 100644
> index 000000000000..1ef6326b209e
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/proximity/rfdigital,rfd77402.yaml
> @@ -0,0 +1,53 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/iio/proximity/rfdigital,rfd77402.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: RF Digital RFD77402 ToF sensor
> +
> +maintainers:
> + - Shrikant Raskar <raskar.shree97@...il.com>
> +
> +description:
> + The RF Digital RFD77402 is a Time-of-Flight (ToF) proximity and distance
> + sensor providing up to 200 mm range measurement over an I2C interface.
> +
> +properties:
> + compatible:
> + const: rfdigital,rfd77402
> +
> + reg:
> + maxItems: 1
> +
> + interrupts:
> + maxItems: 1
> + description:
> + Interrupt asserted when a new distance measurement is available.
> +
> + vdd-supply:
> + description: Regulator that provides power to the sensor.
> +
> +required:
> + - compatible
> + - reg
> + - vdd-supply
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/interrupt-controller/irq.h>
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + proximity@4c {
> + compatible = "rfdigital,rfd77402";
> + reg = <0x4c>;
> + vdd-supply = <&vdd_3v3>;
> + interrupt-parent = <&gpio>;
> + interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
> + };
> + };
> +...
> diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
> index c7591b2aec2a..59ac4f0756d9 100644
> --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
> +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
> @@ -1361,6 +1361,8 @@ patternProperties:
> description: Revolution Robotics, Inc. (Revotics)
> "^rex,.*":
> description: iMX6 Rex Project
> + "^rfdigital,.*":
> + description: RF Digital Corporation
> "^richtek,.*":
> description: Richtek Technology Corporation
> "^ricoh,.*":
>
Powered by blists - more mailing lists