[PATCH v4 1/5] dt-bindings: Add InvenSense ICM-42370-p accelerometer
From: Kanak Shilledar
Date: Thu Sep 17 2026 - 10:32:35 EST
ICM42370P is a 3-axis accelerometer. The device can support I2C, SPI
and I3C. Add the supporting devicetree documentation for the device.
The device supports VDD and VDDIO operating range of 1.71V to 3.6V.
Signed-off-by: Kanak Shilledar <kanak.shilledar@xxxxxxxx>
---
.../bindings/iio/accel/invensense,icm42370p.yaml | 87 ++++++++++++++++++++++
1 file changed, 87 insertions(+)
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
@@ -0,0 +1,87 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/iio/accel/invensense,icm42370p.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: InvenSense ICM-42370-P Accelerometer
+
+maintainers:
+ - Kanak Shilledar <kanak.shilledar@xxxxxxxx>
+ - Henrik Grimler <henrik.grimler@xxxxxxxx>
+
+description: |
+ 3-axis accelerometer MotionTracking device.
+
+ It supports I3C, I2C and SPI serial communication, has a 2.25kB FIFO
+ and 2 programmable interrupts with low-power wake-on-motion support.
+
+ It also has programmable filters and an embedded temperature sensor.
+
+ https://www.invensense.tdk.com/en-us/products/3-axis/icm-42370-p
+
+properties:
+ compatible:
+ const: invensense,icm42370p
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ minItems: 1
+ maxItems: 2
+
+ interrupt-names:
+ minItems: 1
+ maxItems: 2
+ items:
+ enum:
+ - INT1
+ - INT2
+
+ drive-open-drain:
+ type: boolean
+ description:
+ Whether irq is in open-drain mode. False means push-pull mode.
+
+ mount-matrix: true
+
+ vdd-supply:
+ description: Regulator operating range between 1.71V to 3.6V.
+
+ vddio-supply:
+ description: Regulator operating range between 1.71V to 3.6V.
+
+ spi-cpha: true
+ spi-cpol: true
+
+required:
+ - compatible
+ - reg
+ - interrupts
+ - vdd-supply
+ - vddio-supply
+
+allOf:
+ - $ref: /schemas/spi/spi-peripheral-props.yaml#
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+ #include <dt-bindings/interrupt-controller/irq.h>
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ accelerometer@69 {
+ compatible = "invensense,icm42370p";
+ reg = <0x69>;
+ interrupt-parent = <&gpio1>;
+ interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
+ interrupt-names = "INT1";
+ vdd-supply = <&vdd>;
+ vddio-supply = <&vddio>;
+ };
+ };
--
2.43.0