STTS751 Thermometer

Schema identifier ($id): "http://devicetree.org/schemas/hwmon/st,stts751.yaml#"

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

Maintainers (maintainers): "Javier Carrasco <javier.carrasco.cruz@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "st,stts751"

reg — required here #

Maximum number of items (maxItems): 1

smbus-timeout-disable — not listed as required here #

When set, the smbus timeout function will be disabled.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

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>;

    thermometer@48 {
        compatible = "st,stts751";
        reg = <0x48>;
        smbus-timeout-disable;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page