blob: a9ca6d725b7c96d8b031386c93fa165a9bfeced5 [file] [log] [blame]
developer5d148cb2023-06-02 13:08:11 +08001From 23c38736374866e0f1423dde94ac6e80eb644132 Mon Sep 17 00:00:00 2001
2From: Sam Shih <sam.shih@mediatek.com>
3Date: Fri, 2 Jun 2023 13:06:08 +0800
4Subject: [PATCH] [slow-speed-io][999-2140-mtk-thermal-add-lvts-support.patch]
5
6---
7 drivers/thermal/Kconfig | 5 +++++
8 drivers/thermal/Makefile | 1 +
9 2 files changed, 6 insertions(+)
10
developer2cdaeb12022-10-04 20:25:05 +080011diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
developer5d148cb2023-06-02 13:08:11 +080012index 001a21abc..67d3da488 100644
developer2cdaeb12022-10-04 20:25:05 +080013--- a/drivers/thermal/Kconfig
14+++ b/drivers/thermal/Kconfig
15@@ -348,6 +348,11 @@ config MTK_THERMAL
16 Enable this option if you want to have support for thermal management
17 controller present in Mediatek SoCs
18
19+menu "Mediatek thermal drivers"
20+depends on ARCH_MEDIATEK || COMPILE_TEST
21+source "drivers/thermal/mediatek/Kconfig"
22+endmenu
23+
24 menu "Intel thermal drivers"
25 depends on X86 || X86_INTEL_QUARK || COMPILE_TEST
26 source "drivers/thermal/intel/Kconfig"
27diff --git a/drivers/thermal/Makefile b/drivers/thermal/Makefile
developer5d148cb2023-06-02 13:08:11 +080028index 74a37c7f8..6be9ff194 100644
developer2cdaeb12022-10-04 20:25:05 +080029--- a/drivers/thermal/Makefile
30+++ b/drivers/thermal/Makefile
31@@ -51,6 +51,7 @@ obj-$(CONFIG_QCOM_TSENS) += qcom/
32 obj-y += tegra/
33 obj-$(CONFIG_HISI_THERMAL) += hisi_thermal.o
34 obj-$(CONFIG_MTK_THERMAL) += mtk_thermal.o
35+obj-y += mediatek/
36 obj-$(CONFIG_GENERIC_ADC_THERMAL) += thermal-generic-adc.o
37 obj-$(CONFIG_ZX2967_THERMAL) += zx2967_thermal.o
38 obj-$(CONFIG_UNIPHIER_THERMAL) += uniphier_thermal.o
developer5d148cb2023-06-02 13:08:11 +080039--
402.34.1
41