~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/iio/pressure/bmp085.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  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/BMP380 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     https://www.bosch-sensortec.com/bst/products/all_products/bmp380
 20     https://www.bosch-sensortec.com/bst/products/all_products/bmp580
 21 
 22 properties:
 23   compatible:
 24     enum:
 25       - bosch,bmp085
 26       - bosch,bmp180
 27       - bosch,bmp280
 28       - bosch,bme280
 29       - bosch,bmp380
 30       - bosch,bmp580
 31 
 32   reg:
 33     maxItems: 1
 34 
 35   vddd-supply:
 36     description:
 37       digital voltage regulator (see regulator/regulator.txt)
 38 
 39   vdda-supply:
 40     description:
 41       analog voltage regulator (see regulator/regulator.txt)
 42 
 43   reset-gpios:
 44     description:
 45       A GPIO line handling reset of the sensor. As the line is active low,
 46       it should be marked GPIO_ACTIVE_LOW (see gpio/gpio.txt)
 47     maxItems: 1
 48 
 49   interrupts:
 50     description:
 51       interrupt mapping for IRQ (BMP085 only)
 52     maxItems: 1
 53 
 54 required:
 55   - compatible
 56   - vddd-supply
 57   - vdda-supply
 58 
 59 additionalProperties: false
 60 
 61 examples:
 62   - |
 63     #include <dt-bindings/gpio/gpio.h>
 64     #include <dt-bindings/interrupt-controller/irq.h>
 65     i2c {
 66         #address-cells = <1>;
 67         #size-cells = <0>;
 68         pressure@77 {
 69             compatible = "bosch,bmp085";
 70             reg = <0x77>;
 71             interrupt-parent = <&gpio0>;
 72             interrupts = <25 IRQ_TYPE_EDGE_RISING>;
 73             reset-gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
 74             vddd-supply = <&foo>;
 75             vdda-supply = <&bar>;
 76         };
 77     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php