InvenSense ICM-426xx Inertial Measurement Unit

Schema identifier ($id): "http://devicetree.org/schemas/iio/imu/invensense,icm42600.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>"

6-axis MotionTracking device that combines a 3-axis gyroscope and a 3-axis accelerometer.

It has a configurable host interface that supports I3C, I2C and SPI serial communication, features a 2kB FIFO and 2 programmable interrupts with ultra-low-power wake-on-motion support to minimize system power consumption.

Other industry-leading features include InvenSense on-chip APEX Motion Processing engine for gesture recognition, activity classification, and pedometer, along with programmable digital filters, and an embedded temperature sensor.

https://invensense.tdk.com/wp-content/uploads/2020/03/DS-000292-ICM-42605-v1.4.pdf

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "invensense,icm42600", "invensense,icm42602", "invensense,icm42605", "invensense,icm42622", "invensense,icm42631", "invensense,icm42686", "invensense,icm42688"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

interrupt-names — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

Array item rules (items) #

Allowed values (enum): "INT1", "INT2"

drive-open-drain — not listed as required here #

Value type (type): "boolean"

vdd-supply — not listed as required here #

Regulator that provides power to the sensor

vddio-supply — not listed as required here #

Regulator that provides power to the bus

spi-cpha — not listed as required here #

true — No constraints added by this property rule.

spi-cpol — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "interrupts"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    icm42605@68 {
        compatible = "invensense,icm42605";
        reg = <0x68>;
        interrupt-parent = <&gpio2>;
        interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
        interrupt-names = "INT1";
        vdd-supply = <&vdd>;
        vddio-supply = <&vddio>;
    };
};
#include <dt-bindings/interrupt-controller/irq.h>
spi {
    #address-cells = <1>;
    #size-cells = <0>;

    icm42602@0 {
        compatible = "invensense,icm42602";
        reg = <0>;
        spi-max-frequency = <24000000>;
        spi-cpha;
        spi-cpol;
        interrupt-parent = <&gpio1>;
        interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
        interrupt-names = "INT1";
        vdd-supply = <&vdd>;
        vddio-supply = <&vddio>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page