From: sashiko-bot@kernel.org
To: "Wadim Mueller" <wafgo01@gmail.com>
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v6 2/4] dt-bindings: iio: flow: add Sensirion SLF3S liquid flow sensor
Date: Tue, 28 Jul 2026 21:55:39 +0000 [thread overview]
Message-ID: <20260728215539.A86B01F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260728214943.29820-3-wafgo01@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Hardware mismatch: The DT binding documents an `interrupts` property for a 4-pin device that lacks a physical interrupt pin.
--
--- Patch [2]: [PATCH v6 2/4] dt-bindings: iio: flow: add Sensirion SLF3S liquid flow sensor ---
commit 926be8ca8c587fafce9ef5ee2b44bb20052e203d
Author: Wadim Mueller <wafgo01@gmail.com>
dt-bindings: iio: flow: add Sensirion SLF3S liquid flow sensor
This commit documents the device tree bindings for the Sensirion SLF3S family of
digital liquid-flow sensors on I2C. The driver covers multiple variants which
differ only in flow scale factor and calibrated measurement range.
> 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 0000000000000..79718f4f98bd6
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/flow/sensirion,slf3s.yaml
[ ... ]
> +properties:
> + compatible:
> + enum:
> + - sensirion,slf3s-0600f
> + - sensirion,slf3s-1300f
> + - sensirion,slf3s-4000b
> +
> + reg:
> + maxItems: 1
> +
> + vdd-supply: true
> +
> + interrupts:
> + maxItems: 1
[Severity: Low]
Is this interrupts property accurate for the hardware?
The SLF3S sensors are 4-pin devices (VDD, GND, SDA, and SCL) and do not appear
to have a physical interrupt pin. Documenting it here might mislead device tree
authors into configuring phantom interrupts.
> +
> +required:
> + - compatible
> + - reg
> + - vdd-supply
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/interrupt-controller/irq.h>
> +
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + flow-sensor@8 {
> + compatible = "sensirion,slf3s-0600f";
> + reg = <0x08>;
> + vdd-supply = <®_3v3>;
> + interrupt-parent = <&gpio0>;
> + interrupts = <0 IRQ_TYPE_EDGE_RISING>;
[Severity: Low]
Could these interrupt properties be removed from the example, since the
hardware does not have an interrupt pin?
> + };
> + };
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260728214943.29820-1-wafgo01@gmail.com?part=2
next prev parent reply other threads:[~2026-07-28 21:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-28 21:49 [PATCH v6 0/4] iio: flow: Sensirion SLF3S liquid flow sensor Wadim Mueller
2026-07-28 21:49 ` [PATCH v6 1/4] iio: types: add IIO_VOLUMEFLOW channel type Wadim Mueller
2026-07-28 21:49 ` [PATCH v6 2/4] dt-bindings: iio: flow: add Sensirion SLF3S liquid flow sensor Wadim Mueller
2026-07-28 21:55 ` sashiko-bot [this message]
2026-07-28 21:49 ` [PATCH v6 3/4] iio: core: add IIO_VAL_DECIMAL64_FEMTO format type Wadim Mueller
2026-07-28 21:49 ` [PATCH v6 4/4] iio: flow: add Sensirion SLF3S liquid flow sensor driver Wadim Mueller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260728215539.A86B01F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=wafgo01@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.