From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH/RFC] ARM: mach-shmobile: sh7372 power domain prototype
Date: Sat, 30 Apr 2011 01:02:58 +0000 [thread overview]
Message-ID: <201104300302.58675.rjw@sisk.pl> (raw)
In-Reply-To: <20110411194911.7991.79950.sendpatchset@t400s>
On Friday, April 29, 2011, Rafael J. Wysocki wrote:
> On Friday, April 29, 2011, Guennadi Liakhovetski wrote:
> > On Thu, 21 Apr 2011, Guennadi Liakhovetski wrote:
> >
> > > On Tue, 19 Apr 2011, Guennadi Liakhovetski wrote:
> > >
> > > > On Fri, 15 Apr 2011, Guennadi Liakhovetski wrote:
> > > >
> > > > > Hi Magnus
> > > > >
> > > > > On Tue, 12 Apr 2011, Magnus Damm wrote:
> > > > >
> > > > > > From: Magnus Damm <damm@opensource.se>
> > > > > >
> > > > > > This experimental sh7372-specific Runtime PM prototype
> > > > > > adds support for the A4LC and A4MP power domains.
> > > > > >
> > > > > > Tested on the Mackerel board together with the LCDC:
> > > > > >
> > > > > > # blank HDMI fbdev
> > > > > > echo 3 > /sys/devices/platform/sh_mobile_lcdc_fb.1/graphics/fb1/blank
> > > > > >
> > > > > > # blank LCD panel fbdev
> > > > > > echo 3 > /sys/devices/platform/sh_mobile_lcdc_fb.0/graphics/fb0/blank
> > > > > > # unblank LCD panel fbdev
> > > > > > echo 0 > /sys/devices/platform/sh_mobile_lcdc_fb.0/graphics/fb0/blank
> > > > > >
> > > > > > Not-yet-signed-off-by: Magnus Damm <damm@opensource.se>
> > > > > > ---
> > > > > >
> > > > > > arch/arm/mach-shmobile/pm_runtime.c | 227 ++++++++++++++++++++++++++++++++++-
> > > > > > 1 file changed, 222 insertions(+), 5 deletions(-)
> > > > >
> > > > > Your patch worked mostly, below is a small addition (to be applied on top
> > > > > of your patch), that adds several new domains and devices and fixes a
> > > > > couple of issues with your original patch. Notice an "#if 0" around i2c
> > > > > devices: activating them causes problems - output on the LCDC disappears
> > > > > and the boot process doesn't complete, but without a serial console I
> > > > > couldn't tell, what exactly was the problem. Should be investigated
> > > > > further.
> > > >
> > > > Below is a fixed version of the earlier proposed fix;)
> > >
> > > v3: I think, I've got the use-counting and power-domain initialisation
> > > correct this time too. At least this version works without any need to
> > > modify the runtime PM core.
> >
> > v4: (1) add checks for BIT_ACTIVE for devices without any clocks
> > associated with them, this fixes Oopses. (2) I think, this time I've
> > finally found _the_ correct time and place to remove the "prd" from the
> > list. As before, this is a work in progress, subject to change, depending
> > on surrounding developments. Posting here just for reference.
>
> Please have a look at these patches:
> https://patchwork.kernel.org/patch/740162/
> https://patchwork.kernel.org/patch/740152/
> which are based on the patchset from:
> git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6.git power-domains
I had to rebase this branch due to recent modifications requested by reviewers.
Also the two patches above have been updated, but the latest versions have
been tested with the A4LC power domain and LCDC and confirmed to work.
> Do you think it would be possible to rebase your work on top of them?
> If not, please tell me what the problems are.
Thanks,
Rafael
next prev parent reply other threads:[~2011-04-30 1:02 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-11 19:49 [PATCH/RFC] ARM: mach-shmobile: sh7372 power domain prototype Magnus Damm
2011-04-11 22:45 ` Rafael J. Wysocki
2011-04-15 19:35 ` Guennadi Liakhovetski
2011-04-18 9:41 ` Magnus Damm
2011-04-18 20:08 ` Rafael J. Wysocki
2011-04-19 10:55 ` Guennadi Liakhovetski
2011-04-21 7:37 ` Guennadi Liakhovetski
2011-04-29 17:19 ` Guennadi Liakhovetski
2011-04-29 20:16 ` Rafael J. Wysocki
2011-04-30 1:02 ` Rafael J. Wysocki [this message]
2011-05-03 8:22 ` Guennadi Liakhovetski
2011-05-03 22:37 ` Rafael J. Wysocki
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=201104300302.58675.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=linux-sh@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.