brintos

brintos / linux-shallow public Read only

0
0
Text · 1.1 KiB · 9fb8d77 Raw
54 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---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 sensors8 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.PDF17 18properties:19  compatible:20    enum:21      - asc,dlhl60d22      - asc,dlhl60g23 24  reg:25    description: I2C device address26    maxItems: 127 28  interrupts:29    description: interrupt mapping for EOC(data ready) pin30    maxItems: 131 32required:33  - compatible34  - reg35 36additionalProperties: false37 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