STMicroelectronics STi digital thermal sensor (DTS)

Schema identifier ($id): "http://devicetree.org/schemas/thermal/st,stih407-thermal.yaml#"

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

Maintainers (maintainers): "Patrice Chotard <patrice.chotard@foss.st.com>", "Lee Jones <lee@kernel.org>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): thermal-sensor.yaml

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "st,stih407-thermal"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "thermal"

interrupts — not listed as required here #

For thermal sensors for which no interrupt has been defined, a polling delay of 1000ms will be used to read the temperature from device.

Maximum number of items (maxItems): 1

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

Exact value (const): 0

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
temperature-sensor@91a0000 {
    compatible = "st,stih407-thermal";
    reg = <0x91a0000 0x28>;
    clock-names = "thermal";
    clocks = <&CLK_SYSIN>;
    interrupts = <GIC_SPI 205 IRQ_TYPE_EDGE_RISING>;
    #thermal-sensor-cells = <0>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page