Maxim MAX31865 Resistance Temperature Detector.

Schema identifier ($id): "http://devicetree.org/schemas/iio/temperature/maxim,max31865.yaml#"

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

Maintainers (maintainers): "Navin Sankar Velliangiri <navin@linumiz.com>"

https://datasheets.maximintegrated.com/en/ds/MAX31865.pdf

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "maxim,max31865"

reg — required here #

Maximum number of items (maxItems): 1

maxim,3-wire — not listed as required here #

Identifies the number of wires used by the RTD. Setting this property enables 3-wire RTD connection. Else 2-wire or 4-wire RTD connection.

Value type (type): "boolean"

spi-cpha — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "spi-cpha"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

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

    temperature-sensor@0 {
        compatible = "maxim,max31865";
        reg = <0>;
        spi-max-frequency = <400000>;
        spi-cpha;
        maxim,3-wire;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page