xref: /linux/Documentation/devicetree/bindings/iio/pressure/meas,ms5611.yaml (revision ec8a42e7343234802b9054874fe01810880289ce)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/pressure/meas,ms5611.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Measurement Specialities ms5611 and similar pressure sensors
8
9maintainers:
10  - Tomasz Duszynski <tduszyns@gmail.com>
11
12description: |
13  Pressure sensors from MEAS Switzerland with SPI and I2C bus interfaces.
14
15properties:
16  compatible:
17    enum:
18      - meas,ms5607
19      - meas,ms5611
20
21  reg:
22    maxItems: 1
23
24  vdd-supply: true
25
26  spi-max-frequency:
27    maximum: 20000000
28
29required:
30  - compatible
31  - reg
32
33additionalProperties: false
34
35examples:
36  - |
37    i2c {
38        #address-cells = <1>;
39        #size-cells = <0>;
40
41        pressure@77 {
42            compatible = "meas,ms5607";
43            reg = <0x77>;
44            vdd-supply = <&ldo_3v3_gnss>;
45        };
46    };
47  - |
48    spi {
49        #address-cells = <1>;
50        #size-cells = <0>;
51        pressure@0 {
52            compatible = "meas,ms5611";
53            reg = <0>;
54            vdd-supply = <&ldo_3v3_gnss>;
55        };
56    };
57...
58