xref: /linux/Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml (revision 55d0969c451159cff86949b38c39171cab962069)
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
51required:
52  - compatible
53  - reg
54  - clocks
55  - resets
56  - interrupts
57
58unevaluatedProperties: false
59
60examples:
61  - |
62    thermal-sensor@70014000 {
63      compatible = "nvidia,tegra30-tsensor";
64      reg = <0x70014000 0x500>;
65      interrupts = <0 102 4>;
66      clocks = <&clk 100>;
67      resets = <&rst 100>;
68
69      #thermal-sensor-cells = <1>;
70    };
71