53 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/pressure/rohm,bm1390.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: ROHM BM1390 pressure sensor8 9maintainers:10 - Matti Vaittinen <mazziesaccount@gmail.com>11 12description:13 BM1390GLV-Z is a pressure sensor which performs internal temperature14 compensation for the MEMS. Pressure range is from 300 hPa to 1300 hPa15 and sample averaging and IIR filtering is built in. Temperature16 measurement is also supported.17 18properties:19 compatible:20 const: rohm,bm1390glv-z21 22 reg:23 maxItems: 124 25 interrupts:26 maxItems: 127 28 vdd-supply: true29 30required:31 - compatible32 - reg33 - vdd-supply34 35additionalProperties: false36 37examples: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 };53