developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame] | 1 | From 23c38736374866e0f1423dde94ac6e80eb644132 Mon Sep 17 00:00:00 2001 |
| 2 | From: Sam Shih <sam.shih@mediatek.com> |
| 3 | Date: Fri, 2 Jun 2023 13:06:08 +0800 |
| 4 | Subject: [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 | |
developer | 2cdaeb1 | 2022-10-04 20:25:05 +0800 | [diff] [blame] | 11 | diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig |
developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame] | 12 | index 001a21abc..67d3da488 100644 |
developer | 2cdaeb1 | 2022-10-04 20:25:05 +0800 | [diff] [blame] | 13 | --- 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" |
| 27 | diff --git a/drivers/thermal/Makefile b/drivers/thermal/Makefile |
developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame] | 28 | index 74a37c7f8..6be9ff194 100644 |
developer | 2cdaeb1 | 2022-10-04 20:25:05 +0800 | [diff] [blame] | 29 | --- 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 |
developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame] | 39 | -- |
| 40 | 2.34.1 |
| 41 | |