]> www.infradead.org Git - users/dwmw2/linux.git/commit
arm64: dts: mediatek: mt8183: Refactor thermal zones
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Wed, 10 Apr 2024 08:30:02 +0000 (10:30 +0200)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 27 Jun 2024 08:10:20 +0000 (10:10 +0200)
commit4a5191c5dd28c9016600af5e4be1db3a74791ab1
tree73c96aefc80d45f8592f4d9bf0b0a7a296bf5f25
parent86beeec5dd2b8e28217f67815a3fb15752031667
arm64: dts: mediatek: mt8183: Refactor thermal zones

The thermal zones in MT8183 had cryptic names and all of them, apart
from the cpu-thermal zone, had no thermal trips, hence those were not
probed at all.

Refactor the tzts1..5 and tztsABB thermal zones to add the correct
thermal trips and give them a meaningful name, corresponding to the
actually monitored thermal zone.
While at it, also rename the thermal sensor node to "thermal-sensor".

Now the thermal zones are probing and their temperatures can be read.

Fixes: b325ce39785b ("arm64: dts: mt8183: add thermal zone node")
Link: https://lore.kernel.org/r/20240410083002.1357857-4-angelogioacchino.delregno@collabora.com
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt8183.dtsi