sdp500/sdp510 pressure sensor with I2C bus interface

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

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

Maintainers (maintainers): "Petar Stoykov <petar.stoykov@prodrive-technologies.com>"

Pressure sensor from Sensirion with I2C bus interface. There is no software difference between sdp500 and sdp510.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "sensirion,sdp510"

Item 2

Exact value (const): "sensirion,sdp500"

Rule 2

Exact value (const): "sensirion,sdp500"

reg — required here #

Maximum number of items (maxItems): 1

vdd-supply — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "vdd-supply"

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>;
  pressure@40 {
    compatible = "sensirion,sdp500";
    reg = <0x40>;
    vdd-supply = <&foo>;
  };
};

Source notes #

Annotations retained from the schema source

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

Edit this page