Re: [PATCH v6 2/4] dt-bindings: iio: flow: add Sensirion SLF3S liquid flow sensor
Krzysztof Kozlowski <[email protected]> Tue, 4 Aug 2026 08:43:45 +0200
| Newsgroups | org.kernel.vger.linux-devicetree,org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <20260804-dashing-walrus-of-sunshine-ee0a4a@quoll> |
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 <[email protected]> > --- > .../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 <[email protected]> Best regards, Krzysztof