]> git.ipfire.org Git - thirdparty/u-boot.git/blob - Bindings/iio/pressure/rohm,bm1390.yaml
Squashed 'dts/upstream/' content from commit aaba2d45dc2a
[thirdparty/u-boot.git] / Bindings / iio / pressure / rohm,bm1390.yaml
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/iio/pressure/rohm,bm1390.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: ROHM BM1390 pressure sensor
8
9 maintainers:
10 - Matti Vaittinen <mazziesaccount@gmail.com>
11
12 description:
13 BM1390GLV-Z is a pressure sensor which performs internal temperature
14 compensation for the MEMS. Pressure range is from 300 hPa to 1300 hPa
15 and sample averaging and IIR filtering is built in. Temperature
16 measurement is also supported.
17
18 properties:
19 compatible:
20 const: rohm,bm1390glv-z
21
22 reg:
23 maxItems: 1
24
25 interrupts:
26 maxItems: 1
27
28 vdd-supply: true
29
30 required:
31 - compatible
32 - reg
33 - vdd-supply
34
35 additionalProperties: false
36
37 examples:
38 - |
39 #include <dt-bindings/interrupt-controller/irq.h>
40 i2c {
41 #address-cells = <1>;
42 #size-cells = <0>;
43 pressure-sensor@5d {
44 compatible = "rohm,bm1390glv-z";
45 reg = <0x5d>;
46
47 interrupt-parent = <&gpio1>;
48 interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
49
50 vdd-supply = <&vdd>;
51 };
52 };