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/accel/bosch,bma180.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/accel/bosch,bma180.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Bosch BMA023 / BMA150/ BMA180 / BMA250 / SMB380 triaxial accelerometers
    8 
    9 maintainers:
   10   - Jonathan Cameron <jic23@kernel.org>
   11 
   12 description: |
   13   https://media.digikey.com/pdf/Data%20Sheets/Bosch/BMA150.pdf
   14   http://omapworld.com/BMA180_111_1002839.pdf
   15   http://ae-bst.resource.bosch.com/media/products/dokumente/bma250/bst-bma250-ds002-05.pdf
   16 
   17 properties:
   18   compatible:
   19     enum:
   20       - bosch,bma023
   21       - bosch,bma150
   22       - bosch,bma180
   23       - bosch,bma250
   24       - bosch,smb380
   25 
   26   reg:
   27     maxItems: 1
   28 
   29   vdd-supply: true
   30 
   31   vddio-supply: true
   32 
   33   interrupts:
   34     minItems: 1
   35     maxItems: 2
   36     description: |
   37       Type should be either IRQ_TYPE_LEVEL_HIGH or IRQ_TYPE_EDGE_RISING.
   38       For the bma250 the first interrupt listed must be the one
   39       connected to the INT1 pin, the second (optional) interrupt
   40       listed must be the one connected to the INT2 pin.
   41 
   42 required:
   43   - compatible
   44   - reg
   45 
   46 additionalProperties: false
   47 
   48 examples:
   49   - |
   50     #include <dt-bindings/interrupt-controller/irq.h>
   51     i2c {
   52         #address-cells = <1>;
   53         #size-cells = <0>;
   54         accel@40 {
   55             compatible = "bosch,bma180";
   56             reg = <0x40>;
   57             interrupt-parent = <&gpio6>;
   58             interrupts = <18 (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING)>;
   59         };
   60     };
   61 ...

Cache object: 29cd3a5d0d9573c9282c0352570f167f


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