mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kanak Shilledar <kanak.shilledar@axis.com>
To: "Henrik Grimler" <henrik.grimler@axis.com>,
	"Jonathan Cameron" <jic23@kernel.org>,
	"David Lechner" <dlechner@baylibre.com>,
	"Nuno Sá" <nuno.sa@analog.com>,
	"Andy Shevchenko" <andy@kernel.org>,
	"Rob Herring" <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>,
	"Jean-Baptiste Maneyrol" <jean-baptiste.maneyrol@tdk.com>,
	"Marcelo Schmitt" <marcelo.schmitt1@gmail.com>,
	"Chris Morgan" <macromorgan@hotmail.com>,
	"Joshua Crofts" <crofts@kernel.org>
Cc: Kanak Shilledar <kanak.shilledar@axis.com>, <kernel@axis.com>,
	<linux-iio@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>,
	Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>,
	Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Subject: [PATCH v9 1/7] dt-bindings: iio: imu: icm42600: Drop interrupt requirement
Date: Thu, 12 Nov 2026 15:29:27 +0100	[thread overview]
Message-ID: <20261112-b4-inv_icm42370p-v9-1-875c828a281e@axis.com> (raw)
In-Reply-To: <20261112-b4-inv_icm42370p-v9-0-875c828a281e@axis.com>

The devicetree documentation for the invensense,icm426xx devices was
documented wrongly. As per the discussion in the thread[1], the IMUs can
work in polling mode, making the interrupts as not required.

Fix the dt-binding to not have interrupt property as mandatory. The
driver will need to be fixed to not fail if interrupts are missing from
the device tree. This will be done in a separate patch.

Link: https://lore.kernel.org/linux-iio/20261018034134.2bf170a0@jic23-hlaptop/ [1]
Fixes: 22addefdabdf ("dt-bindings: iio: imu: icm42600: Add icm42607")
Signed-off-by: Kanak Shilledar <kanak.shilledar@axis.com>
---
 .../devicetree/bindings/iio/imu/invensense,icm42600.yaml  | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/Documentation/devicetree/bindings/iio/imu/invensense,icm42600.yaml b/Documentation/devicetree/bindings/iio/imu/invensense,icm42600.yaml
index 9e22b603d47fb..8d16421c6f82e 100644
--- a/Documentation/devicetree/bindings/iio/imu/invensense,icm42600.yaml
+++ b/Documentation/devicetree/bindings/iio/imu/invensense,icm42600.yaml
@@ -76,21 +76,6 @@ required:
 
 allOf:
   - $ref: /schemas/spi/spi-peripheral-props.yaml#
-  - if:
-      properties:
-        compatible:
-          contains:
-            enum:
-              - invensense,icm42600
-              - invensense,icm42602
-              - invensense,icm42605
-              - invensense,icm42622
-              - invensense,icm42631
-              - invensense,icm42686
-              - invensense,icm42688
-    then:
-      required:
-        - interrupts
 
 unevaluatedProperties: false
 

-- 
2.43.0


  reply	other threads:[~2026-11-12 14:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-12 14:29 [PATCH v9 0/7] Add support for InvenSense ICM-42370-P accelerometer Kanak Shilledar
2026-11-12 14:29 ` Kanak Shilledar [this message]
2026-11-12 21:51   ` [PATCH v9 1/7] dt-bindings: iio: imu: icm42600: Drop interrupt requirement Rob Herring (Arm)
2026-11-12 14:29 ` [PATCH v9 2/7] dt-bindings: iio: imu: icm42600: Add ICM-42370-P Kanak Shilledar
2026-11-12 21:48   ` Rob Herring (Arm)
2026-11-12 14:29 ` [PATCH v9 3/7] iio: imu: inv_icm42607: Simplify IIO channel macros Kanak Shilledar
2026-11-12 14:29 ` [PATCH v9 4/7] iio: imu: inv_icm42607: Initialize gyro based on chip_info Kanak Shilledar
2026-11-12 14:29 ` [PATCH v9 5/7] iio: imu: inv_icm42607: Add support for ICM-42370-P Kanak Shilledar
2026-11-12 14:29 ` [PATCH v9 6/7] iio: imu: inv_icm42607: Implement MREGx register access Kanak Shilledar
2026-11-12 14:29 ` [PATCH v9 7/7] iio: imu: inv_icm42607: Add accelerometer calibbias support Kanak Shilledar

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=20261112-b4-inv_icm42370p-v9-1-875c828a281e@axis.com \
    --to=kanak.shilledar@axis.com \
    --cc=andy@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=crofts@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=henrik.grimler@axis.com \
    --cc=jean-baptiste.maneyrol@tdk.com \
    --cc=jic23@kernel.org \
    --cc=jonathan.cameron@oss.qualcomm.com \
    --cc=kernel@axis.com \
    --cc=krzk+dt@kernel.org \
    --cc=krzysztof.kozlowski@oss.qualcomm.com \
    --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

all inboxes | Powered by JetHome®