0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/thermal/nvidia,tegra30-tsensor.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: NVIDIA Tegra30 Thermal Sensor
0008
0009 maintainers:
0010 - Dmitry Osipenko <digetx@gmail.com>
0011 - Jon Hunter <jonathanh@nvidia.com>
0012 - Thierry Reding <thierry.reding@gmail.com>
0013
0014 description: |
0015 TSENSOR provides thermal and voltage sensors which monitor temperature
0016 and voltage of the chip. Sensors are placed across the die to gauge the
0017 temperature of the whole chip. The TSENSOR module:
0018
0019 Generates an interrupt to SW to lower temperature via DVFS on reaching
0020 a certain thermal/voltage threshold.
0021
0022 Generates a signal to the CAR to reduce CPU frequency by half on reaching
0023 a certain thermal/voltage threshold.
0024
0025 Generates a signal to the PMC when the temperature reaches dangerously high
0026 levels to reset the chip and sets a flag in the PMC.
0027
0028 TSENSOR has two channels which monitor two different spots of the SoC.
0029
0030 properties:
0031 compatible:
0032 const: nvidia,tegra30-tsensor
0033
0034 reg:
0035 maxItems: 1
0036
0037 clocks:
0038 maxItems: 1
0039
0040 resets:
0041 maxItems: 1
0042
0043 interrupts:
0044 maxItems: 1
0045
0046 "#thermal-sensor-cells":
0047 const: 1
0048
0049 assigned-clock-parents: true
0050 assigned-clock-rates: true
0051 assigned-clocks: true
0052
0053 required:
0054 - compatible
0055 - reg
0056 - clocks
0057 - resets
0058 - interrupts
0059 - "#thermal-sensor-cells"
0060
0061 additionalProperties: false
0062
0063 examples:
0064 - |
0065 thermal-sensor@70014000 {
0066 compatible = "nvidia,tegra30-tsensor";
0067 reg = <0x70014000 0x500>;
0068 interrupts = <0 102 4>;
0069 clocks = <&clk 100>;
0070 resets = <&rst 100>;
0071
0072 #thermal-sensor-cells = <1>;
0073 };