Skip to content

thermal: tegra: soctherm bugfixes

Nicolas Chauvet linux-pm linux-tegra stable 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 5 repliesIn review
  2. v14 patches 1 replySuperseded

Changes in v2 from the cover letter

* Add missing tegra210 device-tree properties
* Add the appropriate prefix for tegra soctherm
* Use SoCs condition over of_compatible

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ARM: tegra: Add missing gpu-throt-level to tegra124 socthermarch/arm/boot/dts/tegra124.dtsi+1 -00 replies
2/6ARM: tegra: Add missing hot temperatures to tegra124 thermal-zonesarch/arm/boot/dts/tegra124.dtsi+10 -00 replies
3/6arm64: tegra: Add missing hot temperatures to tegra132 thermal-zonesarch/arm64/boot/dts/nvidia/tegra132.dtsi+10 -00 replies
4/6arm64: tegra: Add missing gpu-throt-level to tegra210 socthermarch/arm64/boot/dts/nvidia/tegra210.dtsi+1 -00 replies
5/6arm64: tegra: Add missing hot temperatures to tegra210 thermal-zonesarch/arm64/boot/dts/nvidia/tegra210.dtsi+12 -00 replies
6/6thermal: tegra: Avoid setting edp_irq when not relevantdrivers/thermal/tegra/soctherm.c drivers/thermal/tegra/soctherm.h drivers/thermal/tegra/tegra124-soctherm.c +2 more+26 -161 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/6] thermal: tegra: soctherm bugfixes

When using tegra_soctherm driver on jetson-tk1, the following messages can be seen:
from kernel: tegra_soctherm 700e2000.thermal-sensor:
throttle-cfg: heavy: no throt prop or invalid prop
soctherm: trip temperature -2147483647 forced to -127000
thermtrip: will shut down when cpu reaches 101000 mC
soctherm: trip temperature -2147483647 forced to -127000
thermtrip: will shut down when gpu reaches 101000 mC
soctherm: trip temperature -2147483647 forced to -127000
thermtrip: will shut down when pll reaches 103000 mC
throttrip: pll: missing hot temperature
soctherm: trip temperature -2147483647 forced to -127000
thermtrip: will shut down when mem reaches 101000 mC
throttrip: mem: missing hot temperature
IRQ index 1 not found

This serie fixes two errors and two warnings that are reported in dmesg It was compiled and tested at runtime on jetson-tk1 only.

v2:
* Add missing tegra210 device-tree properties
* Add the appropriate prefix for tegra soctherm
* Use SoCs condition over of_compatible

Nicolas Chauvet (6):
ARM: tegra: Add missing gpu-throt-level to tegra124 soctherm
ARM: tegra: Add missing hot temperatures to tegra124 thermal-zones
arm64: tegra: Add missing hot temperatures to tegra132 thermal-zones
arm64: tegra: Add missing gpu-throt-level to tegra210 soctherm
arm64: tegra: Add missing hot temperatures to tegra210 thermal-zones
thermal: tegra: Avoid setting edp_irq when not relevant

 arch/arm/boot/dts/tegra124.dtsi           | 11 +++++++
 arch/arm64/boot/dts/nvidia/tegra132.dtsi  | 10 ++++++
 arch/arm64/boot/dts/nvidia/tegra210.dtsi  | 13 ++++++++
 drivers/thermal/tegra/soctherm.c          | 38 +++++++++++++----------
 drivers/thermal/tegra/soctherm.h          |  1 +
 drivers/thermal/tegra/tegra124-soctherm.c |  1 +
 drivers/thermal/tegra/tegra132-soctherm.c |  1 +
 drivers/thermal/tegra/tegra210-soctherm.c |  1 +
 8 files changed, 60 insertions(+), 16 deletions(-)
Signature · 1 line
2.25.4