Path: blob/master/Documentation/devicetree/bindings/iio/imu/invensense,icm42600.yaml
29539 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/iio/imu/invensense,icm42600.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: InvenSense ICM-426xx Inertial Measurement Unit78maintainers:9- Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>1011description: |126-axis MotionTracking device that combines a 3-axis gyroscope and a 3-axis13accelerometer.1415It has a configurable host interface that supports I3C, I2C and SPI serial16communication, features a 2kB FIFO and 2 programmable interrupts with17ultra-low-power wake-on-motion support to minimize system power consumption.1819Other industry-leading features include InvenSense on-chip APEX Motion20Processing engine for gesture recognition, activity classification, and21pedometer, along with programmable digital filters, and an embedded22temperature sensor.2324https://invensense.tdk.com/wp-content/uploads/2020/03/DS-000292-ICM-42605-v1.4.pdf2526properties:27compatible:28enum:29- invensense,icm4260030- invensense,icm4260231- invensense,icm4260532- invensense,icm4262233- invensense,icm4263134- invensense,icm4268635- invensense,icm426883637reg:38maxItems: 13940interrupts:41minItems: 142maxItems: 24344interrupt-names:45minItems: 146maxItems: 247items:48enum:49- INT150- INT25152drive-open-drain:53type: boolean5455vdd-supply:56description: Regulator that provides power to the sensor5758vddio-supply:59description: Regulator that provides power to the bus6061spi-cpha: true62spi-cpol: true6364required:65- compatible66- reg67- interrupts6869allOf:70- $ref: /schemas/spi/spi-peripheral-props.yaml#7172unevaluatedProperties: false7374examples:75- |76#include <dt-bindings/interrupt-controller/irq.h>77i2c {78#address-cells = <1>;79#size-cells = <0>;8081icm42605@68 {82compatible = "invensense,icm42605";83reg = <0x68>;84interrupt-parent = <&gpio2>;85interrupts = <7 IRQ_TYPE_EDGE_FALLING>;86interrupt-names = "INT1";87vdd-supply = <&vdd>;88vddio-supply = <&vddio>;89};90};91- |92#include <dt-bindings/interrupt-controller/irq.h>93spi {94#address-cells = <1>;95#size-cells = <0>;9697icm42602@0 {98compatible = "invensense,icm42602";99reg = <0>;100spi-max-frequency = <24000000>;101spi-cpha;102spi-cpol;103interrupt-parent = <&gpio1>;104interrupts = <2 IRQ_TYPE_EDGE_FALLING>;105interrupt-names = "INT1";106vdd-supply = <&vdd>;107vddio-supply = <&vddio>;108};109};110111112