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/pressure/bmp085.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
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/iio/pressure/bmp085.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: BMP085/BMP180/BMP280/BME280 pressure iio sensors
    8 
    9 maintainers:
   10   - Andreas Klinger <ak@it-klinger.de>
   11 
   12 description: |
   13   Pressure, temperature and humidity iio sensors with i2c and spi interfaces
   14 
   15   Specifications about the sensor can be found at:
   16     https://www.bosch-sensortec.com/bst/products/all_products/bmp180
   17     https://www.bosch-sensortec.com/bst/products/all_products/bmp280
   18     https://www.bosch-sensortec.com/bst/products/all_products/bme280
   19 
   20 properties:
   21   compatible:
   22     enum:
   23       - bosch,bmp085
   24       - bosch,bmp180
   25       - bosch,bmp280
   26       - bosch,bme280
   27 
   28   reg:
   29     maxItems: 1
   30 
   31   vddd-supply:
   32     description:
   33       digital voltage regulator (see regulator/regulator.txt)
   34 
   35   vdda-supply:
   36     description:
   37       analog voltage regulator (see regulator/regulator.txt)
   38 
   39   reset-gpios:
   40     description:
   41       A GPIO line handling reset of the sensor. As the line is active low,
   42       it should be marked GPIO_ACTIVE_LOW (see gpio/gpio.txt)
   43     maxItems: 1
   44 
   45   interrupts:
   46     description:
   47       interrupt mapping for IRQ (BMP085 only)
   48     maxItems: 1
   49 
   50 required:
   51   - compatible
   52   - vddd-supply
   53   - vdda-supply
   54 
   55 additionalProperties: false
   56 
   57 examples:
   58   - |
   59     #include <dt-bindings/gpio/gpio.h>
   60     #include <dt-bindings/interrupt-controller/irq.h>
   61     i2c0 {
   62       #address-cells = <1>;
   63       #size-cells = <0>;
   64       pressure@77 {
   65           compatible = "bosch,bmp085";
   66           reg = <0x77>;
   67           interrupt-parent = <&gpio0>;
   68           interrupts = <25 IRQ_TYPE_EDGE_RISING>;
   69           reset-gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
   70           vddd-supply = <&foo>;
   71           vdda-supply = <&bar>;
   72       };
   73     };

Cache object: 184552e2ec0d0062bfe695299dd6749f


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