xref: /linux/Documentation/devicetree/bindings/iio/pressure/asc,dlhl60d.yaml (revision d26a3a6ce7e02f9c056ad992bcd9624735022337)
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/asc,dlhl60d.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: All Sensors DLH series low voltage digital pressure sensors
8
9maintainers:
10  - Jonathan Cameron <jic23@kernel.org>
11
12description: |
13  Bindings for the All Sensors DLH series pressure sensors.
14
15  Specifications about the sensors can be found at:
16    https://www.allsensors.com/cad/DS-0355_Rev_B.PDF
17
18properties:
19  compatible:
20    enum:
21      - asc,dlhl60d
22      - asc,dlhl60g
23
24  reg:
25    description: I2C device address
26    maxItems: 1
27
28  interrupts:
29    description: interrupt mapping for EOC(data ready) pin
30    maxItems: 1
31
32required:
33  - compatible
34  - reg
35
36additionalProperties: false
37
38examples:
39  - |
40    #include <dt-bindings/interrupt-controller/irq.h>
41
42    i2c {
43        #address-cells = <1>;
44        #size-cells = <0>;
45
46        pressure@29 {
47            compatible = "asc,dlhl60d";
48            reg = <0x29>;
49            interrupt-parent = <&gpio0>;
50            interrupts = <10 IRQ_TYPE_EDGE_RISING>;
51        };
52    };
53...
54