Invensense ITG-3200 Gyroscope

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

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

Maintainers (maintainers): "Jonathan Cameron <jic23@kernel.org>"

Triple-axis, digital output gyroscope with a three 16-bit analog-to-digital converters (ADCs) for digitizing the gyro outputs, a user-selectable internal low-pass filter bandwidth, and a Fast-Mode I2C.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "invensense,itg3200"

reg — required here #

Maximum number of items (maxItems): 1

vdd-supply — not listed as required here #

true — No constraints added by this property rule.

vlogic-supply — not listed as required here #

true — No constraints added by this property rule.

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

mount-matrix — not listed as required here #

an optional 3x3 mounting rotation matrix.

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "ext_clock"

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;
    gyroscope@68 {
        compatible = "invensense,itg3200";
        reg = <0x68>;
        interrupt-parent = <&gpio2>;
        interrupts = <24 IRQ_TYPE_EDGE_FALLING>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page