From: Jonathan Cameron <jic23@kernel.org>
To: Kanak Shilledar <Kanak.Shilledar@axis.com>
Cc: "marcelo.schmitt1@gmail.com" <marcelo.schmitt1@gmail.com>,
"Jean-Baptiste.Maneyrol@tdk.com" <Jean-Baptiste.Maneyrol@tdk.com>,
"krzk@kernel.org" <krzk@kernel.org>,
"joshua.crofts1@gmail.com" <joshua.crofts1@gmail.com>,
"dlechner@baylibre.com" <dlechner@baylibre.com>,
"linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>,
"nuno.sa@analog.com" <nuno.sa@analog.com>,
Henrik Grimler <Henrik.Grimler@axis.com>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"robh@kernel.org" <robh@kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"andy@kernel.org" <andy@kernel.org>, Kernel <Kernel@axis.com>,
"macromorgan@hotmail.com" <macromorgan@hotmail.com>,
"conor+dt@kernel.org" <conor+dt@kernel.org>,
"krzk+dt@kernel.org" <krzk+dt@kernel.org>
Subject: Re: [PATCH v6 1/6] dt-bindings: iio: imu: icm42600: Add ICM-42670-P
Date: Sun, 18 Oct 2026 03:41:34 +0100 [thread overview]
Message-ID: <20261018034134.2bf170a0@jic23-hlaptop> (raw)
In-Reply-To: <1804b94e69b11377a912ab82dd00303cf0f60e8b.camel@axis.com>
On Fri, 16 Oct 2026 07:18:49 +0000
Kanak Shilledar <Kanak.Shilledar@axis.com> wrote:
> Hi,
> > > >
> [...]
> > > > That's misleading or confusing. Either the device works or does
> > > > not
> > > > without interrupt hooked up. Consult hardware datasheet if in
> > > > doubts.
> > > >
> > > > Driver support is different thing here and you cannot make it
> > > > required
> > > > later, because that would be unjustified ABI break.
> > >
> > > I looked into icm42605 data sheet and saw no clear statement about
> > > the interrupts
> > > being required. The timing diagrams only show protocol specific
> > > lines and it
> > > looks like the interrupt sources can even be disabled (not routed
> > > out to any
> > > interrupt pin). Maybe I'm missing something and the interrupts are
> > > required for
> > > some sort of reset function or so? Otherwise, I don't see how the
> > > interrupts are
> > > required.
> > >
> > > Kanak, do you have access to any of those other chips to test
> > > whether they work
> > > without interrupts? If possible, can you also check the data sheets
> > > for the other
> > > parts besides icm42370p and icm42605?
> > >
> > > Maybe
> > > - if:
> > > properties:
> > > compatible:
> > > contains:
> > > enum:
> > > - invensense,icm42600
> > > - invensense,icm42602
> > > - invensense,icm42605
> > > - invensense,icm42622
> > > - invensense,icm42631
> > > - invensense,icm42686
> > > - invensense,icm42688
> > > then:
> > > required:
> > > - interrupts
> > > was a documentation mistake?
> > >
> > > With best regards,
> > > Marcelo
> > >
> > >
> >
> > Hello,
> >
> > I can confirm that all icm426xx chips can work without interrupt by
> > just polling
> > the data.
> >
> > Interrupts were declared as required at the time only because the
> > driver doesn't
> > work without interrupt (probe will fails).
> >
> > Hardware speaking only, this is indeed a documentation mistake.
>
> Thank you for confirming the requirement for interrupts. I will cleanup
> the documentation in a separate commit not part of this series and the
> driver should be updated to not fail if the interrupt property is
> absent in the devicetree.
Two different things.
1) Update the DT to reflect hardware requirements and it is vanishingly
rare for an IIO part to require interrupts. The only case I can
immediately think is comparators which don't have any other interface.
2) Possibly update the driver to support polling. Not a requirement as
we can choose not to support particular DT in a driver - that has
nothing to do with the binding which is documenting the hardware.
I'd put 1 as a precursor patch in your series simply because otherwise
we will get some fuzz due to stuff moving in the binding + maybe
forget to tidy this up!
Jonathan
>
> Best Regards,
> Kanak Shilledar
>
next prev parent reply other threads:[~2026-10-18 2:41 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-09 14:12 [PATCH v6 0/6] Add support for InvenSense ICM-42370-P accelerometer Kanak Shilledar
2026-10-09 14:12 ` [PATCH v6 1/6] dt-bindings: iio: imu: icm42600: Add ICM-42670-P Kanak Shilledar
2026-10-12 8:58 ` Krzysztof Kozlowski
2026-10-12 10:43 ` Kanak Shilledar
2026-10-12 10:46 ` Krzysztof Kozlowski
2026-10-12 22:03 ` Marcelo Schmitt
2026-10-13 7:42 ` Jean-Baptiste Maneyrol
2026-10-16 7:18 ` Kanak Shilledar
2026-10-18 2:41 ` Jonathan Cameron [this message]
2026-10-09 14:12 ` [PATCH v6 2/6] iio: imu: inv_icm42607: Simplify IIO channel macros Kanak Shilledar
2026-10-09 14:12 ` [PATCH v6 3/6] iio: imu: inv_icm42607: Initialize gyro based on chip_info Kanak Shilledar
2026-10-09 14:24 ` sashiko-bot
2026-10-12 21:48 ` Marcelo Schmitt
2026-10-13 6:48 ` Andy Shevchenko
2026-10-09 14:12 ` [PATCH v6 4/6] iio: imu: inv_icm42607: Add support for ICM-42370-P Kanak Shilledar
2026-10-09 14:12 ` [PATCH v6 5/6] iio: imu: inv_icm42607: Implement MREGx register access Kanak Shilledar
2026-10-09 14:24 ` sashiko-bot
2026-10-18 2:52 ` Jonathan Cameron
2026-10-09 14:12 ` [PATCH v6 6/6] iio: imu: inv_icm42607: Add accelerometer calibbias support Kanak Shilledar
2026-10-12 21:55 ` Marcelo Schmitt
2026-10-18 3:01 ` Jonathan Cameron
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=20261018034134.2bf170a0@jic23-hlaptop \
--to=jic23@kernel.org \
--cc=Henrik.Grimler@axis.com \
--cc=Jean-Baptiste.Maneyrol@tdk.com \
--cc=Kanak.Shilledar@axis.com \
--cc=Kernel@axis.com \
--cc=andy@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlechner@baylibre.com \
--cc=joshua.crofts1@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=macromorgan@hotmail.com \
--cc=marcelo.schmitt1@gmail.com \
--cc=nuno.sa@analog.com \
--cc=robh@kernel.org \
/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