Re: [PATCH v5 2/4] dt-bindings: iio: flow: add Sensirion SLF3S liquid flow sensor
From: Krzysztof Kozlowski
Date: Sun Jul 19 2026 - 02:19:53 EST
On 14/07/2026 10:53, Wadim Mueller wrote:
> Document the bindings for the Sensirion SLF3S family of digital
> liquid-flow sensors on I2C. The family currently covers the
> SLF3S-0600F, SLF3S-1300F and SLF3S-4000B variants.
>
> All variants share the same register map and are fully detectable
> from the product-information register at probe time, so
> sensirion,slf3s-1300f serves as the fallback compatible for the
> other variants.
>
> The active calibration medium (water / IPA) is runtime-switchable
> via the in_volumeflow_medium sysfs attribute and therefore not a
> DT property.
>
> Signed-off-by: Wadim Mueller <wafgo01@xxxxxxxxx>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
> ---
> .../bindings/iio/flow/sensirion,slf3s.yaml | 58 +++++++++++++++++++
> MAINTAINERS | 7 +++
> 2 files changed, 65 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/iio/flow/sensirion,slf3s.yaml
>
> diff --git a/Documentation/devicetree/bindings/iio/flow/sensirion,slf3s.yaml b/Documentation/devicetree/bindings/iio/flow/sensirion,slf3s.yaml
> new file mode 100644
> index 000000000000..c054a505b75d
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/flow/sensirion,slf3s.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/flow/sensirion,slf3s.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Sensirion SLF3S liquid flow sensor
> +
> +maintainers:
> + - Wadim Mueller <wafgo01@xxxxxxxxx>
> +
> +description:
> + Family of digital liquid-flow sensors from Sensirion with I2C interface. All
> + family members share the same register map; sub-types differ only in the flow
> + scale factor and the calibrated measurement range. The sub-type can be
> + identified from the product-information register.
> +
> +properties:
> + compatible:
> + oneOf:
> + - const: sensirion,slf3s-1300f
> + - items:
> + - enum:
> + - sensirion,slf3s-0600f
> + - sensirion,slf3s-4000b
> + - const: sensirion,slf3s-1300f
This is fine with me, also fine with separate non-compatible compatibles.
Best regards,
Krzysztof