tegra-soctherm.txt 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. Tegra124 SOCTHERM thermal management system
  2. The SOCTHERM IP block contains thermal sensors, support for polled
  3. or interrupt-based thermal monitoring, CPU and GPU throttling based
  4. on temperature trip points, and handling external overcurrent
  5. notifications. It is also used to manage emergency shutdown in an
  6. overheating situation.
  7. Required properties :
  8. - compatible : For Tegra124, must contain "nvidia,tegra124-soctherm".
  9. For Tegra132, must contain "nvidia,tegra132-soctherm".
  10. For Tegra210, must contain "nvidia,tegra210-soctherm".
  11. - reg : Should contain 1 entry:
  12. - SOCTHERM register set
  13. - interrupts : Defines the interrupt used by SOCTHERM
  14. - clocks : Must contain an entry for each entry in clock-names.
  15. See ../clocks/clock-bindings.txt for details.
  16. - clock-names : Must include the following entries:
  17. - tsensor
  18. - soctherm
  19. - resets : Must contain an entry for each entry in reset-names.
  20. See ../reset/reset.txt for details.
  21. - reset-names : Must include the following entries:
  22. - soctherm
  23. - #thermal-sensor-cells : Should be 1. See ./thermal.txt for a description
  24. of this property. See <dt-bindings/thermal/tegra124-soctherm.h> for a
  25. list of valid values when referring to thermal sensors.
  26. Example :
  27. soctherm@0,700e2000 {
  28. compatible = "nvidia,tegra124-soctherm";
  29. reg = <0x0 0x700e2000 0x0 0x1000>;
  30. interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
  31. clocks = <&tegra_car TEGRA124_CLK_TSENSOR>,
  32. <&tegra_car TEGRA124_CLK_SOC_THERM>;
  33. clock-names = "tsensor", "soctherm";
  34. resets = <&tegra_car 78>;
  35. reset-names = "soctherm";
  36. #thermal-sensor-cells = <1>;
  37. };
  38. Example: referring to thermal sensors :
  39. thermal-zones {
  40. cpu {
  41. polling-delay-passive = <1000>;
  42. polling-delay = <1000>;
  43. thermal-sensors =
  44. <&soctherm TEGRA124_SOCTHERM_SENSOR_CPU>;
  45. };
  46. };