From: sashiko-bot@kernel.org
To: "Kanak Shilledar" <kanak.shilledar@axis.com>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH v5 1/6] dt-bindings: iio: imu: icm42600: Add ICM-42670-P
Date: Fri, 02 Oct 2026 12:01:52 +0000 [thread overview]
Message-ID: <20261002120152.86BAB1F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20261002-b4-inv_icm42370p-v5-1-c65281b745c9@axis.com>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] dt-bindings: commit message incorrectly references 'ICM-42670-P' instead of 'ICM-42370-P'
- [Medium] dt-bindings: incorrectly mandates 'interrupts' property for icm42370p
--
commit b386c122ed876ee19ff8c304b5e2727ae3a6b215
Author: Kanak Shilledar <kanak.shilledar@axis.com>
dt-bindings: iio: imu: icm42600: Add ICM-42670-P
This commit adds support for a 3-axis accelerometer to the existing
invensense,icm42600 device tree binding. It updates the device description
and introduces a new compatible string.
> dt-bindings: iio: imu: icm42600: Add ICM-42670-P
>
> TDK Invensense, ICM-42670-P is a 3-axis accelerometer. The device can
> support I2C, SPI and I3C. This device has very similar properties as
> that of the icm42607/p. Add this device to the existing dt-binding and
> update the description to match the devices.
>
> Datasheet: https://www.invensense.tdk.com/en-us/products/3-axis/icm-42370-p
[Severity: Medium]
Is there a mismatch between the device name in the commit message and the
actual hardware supported? The subject and body mention ICM-42670-P, but
the datasheet link and the added compatible string use icm42370p.
> diff --git a/Documentation/devicetree/bindings/iio/imu/invensense,icm42600.yaml b/Documentation/devicetree/bindings/iio/imu/invensense,icm42600.yaml
> --- a/Documentation/devicetree/bindings/iio/imu/invensense,icm42600.yaml
> +++ b/Documentation/devicetree/bindings/iio/imu/invensense,icm42600.yaml
[ ... ]
> @@ -81,6 +82,7 @@ allOf:
> compatible:
> contains:
> enum:
> + - invensense,icm42370p
> - invensense,icm42600
> - invensense,icm42602
> - invensense,icm42605
[Severity: Medium]
Does adding the compatible string to this specific conditional block
incorrectly mandate the interrupts property for this device?
Device tree schema validation will falsely reject valid hardware
configurations that omit the interrupt line, preventing dtbs_check from
passing for those setups. Since the driver can operate in a polling-based
model for raw reads, it seems an interrupt might not be strictly required,
similar to the icm42607/p which was intentionally omitted from this block.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261002-b4-inv_icm42370p-v5-0-c65281b745c9@axis.com?part=1
next prev parent reply other threads:[~2026-10-02 12:01 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-02 11:54 [PATCH v5 0/6] Add support for InvenSense ICM-42370-P accelerometer Kanak Shilledar
2026-10-02 11:54 ` [PATCH v5 1/6] dt-bindings: iio: imu: icm42600: Add ICM-42670-P Kanak Shilledar
2026-10-02 12:01 ` sashiko-bot [this message]
2026-10-02 17:11 ` Conor Dooley
2026-10-02 17:11 ` Conor Dooley
2026-10-02 11:54 ` [PATCH v5 2/6] iio: imu: inv_icm42607: Simplify IIO channel macros Kanak Shilledar
2026-10-05 0:25 ` Marcelo Schmitt
2026-10-02 11:54 ` [PATCH v5 3/6] iio: imu: inv_icm42607: Initialize gyro based on chip_info Kanak Shilledar
2026-10-02 13:03 ` Andy Shevchenko
2026-10-05 0:39 ` Marcelo Schmitt
2026-10-02 11:54 ` [PATCH v5 4/6] iio: imu: inv_icm42607: Add support for ICM-42370-P Kanak Shilledar
2026-10-02 13:04 ` Andy Shevchenko
2026-10-05 0:43 ` Marcelo Schmitt
2026-10-02 11:54 ` [PATCH v5 5/6] iio: imu: inv_icm42607: Implement MREGx register access Kanak Shilledar
2026-10-02 12:03 ` sashiko-bot
2026-10-02 13:12 ` Andy Shevchenko
2026-10-02 14:25 ` Kanak Shilledar
2026-10-03 15:02 ` andriy.shevchenko
2026-10-05 15:02 ` Kanak Shilledar
2026-10-02 11:54 ` [PATCH v5 6/6] iio: imu: inv_icm42607: Add accelerometer calibbias support Kanak Shilledar
2026-10-02 13:18 ` Andy Shevchenko
2026-10-02 14:03 ` Kanak Shilledar
2026-10-03 14:57 ` andriy.shevchenko
2026-10-05 0:51 ` Marcelo Schmitt
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=20261002120152.86BAB1F000FF@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=kanak.shilledar@axis.com \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox