xref: /freebsd/sys/contrib/device-tree/Bindings/iio/pressure/asc,dlhl60d.yaml (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/iio/pressure/asc,dlhl60d.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7c66ec88fSEmmanuel Vadottitle: All Sensors DLH series low voltage digital pressure sensors
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
107ef62cebSEmmanuel Vadot  - Jonathan Cameron <jic23@kernel.org>
11c66ec88fSEmmanuel Vadot
12c66ec88fSEmmanuel Vadotdescription: |
13c66ec88fSEmmanuel Vadot  Bindings for the All Sensors DLH series pressure sensors.
14c66ec88fSEmmanuel Vadot
15c66ec88fSEmmanuel Vadot  Specifications about the sensors can be found at:
16c66ec88fSEmmanuel Vadot    https://www.allsensors.com/cad/DS-0355_Rev_B.PDF
17c66ec88fSEmmanuel Vadot
18c66ec88fSEmmanuel Vadotproperties:
19c66ec88fSEmmanuel Vadot  compatible:
20c66ec88fSEmmanuel Vadot    enum:
21c66ec88fSEmmanuel Vadot      - asc,dlhl60d
22c66ec88fSEmmanuel Vadot      - asc,dlhl60g
23c66ec88fSEmmanuel Vadot
24c66ec88fSEmmanuel Vadot  reg:
25c66ec88fSEmmanuel Vadot    description: I2C device address
26c66ec88fSEmmanuel Vadot    maxItems: 1
27c66ec88fSEmmanuel Vadot
28c66ec88fSEmmanuel Vadot  interrupts:
29c66ec88fSEmmanuel Vadot    description: interrupt mapping for EOC(data ready) pin
30c66ec88fSEmmanuel Vadot    maxItems: 1
31c66ec88fSEmmanuel Vadot
32c66ec88fSEmmanuel Vadotrequired:
33c66ec88fSEmmanuel Vadot  - compatible
34c66ec88fSEmmanuel Vadot  - reg
35c66ec88fSEmmanuel Vadot
36c66ec88fSEmmanuel VadotadditionalProperties: false
37c66ec88fSEmmanuel Vadot
38c66ec88fSEmmanuel Vadotexamples:
39c66ec88fSEmmanuel Vadot  - |
40c66ec88fSEmmanuel Vadot    #include <dt-bindings/interrupt-controller/irq.h>
41c66ec88fSEmmanuel Vadot
42*cb7aa33aSEmmanuel Vadot    i2c {
43c66ec88fSEmmanuel Vadot        #address-cells = <1>;
44c66ec88fSEmmanuel Vadot        #size-cells = <0>;
45c66ec88fSEmmanuel Vadot
46c66ec88fSEmmanuel Vadot        pressure@29 {
47c66ec88fSEmmanuel Vadot            compatible = "asc,dlhl60d";
48c66ec88fSEmmanuel Vadot            reg = <0x29>;
49c66ec88fSEmmanuel Vadot            interrupt-parent = <&gpio0>;
50c66ec88fSEmmanuel Vadot            interrupts = <10 IRQ_TYPE_EDGE_RISING>;
51c66ec88fSEmmanuel Vadot        };
52c66ec88fSEmmanuel Vadot    };
53c66ec88fSEmmanuel Vadot...
54