Renesas RZ/G3E Temperature Sensor Unit (TSU)
Schema identifier ($id): "http://devicetree.org/schemas/thermal/renesas,r9a09g047-tsu.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "John Madieu <john.madieu.xa@bp.renesas.com>"
The Temperature Sensor Unit (TSU) is an integrated thermal sensor that monitors the chip temperature on the Renesas RZ/G3E SoC. The TSU provides real-time temperature measurements for thermal management.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"renesas,r9a09g047-tsu","renesas,r9a09g077-tsu"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,r9a09g056-tsu","renesas,r9a09g057-tsu"Item 2
Exact value (
const):"renesas,r9a09g047-tsu"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"renesas,r9a09g087-tsu"Item 2
Exact value (
const):"renesas,r9a09g077-tsu"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
power-domains — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Array item rules (items) #
Item 1
Conversion complete interrupt signal (pulse)
Item 2
Comparison result interrupt signal (level)
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"adi"
Item 2
Exact value (
const):"adcmpi"
#thermal-sensor-cells — required here #
Exact value (const): 0
renesas,tsu-trim — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
phandle to system controller
Item 2
offset of trim registers
Phandle and offset to the system controller containing the TSU calibration trim values. The offset points to the first trim register (OTPTSU1TRMVAL0), with the second trim register (OTPTSU1TRMVAL1) located at offset + 4.
Required in this object (required): "compatible", "reg", "clocks", "power-domains", "interrupts", "interrupt-names", "#thermal-sensor-cells"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"renesas,r9a09g047-tsu"When the condition matches (
then) #Required in this object (
required):"resets","renesas,tsu-trim"
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"renesas,r9a09g077-tsu"When the condition matches (
then) #Properties and child nodes (
properties)
resets— not listed as required here
false— Not permitted by this property rule.
renesas,tsu-trim— not listed as required here
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/renesas,r9a09g047-cpg.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
thermal-sensor@14002000 {
compatible = "renesas,r9a09g047-tsu";
reg = <0x14002000 0x1000>;
clocks = <&cpg CPG_MOD 0x10a>;
resets = <&cpg 0xf8>;
power-domains = <&cpg>;
interrupts = <GIC_SPI 250 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "adi", "adcmpi";
#thermal-sensor-cells = <0>;
renesas,tsu-trim = <&sys 0x330>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 21: RZ/G3E
Line 22: RZ/T2H
Line 25: RZ/V2N
Line 26: RZ/V2H
Line 27: RZ/G3E
Line 29: RZ/N2H
Line 30: RZ/T2H