Microchip Sparx5 Temperature Monitor

Schema identifier ($id): "http://devicetree.org/schemas/hwmon/microchip,sparx5-temp.yaml#"

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

Maintainers (maintainers): "Lars Povlsen <lars.povlsen@microchip.com>"

Microchip Sparx5 embedded temperature monitor

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "microchip,sparx5-temp"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "microchip,lan9691-temp"

Item 2

Exact value (const): "microchip,sparx5-temp"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

System reference clock

#thermal-sensor-cells — not listed as required here #

Exact value (const): 0

Required in this object (required): "compatible", "reg", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

tmon0: tmon@610508110 {
    compatible = "microchip,sparx5-temp";
    reg = <0x10508110 0xc>;
    #thermal-sensor-cells = <0>;
    clocks = <&sys_clk>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page