1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/thermal/nvidia,tegra30-tsensor.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: NVIDIA Tegra30 Thermal Sensor 8 9maintainers: 10 - Dmitry Osipenko <digetx@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 12 - Thierry Reding <thierry.reding@gmail.com> 13 14description: | 15 TSENSOR provides thermal and voltage sensors which monitor temperature 16 and voltage of the chip. Sensors are placed across the die to gauge the 17 temperature of the whole chip. The TSENSOR module: 18 19 Generates an interrupt to SW to lower temperature via DVFS on reaching 20 a certain thermal/voltage threshold. 21 22 Generates a signal to the CAR to reduce CPU frequency by half on reaching 23 a certain thermal/voltage threshold. 24 25 Generates a signal to the PMC when the temperature reaches dangerously high 26 levels to reset the chip and sets a flag in the PMC. 27 28 TSENSOR has two channels which monitor two different spots of the SoC. 29 30$ref: thermal-sensor.yaml# 31 32properties: 33 compatible: 34 const: nvidia,tegra30-tsensor 35 36 reg: 37 maxItems: 1 38 39 clocks: 40 maxItems: 1 41 42 resets: 43 maxItems: 1 44 45 interrupts: 46 maxItems: 1 47 48 "#thermal-sensor-cells": 49 const: 1 50 51 assigned-clock-parents: true 52 assigned-clock-rates: true 53 assigned-clocks: true 54 55required: 56 - compatible 57 - reg 58 - clocks 59 - resets 60 - interrupts 61 62unevaluatedProperties: false 63 64examples: 65 - | 66 thermal-sensor@70014000 { 67 compatible = "nvidia,tegra30-tsensor"; 68 reg = <0x70014000 0x500>; 69 interrupts = <0 102 4>; 70 clocks = <&clk 100>; 71 resets = <&rst 100>; 72 73 #thermal-sensor-cells = <1>; 74 }; 75