Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/pressure/asc,dlhl60d.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: All Sensors DLH series low voltage digital pressure sensors
0008 
0009 maintainers:
0010   - Tomislav Denis <tomislav.denis@avl.com>
0011 
0012 description: |
0013   Bindings for the All Sensors DLH series pressure sensors.
0014 
0015   Specifications about the sensors can be found at:
0016     https://www.allsensors.com/cad/DS-0355_Rev_B.PDF
0017 
0018 properties:
0019   compatible:
0020     enum:
0021       - asc,dlhl60d
0022       - asc,dlhl60g
0023 
0024   reg:
0025     description: I2C device address
0026     maxItems: 1
0027 
0028   interrupts:
0029     description: interrupt mapping for EOC(data ready) pin
0030     maxItems: 1
0031 
0032 required:
0033   - compatible
0034   - reg
0035 
0036 additionalProperties: false
0037 
0038 examples:
0039   - |
0040     #include <dt-bindings/interrupt-controller/irq.h>
0041 
0042     i2c0 {
0043         #address-cells = <1>;
0044         #size-cells = <0>;
0045 
0046         pressure@29 {
0047             compatible = "asc,dlhl60d";
0048             reg = <0x29>;
0049             interrupt-parent = <&gpio0>;
0050             interrupts = <10 IRQ_TYPE_EDGE_RISING>;
0051         };
0052     };
0053 ...