Socionext UniPhier thermal monitor

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

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

This describes the devicetree bindings for thermal monitor supported by PVT(Process, Voltage and Temperature) monitoring unit implemented on Socionext UniPhier SoCs.

Maintainers (maintainers): "Kunihiko Hayashi <hayashi.kunihiko@socionext.com>"

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

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "socionext,uniphier-pxs2-thermal", "socionext,uniphier-ld20-thermal", "socionext,uniphier-pxs3-thermal", "socionext,uniphier-nx1-thermal"

interrupts — required here #

Maximum number of items (maxItems): 1

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

Exact value (const): 0

socionext,tmod-calibration — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

Maximum number of items (maxItems): 2

A pair of calibrated values referred from PVT, in case that the values aren't set on SoC, like a reference board.

Required in this object (required): "compatible", "interrupts"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

// The UniPhier thermal should be a subnode of a "syscon" compatible node.

#include <dt-bindings/interrupt-controller/arm-gic.h>
pvtctl: thermal-sensor {
    compatible = "socionext,uniphier-ld20-thermal";
    interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
    #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