From: Laxman Dewangan <ldewangan@nvidia.com>
To: Mark Brown <broonie@kernel.org>
Cc: <linux-kernel@vger.kernel.org>, <edubezval@gmail.com>,
<rui.zhang@intel.com>,
Geert Uytterhoeven <geert+renesas@glider.be>,
"Simon Horman" <horms+renesas@verge.net.au>
Subject: Re: Applied "regulator: max8973: add support for junction thermal warning" to the regulator tree
Date: Mon, 7 Mar 2016 16:24:10 +0530 [thread overview]
Message-ID: <56DD5DD2.9050101@nvidia.com> (raw)
In-Reply-To: <20160307074409.GS18327@sirena.org.uk>
On Monday 07 March 2016 01:14 PM, Mark Brown wrote:
> * PGP Signed by an unknown key
>
> On Mon, Mar 07, 2016 at 12:06:46PM +0530, Laxman Dewangan wrote:
>
>> Following will not help
>> depends on THERMAL_OF if THERMAL_OF
>> because THERMAL_OF is always "y" even if THERMAL is "m".
>> Build error can by resolved by adding below in the Kconfig
>> depends on THERMAL
>> but the issue is if THERMAL is "m" and REGULATOR_MAX8973 is "y" as per the
> So that should be depends on THERMAL if THERMAL_OF
depends on THERMAL && THERMAL_OF
>> failure rand config then REGULATOR_MAX8973 automatically become "m". This
>> may break some existing platform.
> That's an inevitable consequence of adding this support, you can't get
> around it.
>
Did some more investigation on linux-next about the regression if we
make this depends on THERMAL.
MAX8973 enabled in following defconfig
arch/arm64/configs/defconfig:CONFIG_REGULATOR_MAX8973=y
This has CONFIG_THERMAL=y
arch/arm/configs/shmobile_defconfig:CONFIG_REGULATOR_MAX8973=y
This has THERMAL_CONFIG=y
arch/arm/configs/multi_v7_defconfig:CONFIG_REGULATOR_MAX8973=y
This has THERMAL_CONFIG=y
arch/arm/configs/pxa_defconfig:CONFIG_REGULATOR_MAX8973=m
This has THERMAL_CONFIG=m
So there is no issue on making "depends on THERMAL".
Currently, only one user for this device in linux-next:
arch/arm/boot/dts/r8a73a4-ape6evm.dts: compatible = "maxim,max8973";
and this is shmobile based.
Adding Geert and Simon for their comment.
next prev parent reply other threads:[~2016-03-07 11:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-05 12:25 Applied "regulator: max8973: add support for junction thermal warning" to the regulator tree Mark Brown
2016-03-06 2:35 ` Mark Brown
2016-03-06 7:47 ` Laxman Dewangan
2016-03-06 11:35 ` Mark Brown
2016-03-07 6:36 ` Laxman Dewangan
2016-03-07 7:44 ` Mark Brown
2016-03-07 10:54 ` Laxman Dewangan [this message]
2016-03-08 2:22 ` Mark Brown
-- strict thread matches above, loose matches on Subject: below --
2016-04-13 9:59 [PATCH V3 2/2] regulator: max8973: add support for junction thermal warning Laxman Dewangan
2016-04-13 16:21 ` Applied "regulator: max8973: add support for junction thermal warning" to the regulator tree Mark Brown
2016-04-13 17:01 ` Laxman Dewangan
2016-01-06 16:07 [PATCH V2] regulator: max8973: add support for junction thermal warning Laxman Dewangan
2016-01-06 18:12 ` Applied "regulator: max8973: add support for junction thermal warning" to the regulator tree Mark Brown
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=56DD5DD2.9050101@nvidia.com \
--to=ldewangan@nvidia.com \
--cc=broonie@kernel.org \
--cc=edubezval@gmail.com \
--cc=geert+renesas@glider.be \
--cc=horms+renesas@verge.net.au \
--cc=linux-kernel@vger.kernel.org \
--cc=rui.zhang@intel.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