OSDN Git Service

9f5ca9c420254295545cab36db386db10c8ee866
[tomoyo/tomoyo-test1.git] / Documentation / devicetree / bindings / iio / pressure / asc,dlhl60d.yaml
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
7 title: All Sensors DLH series low voltage digital pressure sensors
8
9 maintainers:
10   - Tomislav Denis <tomislav.denis@avl.com>
11
12 description: |
13   Bindings for the All Sensors DLH series pressure sensors.
14
15   Specifications about the sensors can be found at:
16     http://www.allsensors.com/cad/DS-0355_Rev_B.PDF
17
18 properties:
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
32 required:
33   - compatible
34   - reg
35
36 examples:
37   - |
38     #include <dt-bindings/interrupt-controller/irq.h>
39
40     i2c0 {
41         #address-cells = <1>;
42         #size-cells = <0>;
43
44         pressure@29 {
45             compatible = "asc,dlhl60d";
46             reg = <0x29>;
47             interrupt-parent = <&gpio0>;
48             interrupts = <10 IRQ_TYPE_EDGE_RISING>;
49         };
50     };
51 ...