Jedec JC-42.4 compatible temperature sensors

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

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

Maintainers (maintainers): "Jean Delvare <jdelvare@suse.com>", "Guenter Roeck <linux@roeck-us.net>"

Automatic schema selection (select) #

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "jedec,jc-42.4-temp"

Required in this object (required): "compatible"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "jedec,jc-42.4-temp"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "adi,adt7408", "atmel,at30ts00", "atmel,at30tse004", "idt,tse2002", "idt,tse2004", "idt,ts3000", "idt,ts3001", "maxim,max6604", "microchip,mcp9804", "microchip,mcp9805", "microchip,mcp9808", "microchip,mcp98243", "microchip,mcp98244", "microchip,mcp9843", "nxp,se97", "nxp,se97b", "nxp,se98", "onnn,cat6095", "onnn,cat34ts02", "st,stts2002", "st,stts2004", "st,stts3000", "st,stts424", "st,stts424e"

Item 2

Exact value (const): "jedec,jc-42.4-temp"

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. This is not supported on all chips.

Value type (type): "boolean"

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

    temp-sensor@1a {
        compatible = "jedec,jc-42.4-temp";
        reg = <0x1a>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page