[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1596096304-16422-1-git-send-email-henry.yen@mediatek.com>
Date: Thu, 30 Jul 2020 16:05:04 +0800
From: Henry Yen <henry.yen@...iatek.com>
To: Zhang Rui <rui.zhang@...el.com>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
Amit Kucheria <amit.kucheria@...durent.com>,
Matthias Brugger <matthias.bgg@...il.com>
CC: <linux-pm@...r.kernel.org>, <linux-arm-kernel@...ts.infradead.org>,
<linux-mediatek@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>,
Steven Liu <steven.liu@...iatek.com>,
Henry Yen <henry.yen@...iatek.com>,
Michael Kao <michael.kao@...iatek.com>
Subject: [PATCH] thermal: mediatek: Fix missing selection
Mediatek thermal driver is compatible with multiple platforms.
Some of the platforms (e.g., MT2701) requires to enable
MEDIATEK_MT6577_AUXADC option. If lacks the config, the driver
will not be able to read correct temperature.
To fix it, select missing MEDIATEK_MT6577_AUXADC config.
Signed-off-by: Henry Yen <henry.yen@...iatek.com>
---
drivers/thermal/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index 3eb2348e5242..3a37f674f7f3 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -409,6 +409,7 @@ config MTK_THERMAL
depends on NVMEM || NVMEM=n
depends on RESET_CONTROLLER
default y
+ select MEDIATEK_MT6577_AUXADC
help
Enable this option if you want to have support for thermal management
controller present in Mediatek SoCs
--
2.17.1
Powered by blists - more mailing lists