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