xref: /linux/Documentation/devicetree/bindings/iio/gyroscope/invensense,itg3200.yaml (revision 0d5ec7919f3747193f051036b2301734a4b5e1d6)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/gyroscope/invensense,itg3200.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Invensense ITG-3200 Gyroscope
8
9maintainers:
10  - Jonathan Cameron <jic23@kernel.org>
11
12description: |
13  Triple-axis, digital output gyroscope with a three 16-bit analog-to-digital
14  converters (ADCs) for digitizing the gyro outputs, a user-selectable internal
15  low-pass filter bandwidth, and a Fast-Mode I2C.
16
17properties:
18  compatible:
19    const: invensense,itg3200
20
21  reg:
22    maxItems: 1
23
24  vdd-supply: true
25
26  vlogic-supply: true
27
28  interrupts:
29    maxItems: 1
30
31  mount-matrix:
32    description: an optional 3x3 mounting rotation matrix.
33
34  clocks:
35    maxItems: 1
36
37  clock-names:
38    items:
39      - const: ext_clock
40
41required:
42  - compatible
43  - reg
44
45additionalProperties: false
46
47examples:
48  - |
49    #include <dt-bindings/interrupt-controller/irq.h>
50    i2c {
51        #address-cells = <1>;
52        #size-cells = <0>;
53        gyroscope@68 {
54            compatible = "invensense,itg3200";
55            reg = <0x68>;
56            interrupt-parent = <&gpio2>;
57            interrupts = <24 IRQ_TYPE_EDGE_FALLING>;
58        };
59    };
60