From: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: "Heiko Stübner" <heiko@sntech.de>,
linux-i2c@vger.kernel.org, "Jean Delvare" <khali@linux-fr.org>,
"Wolfram Sang" <w.sang@pengutronix.de>,
"Ben Dooks" <ben-linux@fluff.org>,
linux-samsung-soc <linux-samsung-soc@vger.kernel.org>
Subject: Re: [PATCH 2/2] i2c-s3c2410: Add stub runtime power management
Date: Sat, 21 Jan 2012 23:49:27 +0100 [thread overview]
Message-ID: <4F1B40F7.1000602@gmail.com> (raw)
In-Reply-To: <20120121215758.GC8331@opensource.wolfsonmicro.com>
On 01/21/2012 10:57 PM, Mark Brown wrote:
> On Sat, Jan 21, 2012 at 10:33:44PM +0100, Sylwester Nawrocki wrote:
>> On 01/21/2012 10:23 PM, Heiko Stübner wrote:
>
>>> At least S3C2416/S3C2450 and S3C2412 (i.e. the ARMv5 SoCs) might profit from
>>> it, as they also support the idle modes (stop modes) that Mark is targetting
>>> with his patches in the long run.
>
>> It would be much better to enable core runtime PM support on all platforms
>> that use particular driver, even though there is no any drivers adapted
>> runtime PM on some of them yet.
>
> It's just a Kconfig switch, the only issue is that users might not turn
> it on and for platforms where there's not much driver support they're
> more likely to not have done so.
Yes, and some simple SoCs might probably never benefit from runtime PM due to
their limited power modes. Hence enforcing RUNTIME_PM dependency on some
common drivers might not be sane. But it would be ideal not to work around
things too much, and reimplement in drivers functionality that involves
upper layers.
>>> Not sure about the 2410, 2440 and 2443 currently
>
>> But would just enabling RUNTIME_PM make any harm to those platforms ?
>
> It really shouldn't cause any issues but it seems better to not push
> people towards it too much when there's not much win yet. What I've
> been doing with all these patches is leaving any PM that already exists
> untouched (in so far as it's not buggy). Where there's nothing already
> and it's all new code I've been using a more modern idiom. I hope that
> this minimise any impact on existing systems.
Sounds good. The idea of enforcing runtime PM seems to be good for /dev/null
only.. I noticed recently that you did a nice work correcting broken s3c-fb
driver PM code. I've done similar corrections but the patches never left the
internal trees due to limited time for this. And there is also a DRM driver
for FIMD on Exynos now.
next prev parent reply other threads:[~2012-01-21 22:49 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-21 13:28 [PATCH 1/2] i2c-s3c2410: Convert to devm_kzalloc() Mark Brown
[not found] ` <1327152527-11364-1-git-send-email-broonie-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org>
2012-01-21 13:28 ` [PATCH 2/2] i2c-s3c2410: Add stub runtime power management Mark Brown
2012-01-21 15:52 ` Sylwester Nawrocki
2012-01-21 18:31 ` Mark Brown
2012-01-21 20:38 ` Sylwester Nawrocki
[not found] ` <4F1B2235.4000009-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-01-21 21:23 ` Mark Brown
2012-01-21 21:23 ` Heiko Stübner
2012-01-21 21:33 ` Sylwester Nawrocki
[not found] ` <4F1B2F38.9050708-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-01-21 21:57 ` Mark Brown
2012-01-21 22:49 ` Sylwester Nawrocki [this message]
2012-01-21 23:10 ` Mark Brown
[not found] ` <1327152527-11364-2-git-send-email-broonie-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org>
2012-02-13 23:39 ` Ben Dooks
2012-01-21 16:10 ` [PATCH 1/2] i2c-s3c2410: Convert to devm_kzalloc() Sylwester Nawrocki
2012-01-21 17:57 ` Mark Brown
2012-01-21 18:27 ` Sylwester Nawrocki
[not found] ` <4F1B0394.8050003-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-01-21 18:36 ` Mark Brown
[not found] ` <4F1AE36E.3070403-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-02-13 23:38 ` Ben Dooks
2012-02-14 13:03 ` Shubhrajyoti Datta
2012-02-14 13:52 ` Sylwester Nawrocki
2012-01-21 15:59 ` Sylwester Nawrocki
2012-01-29 5:14 ` Barry Song
-- strict thread matches above, loose matches on Subject: below --
2011-12-05 14:06 Mark Brown
[not found] ` <1323093966-9045-1-git-send-email-broonie-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org>
2011-12-05 14:06 ` [PATCH 2/2] i2c-s3c2410: Add stub runtime power management Mark Brown
2011-12-13 14:53 ` Heiko Stübner
2011-12-13 15:06 ` Jean Delvare
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=4F1B40F7.1000602@gmail.com \
--to=sylvester.nawrocki@gmail.com \
--cc=ben-linux@fluff.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=heiko@sntech.de \
--cc=khali@linux-fr.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=w.sang@pengutronix.de \
/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;
as well as URLs for NNTP newsgroup(s).