nvidia,tegra30-tsensor.yaml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. title: NVIDIA Tegra30 Thermal Sensor
  7. maintainers:
  8. - Dmitry Osipenko <digetx@gmail.com>
  9. - Jon Hunter <jonathanh@nvidia.com>
  10. - Thierry Reding <thierry.reding@gmail.com>
  11. description: |
  12. TSENSOR provides thermal and voltage sensors which monitor temperature
  13. and voltage of the chip. Sensors are placed across the die to gauge the
  14. temperature of the whole chip. The TSENSOR module:
  15. Generates an interrupt to SW to lower temperature via DVFS on reaching
  16. a certain thermal/voltage threshold.
  17. Generates a signal to the CAR to reduce CPU frequency by half on reaching
  18. a certain thermal/voltage threshold.
  19. Generates a signal to the PMC when the temperature reaches dangerously high
  20. levels to reset the chip and sets a flag in the PMC.
  21. TSENSOR has two channels which monitor two different spots of the SoC.
  22. $ref: thermal-sensor.yaml#
  23. properties:
  24. compatible:
  25. const: nvidia,tegra30-tsensor
  26. reg:
  27. maxItems: 1
  28. clocks:
  29. maxItems: 1
  30. resets:
  31. maxItems: 1
  32. interrupts:
  33. maxItems: 1
  34. "#thermal-sensor-cells":
  35. const: 1
  36. required:
  37. - compatible
  38. - reg
  39. - clocks
  40. - resets
  41. - interrupts
  42. unevaluatedProperties: false
  43. examples:
  44. - |
  45. thermal-sensor@70014000 {
  46. compatible = "nvidia,tegra30-tsensor";
  47. reg = <0x70014000 0x500>;
  48. interrupts = <0 102 4>;
  49. clocks = <&clk 100>;
  50. resets = <&rst 100>;
  51. #thermal-sensor-cells = <1>;
  52. };