Re: [PATCH v6 2/4] dt-bindings: iio: flow: add Sensirion SLF3S liquid flow sensor
From: Krzysztof Kozlowski
Date: Tue Aug 04 2026 - 02:48:35 EST
On Tue, Jul 28, 2026 at 11:49:41PM +0200, 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 differ only in the flow
> scale factor and the calibrated measurement range, which the driver
> reads back from the product-information register. Since that lookup
> is needed in any case, a fallback compatible would buy nothing, so
> each variant gets its own compatible without a fallback. A future
> drop-in compatible part can then claim one of these compatibles and
> work on kernels that do not know its product ID yet.
>
> 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>
> ---
> .../bindings/iio/flow/sensirion,slf3s.yaml | 55 +++++++++++++++++++
> MAINTAINERS | 7 +++
> 2 files changed, 62 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/iio/flow/sensirion,slf3s.yaml
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
Best regards,
Krzysztof