From: Daniel Lezcano <daniel.lezcano@linaro.org>
To: Henry Yen <henry.yen@mediatek.com>,
Zhang Rui <rui.zhang@intel.com>,
Amit Kucheria <amit.kucheria@verdurent.com>,
Matthias Brugger <matthias.bgg@gmail.com>
Cc: linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org,
Steven Liu <steven.liu@mediatek.com>,
Michael Kao <michael.kao@mediatek.com>,
Arnd Bergmann <arnd.bergmann@linaro.org>
Subject: Re: [PATCH] thermal: mediatek: Fix missing selection
Date: Fri, 31 Jul 2020 11:59:33 +0200 [thread overview]
Message-ID: <69a4b653-9f47-63f1-7eb0-4880bf19497a@linaro.org> (raw)
In-Reply-To: <1596096304-16422-1-git-send-email-henry.yen@mediatek.com>
Hi Henry,
cc'ing Arnd
On 30/07/2020 10:05, Henry Yen wrote:
> 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.
The description states there is a dependency for some platforms not all
of them.
The change will select the option every time for any mediatek platform
or compile test.
I don't think it is the place to select the option.
> Signed-off-by: Henry Yen <henry.yen@mediatek.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
>
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
prev parent reply other threads:[~2020-07-31 9:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-30 8:05 Henry Yen
2020-07-31 9:59 ` Daniel Lezcano [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=69a4b653-9f47-63f1-7eb0-4880bf19497a@linaro.org \
--to=daniel.lezcano@linaro.org \
--cc=amit.kucheria@verdurent.com \
--cc=arnd.bergmann@linaro.org \
--cc=henry.yen@mediatek.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-pm@vger.kernel.org \
--cc=matthias.bgg@gmail.com \
--cc=michael.kao@mediatek.com \
--cc=rui.zhang@intel.com \
--cc=steven.liu@mediatek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®