Path: blob/master/Documentation/devicetree/bindings/iio/gyroscope/invensense,itg3200.yaml
26309 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/iio/gyroscope/invensense,itg3200.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Invensense ITG-3200 Gyroscope78maintainers:9- Jonathan Cameron <jic23@kernel.org>1011description: |12Triple-axis, digital output gyroscope with a three 16-bit analog-to-digital13converters (ADCs) for digitizing the gyro outputs, a user-selectable internal14low-pass filter bandwidth, and a Fast-Mode I2C.1516properties:17compatible:18const: invensense,itg32001920reg:21maxItems: 12223vdd-supply: true2425vlogic-supply: true2627interrupts:28maxItems: 12930mount-matrix:31description: an optional 3x3 mounting rotation matrix.3233clocks:34maxItems: 13536clock-names:37items:38- const: ext_clock3940required:41- compatible42- reg4344additionalProperties: false4546examples:47- |48#include <dt-bindings/interrupt-controller/irq.h>49i2c {50#address-cells = <1>;51#size-cells = <0>;52gyroscope@68 {53compatible = "invensense,itg3200";54reg = <0x68>;55interrupt-parent = <&gpio2>;56interrupts = <24 IRQ_TYPE_EDGE_FALLING>;57};58};596061