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