summaryrefslogtreecommitdiff
path: root/include/dt-bindings/thermal/mediatek,lvts-thermal.h
diff options
context:
space:
mode:
authorJulien Panis <jpanis@baylibre.com>2024-06-03 12:50:48 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2024-07-15 13:31:39 +0200
commit6b04928e83f298d99359f3ba67187a328c223357 (patch)
tree3aaa22551082b0eec77a573aaf0a72a4ea670360 /include/dt-bindings/thermal/mediatek,lvts-thermal.h
parent854a8e208c26b60708785d4ef8d5cf8ee014335a (diff)
dt-bindings: thermal: mediatek: Fix thermal zone definition for MT8186
Fix a thermal zone name for consistency with the other SoCs: MFG contains GPU, the latter is more specific and must be used here. The naming must be fixed "atomically" so compilation does not break. As a result, the change is made in the dt-bindings and in the LVTS driver within a single commit, despite the checkpatch warning. The definition can be safely modified here because it is used only in the LVTS driver, which is modified accordingly, and has not yet been included in a released kernel. Fixes: a2ca202350f9 ("dt-bindings: thermal: mediatek: Add LVTS thermal controller definition for MT8186") Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Julien Panis <jpanis@baylibre.com> Link: https://lore.kernel.org/r/20240603-mtk-thermal-mt818x-dtsi-v7-1-8c8e3c7a3643@baylibre.com Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'include/dt-bindings/thermal/mediatek,lvts-thermal.h')
-rw-r--r--include/dt-bindings/thermal/mediatek,lvts-thermal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dt-bindings/thermal/mediatek,lvts-thermal.h b/include/dt-bindings/thermal/mediatek,lvts-thermal.h
index bf95309d2525..85d25b4d726d 100644
--- a/include/dt-bindings/thermal/mediatek,lvts-thermal.h
+++ b/include/dt-bindings/thermal/mediatek,lvts-thermal.h
@@ -24,7 +24,7 @@
#define MT8186_BIG_CPU1 5
#define MT8186_NNA 6
#define MT8186_ADSP 7
-#define MT8186_MFG 8
+#define MT8186_GPU 8
#define MT8188_MCU_LITTLE_CPU0 0
#define MT8188_MCU_LITTLE_CPU1 1