brintos

brintos / linux-shallow public Read only

0
0
Text · 1.6 KiB · 63a29a1 Raw
71 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---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 Sensor8 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 temperature16  and voltage of the chip. Sensors are placed across the die to gauge the17  temperature of the whole chip. The TSENSOR module:18 19    Generates an interrupt to SW to lower temperature via DVFS on reaching20    a certain thermal/voltage threshold.21 22    Generates a signal to the CAR to reduce CPU frequency by half on reaching23    a certain thermal/voltage threshold.24 25    Generates a signal to the PMC when the temperature reaches dangerously high26    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-tsensor35 36  reg:37    maxItems: 138 39  clocks:40    maxItems: 141 42  resets:43    maxItems: 144 45  interrupts:46    maxItems: 147 48  "#thermal-sensor-cells":49    const: 150 51required:52  - compatible53  - reg54  - clocks55  - resets56  - interrupts57 58unevaluatedProperties: false59 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