Path: blob/master/Documentation/devicetree/bindings/iio/pressure/fsl,mpl3115.yaml
38301 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/iio/pressure/fsl,mpl3115.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: MPL3115 precision pressure sensor with altimetry78maintainers:9- Antoni Pokusinski <apokusinski01@gmail.com>1011description: |12MPL3115 is a pressure/altitude and temperature sensor with I2C interface.13It features two programmable interrupt lines which indicate events such as14data ready or pressure/temperature threshold reached.15https://www.nxp.com/docs/en/data-sheet/MPL3115A2.pdf1617properties:18compatible:19const: fsl,mpl31152021reg:22maxItems: 12324vdd-supply: true2526vddio-supply: true2728interrupts:29minItems: 130maxItems: 23132interrupt-names:33minItems: 134maxItems: 235items:36enum:37- INT138- INT23940drive-open-drain:41type: boolean42description:43set if the specified interrupt pins should be configured as44open drain. If not set, defaults to push-pull.4546required:47- compatible48- reg49- vdd-supply50- vddio-supply5152additionalProperties: false5354examples:55- |56#include <dt-bindings/interrupt-controller/irq.h>57i2c {58#address-cells = <1>;59#size-cells = <0>;6061pressure@60 {62compatible = "fsl,mpl3115";63reg = <0x60>;64vdd-supply = <&vdd>;65vddio-supply = <&vddio>;66interrupt-parent = <&gpio1>;67interrupts = <4 IRQ_TYPE_EDGE_FALLING>;68interrupt-names = "INT2";69};70};717273