HopeRF HP03 digital pressure/temperature sensors

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

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

Maintainers (maintainers): "Marek Vasut <marex@denx.de>"

Digital pressure and temperature sensor with an I2C interface.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "hoperf,hp03"

reg — required here #

Maximum number of items (maxItems): 1

xclr-gpios — not listed as required here #

The XCLR pin is a reset of the ADC in the chip, it must be pulled HI before the conversion and readout of the value from the ADC registers and pulled LO afterward.

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

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

    pressure@77 {
        compatible = "hoperf,hp03";
        reg = <0x77>;
        xclr-gpios = <&portc 0 0x0>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page