Infineon DPS310 barometric pressure and temperature sensor

Schema identifier ($id): "http://devicetree.org/schemas/iio/pressure/infineon,dps310.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Eddie James <eajames@linux.ibm.com>"

The DPS310 is a barometric pressure and temperature sensor with an I2C interface.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "infineon,dps310"

reg — required here #

Maximum number of items (maxItems): 1

#io-channel-cells — not listed as required here #

Exact value (const): 0

vdd-supply — not listed as required here #

Voltage supply for the chip's analog blocks.

vddio-supply — not listed as required here #

Digital voltage supply for the chip's digital blocks and I/O interface.

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) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    dps: pressure-sensor@76 {
      compatible = "infineon,dps310";
      reg = <0x76>;
      #io-channel-cells = <0>;
      vdd-supply = <&vref1>;
      vddio-supply = <&vref2>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Edit this page