xref: /freebsd/sys/contrib/device-tree/Bindings/iio/pressure/rohm,bm1390.yaml (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
1*84943d6fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*84943d6fSEmmanuel Vadot%YAML 1.2
3*84943d6fSEmmanuel Vadot---
4*84943d6fSEmmanuel Vadot$id: http://devicetree.org/schemas/iio/pressure/rohm,bm1390.yaml#
5*84943d6fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*84943d6fSEmmanuel Vadot
7*84943d6fSEmmanuel Vadottitle: ROHM BM1390 pressure sensor
8*84943d6fSEmmanuel Vadot
9*84943d6fSEmmanuel Vadotmaintainers:
10*84943d6fSEmmanuel Vadot  - Matti Vaittinen <mazziesaccount@gmail.com>
11*84943d6fSEmmanuel Vadot
12*84943d6fSEmmanuel Vadotdescription:
13*84943d6fSEmmanuel Vadot  BM1390GLV-Z is a pressure sensor which performs internal temperature
14*84943d6fSEmmanuel Vadot  compensation for the MEMS. Pressure range is from 300 hPa to 1300 hPa
15*84943d6fSEmmanuel Vadot  and sample averaging and IIR filtering is built in. Temperature
16*84943d6fSEmmanuel Vadot  measurement is also supported.
17*84943d6fSEmmanuel Vadot
18*84943d6fSEmmanuel Vadotproperties:
19*84943d6fSEmmanuel Vadot  compatible:
20*84943d6fSEmmanuel Vadot    const: rohm,bm1390glv-z
21*84943d6fSEmmanuel Vadot
22*84943d6fSEmmanuel Vadot  reg:
23*84943d6fSEmmanuel Vadot    maxItems: 1
24*84943d6fSEmmanuel Vadot
25*84943d6fSEmmanuel Vadot  interrupts:
26*84943d6fSEmmanuel Vadot    maxItems: 1
27*84943d6fSEmmanuel Vadot
28*84943d6fSEmmanuel Vadot  vdd-supply: true
29*84943d6fSEmmanuel Vadot
30*84943d6fSEmmanuel Vadotrequired:
31*84943d6fSEmmanuel Vadot  - compatible
32*84943d6fSEmmanuel Vadot  - reg
33*84943d6fSEmmanuel Vadot  - vdd-supply
34*84943d6fSEmmanuel Vadot
35*84943d6fSEmmanuel VadotadditionalProperties: false
36*84943d6fSEmmanuel Vadot
37*84943d6fSEmmanuel Vadotexamples:
38*84943d6fSEmmanuel Vadot  - |
39*84943d6fSEmmanuel Vadot    #include <dt-bindings/interrupt-controller/irq.h>
40*84943d6fSEmmanuel Vadot    i2c {
41*84943d6fSEmmanuel Vadot        #address-cells = <1>;
42*84943d6fSEmmanuel Vadot        #size-cells = <0>;
43*84943d6fSEmmanuel Vadot        pressure-sensor@5d {
44*84943d6fSEmmanuel Vadot            compatible = "rohm,bm1390glv-z";
45*84943d6fSEmmanuel Vadot            reg = <0x5d>;
46*84943d6fSEmmanuel Vadot
47*84943d6fSEmmanuel Vadot            interrupt-parent = <&gpio1>;
48*84943d6fSEmmanuel Vadot            interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
49*84943d6fSEmmanuel Vadot
50*84943d6fSEmmanuel Vadot            vdd-supply = <&vdd>;
51*84943d6fSEmmanuel Vadot        };
52*84943d6fSEmmanuel Vadot    };
53