From: sashiko-bot@kernel.org
To: "Kanak Shilledar" <kanak.shilledar@axis.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v3 1/8] dt-bindings: Add InvenSense ICM-42370-p accelerometer
Date: Tue, 01 Sep 2026 14:42:13 +0000 [thread overview]
Message-ID: <20260901144213.C3E6B1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260901-b4-inv_icm42370p-v3-1-77cc31642115@axis.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The schema includes SPI properties and unconditionally references the SPI peripheral schema, directly contradicting the commit message which states only I2C support is being added.
--
commit df5e4c67004b6299d9c5cce9f57c0acaa91c89bb
Author: Kanak Shilledar <kanak.shilledar@axis.com>
dt-bindings: Add InvenSense ICM-42370-p accelerometer
This commit adds the devicetree binding documentation for the InvenSense
ICM42370P 3-axis accelerometer. The commit message explicitly states that
only I2C support is being added, leaving SPI and I3C for future work.
> diff --git a/Documentation/devicetree/bindings/iio/accel/invensense,icm42370p.yaml b/Documentation/devicetree/bindings/iio/accel/invensense,icm42370p.yaml
> new file mode 100644
> index 0000000000000..d519dc7e63dd0
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/accel/invensense,icm42370p.yaml
[ ... ]
> + vddio-supply:
> + description: Regulator operating range between 1.71V to 3.6V.
> +
> + spi-cpha: true
> + spi-cpol: true
[Severity: Medium]
The commit message states that only I2C support is being added and leaves
other protocols for future work. Are these SPI-specific properties intended
to be explicitly permitted here despite the stated omission of SPI support?
> +
> +required:
> + - compatible
> + - reg
> + - interrupts
> + - vdd-supply
> + - vddio-supply
> +
> +allOf:
> + - $ref: /schemas/spi/spi-peripheral-props.yaml#
[Severity: Medium]
Does unconditionally referencing the SPI peripheral schema here allow invalid
device tree configurations to silently pass validation? Since the binding is
currently scoped to I2C, this might inadvertently allow I2C nodes to define
SPI-specific properties without causing validation errors.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260901-b4-inv_icm42370p-v3-0-77cc31642115@axis.com?part=1
next prev parent reply other threads:[~2026-09-01 14:42 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-01 14:35 [PATCH v3 0/8] Add support for InvenSense ICM-42370-P accelerometer Kanak Shilledar
2026-09-01 14:35 ` [PATCH v3 1/8] dt-bindings: Add InvenSense ICM-42370-p accelerometer Kanak Shilledar
2026-09-01 14:42 ` sashiko-bot [this message]
2026-09-01 14:35 ` [PATCH v3 2/8] iio: imu: inv_icm42607: Update IIO channel macros Kanak Shilledar
2026-09-01 14:35 ` [PATCH v3 3/8] iio: imu: inv_icm42607: Update _odr_to_period_us formatting Kanak Shilledar
2026-09-01 14:35 ` [PATCH v3 4/8] iio: imu: inv_icm42607: Switch to little endian Kanak Shilledar
2026-09-01 14:35 ` [PATCH v3 5/8] iio: imu: inv_icm42607: Add support for ICM-42370-P Kanak Shilledar
2026-09-01 14:35 ` [PATCH v3 6/8] iio: imu: inv_icm42607: Implement MREGx register access Kanak Shilledar
2026-09-01 14:47 ` sashiko-bot
2026-09-01 14:36 ` [PATCH v3 7/8] iio: imu: inv_icm42607: Add accelerometer calibbias support Kanak Shilledar
2026-09-01 14:49 ` sashiko-bot
2026-09-01 14:36 ` [PATCH v3 8/8] iio: imu: inv_icm42607: Add gyroscope " Kanak Shilledar
2026-09-02 5:30 ` [PATCH v3 0/8] Add support for InvenSense ICM-42370-P accelerometer Andy Shevchenko
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=20260901144213.C3E6B1F000E9@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