NXP i.MX91 Thermal

Schema identifier ($id): "http://devicetree.org/schemas/thermal/fsl,imx91-tmu.yaml#"

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

Maintainers (maintainers): "Pengfei Li <pengfei.li_1@nxp.com>"

i.MX91 features a new temperature sensor. It includes programmable temperature threshold comparators for both normal and privileged accesses and allows a programmable measurement frequency for the Periodic One-Shot Measurement mode. Additionally, it provides status registers for indicating the end of measurement and threshold violation events.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "fsl,imx91-tmu"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Array item rules (items) #

Item 1

Comparator 1 irq

Item 2

Comparator 2 irq

Item 3

Data ready irq

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "thr1"

Item 2

Exact value (const): "thr2"

Item 3

Exact value (const): "ready"

nvmem-cells — not listed as required here #

Array item rules (items) #

Item 1

Phandle to the trim control 1 provided by ocotp

Item 2

Phandle to the trim control 2 provided by ocotp

nvmem-cell-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "trim1"

Item 2

Exact value (const): "trim2"

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

Exact value (const): 0

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

All of these rules must match (allOf) #

Rule 1 #

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/imx93-clock.h>

thermal-sensor@44482000 {
    compatible = "fsl,imx91-tmu";
    reg = <0x44482000 0x1000>;
    #thermal-sensor-cells = <0>;
    clocks = <&clk IMX93_CLK_TMC_GATE>;
    interrupt-parent = <&gic>;
    interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-names = "thr1", "thr2", "ready";
    nvmem-cells = <&tmu_trim1>, <&tmu_trim2>;
    nvmem-cell-names = "trim1", "trim2";
};

Source notes #

Annotations retained from the schema source

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

Edit this page