All Sensors DLH series low voltage digital pressure sensors
Schema identifier ($id): "http://devicetree.org/schemas/iio/pressure/asc,dlhl60d.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jonathan Cameron <jic23@kernel.org>"
Bindings for the All Sensors DLH series pressure sensors.
Specifications about the sensors can be found at:
https://www.allsensors.com/cad/DS-0355_Rev_B.PDF
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "asc,dlhl60d", "asc,dlhl60g"
reg — required here #
I2C device address
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
interrupt mapping for EOC(data ready) pin
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
pressure@29 {
compatible = "asc,dlhl60d";
reg = <0x29>;
interrupt-parent = <&gpio0>;
interrupts = <10 IRQ_TYPE_EDGE_RISING>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)