Path: blob/master/Documentation/devicetree/bindings/iio/gyroscope/invensense,mpu3050.yaml
26309 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/iio/gyroscope/invensense,mpu3050.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Invensense MPU-3050 Gyroscope78maintainers:9- Linus Walleij <linus.walleij@linaro.org>1011properties:12compatible:13const: invensense,mpu30501415reg:16maxItems: 11718vdd-supply: true1920vlogic-supply: true2122interrupts:23maxItems: 124description:25Interrupt mapping for the trigger interrupt from the internal oscillator.2627mount-matrix: true2829i2c-gate:30$ref: /schemas/i2c/i2c-controller.yaml31unevaluatedProperties: false32description: |33The MPU-3050 will pass through and forward the I2C signals from the34incoming I2C bus, alternatively drive traffic to a slave device (usually35an accelerometer) on its own initiative. Therefore is supports an36i2c-gate subnode.3738required:39- compatible40- reg4142additionalProperties: false4344examples:45- |46#include <dt-bindings/interrupt-controller/irq.h>47i2c {48#address-cells = <1>;49#size-cells = <0>;50gyroscope@68 {51compatible = "invensense,mpu3050";52reg = <0x68>;53interrupt-parent = <&foo>;54interrupts = <12 IRQ_TYPE_EDGE_FALLING>;55vdd-supply = <&bar>;56vlogic-supply = <&baz>;5758i2c-gate {59#address-cells = <1>;60#size-cells = <0>;6162magnetometer@c {63compatible = "asahi-kasei,ak8975";64reg = <0x0c>;65};66};67};68};69...707172