The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/iio/gyroscope/invensense,mpu3050.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 Invensense MPU-3050 Gyroscope device tree bindings
    2 
    3 Required properties:
    4   - compatible : should be "invensense,mpu3050"
    5   - reg : the I2C address of the sensor
    6 
    7 Optional properties:
    8   - interrupts : interrupt mapping for the trigger interrupt from the
    9     internal oscillator. The following IRQ modes are supported:
   10     IRQ_TYPE_EDGE_RISING, IRQ_TYPE_EDGE_FALLING, IRQ_TYPE_LEVEL_HIGH and
   11     IRQ_TYPE_LEVEL_LOW. The driver should detect and configure the hardware
   12     for the desired interrupt type.
   13   - vdd-supply : supply regulator for the main power voltage.
   14   - vlogic-supply : supply regulator for the signal voltage.
   15   - mount-matrix : see iio/mount-matrix.txt
   16 
   17 Optional subnodes:
   18   - The MPU-3050 will pass through and forward the I2C signals from the
   19     incoming I2C bus, alternatively drive traffic to a slave device (usually
   20     an accelerometer) on its own initiative. Therefore is supports a subnode
   21     i2c gate node. For details see: i2c/i2c-gate.txt
   22 
   23 Example:
   24 
   25 mpu3050@68 {
   26         compatible = "invensense,mpu3050";
   27         reg = <0x68>;
   28         interrupt-parent = <&foo>;
   29         interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
   30         vdd-supply = <&bar>;
   31         vlogic-supply = <&baz>;
   32 
   33         /* External I2C interface */
   34         i2c-gate {
   35                 #address-cells = <1>;
   36                 #size-cells = <0>;
   37 
   38                 fnord@18 {
   39                         compatible = "fnord";
   40                         reg = <0x18>;
   41                         interrupt-parent = <&foo>;
   42                         interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
   43                 };
   44         };
   45 };

Cache object: 4ad7c8e389cd05110afe434dc008cd68


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.