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/bosch,bmg160.yaml

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 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/iio/gyroscope/bosch,bmg160.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Bosch BMG160 triaxial rotation sensor (gyroscope)
    8 
    9 maintainers:
   10   - H. Nikolaus Schaller <hns@goldelico.com>
   11 
   12 properties:
   13   compatible:
   14     enum:
   15       - bosch,bmg160
   16       - bosch,bmi055_gyro
   17       - bosch,bmi088_gyro
   18 
   19   reg:
   20     maxItems: 1
   21 
   22   vdd-supply: true
   23   vddio-supply: true
   24 
   25   interrupts:
   26     minItems: 1
   27     maxItems: 2
   28     description:
   29       Should be configured with type IRQ_TYPE_EDGE_RISING.
   30       If two interrupts are provided, expected order is INT1 and INT2.
   31 
   32 required:
   33   - compatible
   34   - reg
   35 
   36 additionalProperties: false
   37 
   38 examples:
   39   - |
   40     #include <dt-bindings/interrupt-controller/irq.h>
   41     i2c {
   42         #address-cells = <1>;
   43         #size-cells = <0>;
   44         gyroscope@69 {
   45             compatible = "bosch,bmg160";
   46             reg = <0x69>;
   47             interrupt-parent = <&gpio6>;
   48             interrupts = <18 IRQ_TYPE_EDGE_RISING>;
   49         };
   50     };
   51 ...

Cache object: 64abb5a0bacb79bef0e4f2c17cc1f495


[ 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.