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 7title: ROHM BM1390 pressure sensor 8 9maintainers: 10 - Matti Vaittinen <mazziesaccount@gmail.com> 11 12description: 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 18properties: 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 30required: 31 - compatible 32 - reg 33 - vdd-supply 34 35additionalProperties: false 36 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