summaryrefslogtreecommitdiff
path: root/include/dt-bindings/thermal
diff options
context:
space:
mode:
authorBalsam CHIHI <bchihi@baylibre.com>2023-02-09 13:56:24 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-02-15 19:28:34 +0300
commit498e2f7a6e69dcbca24715de2b4b97569fdfeff4 (patch)
tree46a1539c28712ce10ad4b2ac94c252bd09bd691f /include/dt-bindings/thermal
parentfad399ebdd67f602f306b524e6f62c3570943a48 (diff)
downloadlinux-498e2f7a6e69dcbca24715de2b4b97569fdfeff4.tar.xz
dt-bindings: thermal: mediatek: Add LVTS thermal controllers
Add LVTS thermal controllers dt-binding definition for mt8192 and mt8195. Signed-off-by: Balsam CHIHI <bchihi@baylibre.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20230209105628.50294-3-bchihi@baylibre.com Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/dt-bindings/thermal')
-rw-r--r--include/dt-bindings/thermal/mediatek,lvts-thermal.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/dt-bindings/thermal/mediatek,lvts-thermal.h b/include/dt-bindings/thermal/mediatek,lvts-thermal.h
new file mode 100644
index 000000000000..c09398920468
--- /dev/null
+++ b/include/dt-bindings/thermal/mediatek,lvts-thermal.h
@@ -0,0 +1,19 @@
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
+/*
+ * Copyright (c) 2023 MediaTek Inc.
+ * Author: Balsam CHIHI <bchihi@baylibre.com>
+ */
+
+#ifndef __MEDIATEK_LVTS_DT_H
+#define __MEDIATEK_LVTS_DT_H
+
+#define MT8195_MCU_BIG_CPU0 0
+#define MT8195_MCU_BIG_CPU1 1
+#define MT8195_MCU_BIG_CPU2 2
+#define MT8195_MCU_BIG_CPU3 3
+#define MT8195_MCU_LITTLE_CPU0 4
+#define MT8195_MCU_LITTLE_CPU1 5
+#define MT8195_MCU_LITTLE_CPU2 6
+#define MT8195_MCU_LITTLE_CPU3 7
+
+#endif /* __MEDIATEK_LVTS_DT_H */