All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1][RFC] ARM: shmobile: r8a7740: basic PM domain support
@ 2012-06-25 10:30 Kuninori Morimoto
  2012-06-25 15:55 ` Magnus Damm
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Kuninori Morimoto @ 2012-06-25 10:30 UTC (permalink / raw)
  To: linux-sh


Hi Rafael, Magnus
Cc Simon

This patch adds very basic PM domain support to Armadillo board.

On my debug, it seems accessed correctly to PM domain register.
(saved PM register value when power up/down. and printed it in safety timing)

I tested it on Armadillo board, and maybe OK from "register value" point of view.
But I can't check from "real voltage" point, since ...
 - I don't have measuring machine
 - Armadillo doesn't have measuring spot (?)

I added [RFC] on this patch, since I'm not good at PM frame work.

I tested it by

echo mem > /sys/power/state

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/1][RFC] ARM: shmobile: r8a7740: basic PM domain support
  2012-06-25 10:30 [PATCH 0/1][RFC] ARM: shmobile: r8a7740: basic PM domain support Kuninori Morimoto
@ 2012-06-25 15:55 ` Magnus Damm
  2012-06-28  1:27 ` Kuninori Morimoto
  2012-06-28 21:07 ` Rafael J. Wysocki
  2 siblings, 0 replies; 4+ messages in thread
From: Magnus Damm @ 2012-06-25 15:55 UTC (permalink / raw)
  To: linux-sh

Hi Morimoto-san,

On Mon, Jun 25, 2012 at 7:30 PM, Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com> wrote:
>
> Hi Rafael, Magnus
> Cc Simon
>
> This patch adds very basic PM domain support to Armadillo board.
>
> On my debug, it seems accessed correctly to PM domain register.
> (saved PM register value when power up/down. and printed it in safety timing)
>
> I tested it on Armadillo board, and maybe OK from "register value" point of view.
> But I can't check from "real voltage" point, since ...
>  - I don't have measuring machine
>  - Armadillo doesn't have measuring spot (?)
>
> I added [RFC] on this patch, since I'm not good at PM frame work.
>
> I tested it by
>
> echo mem > /sys/power/state

Thanks for your work on this, Morimoto-san!

In general I think it looks good for a V1, but I wonder about upcoming
patches for PM domain support for board-specific devices on the
Armadillo board. Do you have any other Armadillo-specific patch that
for instance hooks up the board specific LCDC device to the correct
power domain?

I recommend you to test during runtime with subsystem specific
interfaces - not only suspend-to-RAM. As an example, I believe the
LCDC can be powered on and off using some fbdev specific "blanking"
file in sysfs.

Thanks,

/ magnus

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/1][RFC] ARM: shmobile: r8a7740: basic PM domain support
  2012-06-25 10:30 [PATCH 0/1][RFC] ARM: shmobile: r8a7740: basic PM domain support Kuninori Morimoto
  2012-06-25 15:55 ` Magnus Damm
@ 2012-06-28  1:27 ` Kuninori Morimoto
  2012-06-28 21:07 ` Rafael J. Wysocki
  2 siblings, 0 replies; 4+ messages in thread
From: Kuninori Morimoto @ 2012-06-28  1:27 UTC (permalink / raw)
  To: linux-sh


Hi Rafael, Magnus

> In general I think it looks good for a V1, but I wonder about upcoming
> patches for PM domain support for board-specific devices on the
> Armadillo board. Do you have any other Armadillo-specific patch that
> for instance hooks up the board specific LCDC device to the correct
> power domain?
> 
> I recommend you to test during runtime with subsystem specific
> interfaces - not only suspend-to-RAM. As an example, I believe the
> LCDC can be powered on and off using some fbdev specific "blanking"
> file in sysfs.

OK. now I created the incremental patches which enable USB/LCDC PM domain.
Can I send these patches ? or should I wait until Rafael's tree became update ?

Best regards
---
Kuninori Morimoto

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/1][RFC] ARM: shmobile: r8a7740: basic PM domain support
  2012-06-25 10:30 [PATCH 0/1][RFC] ARM: shmobile: r8a7740: basic PM domain support Kuninori Morimoto
  2012-06-25 15:55 ` Magnus Damm
  2012-06-28  1:27 ` Kuninori Morimoto
@ 2012-06-28 21:07 ` Rafael J. Wysocki
  2 siblings, 0 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2012-06-28 21:07 UTC (permalink / raw)
  To: linux-sh

On Thursday, June 28, 2012, Kuninori Morimoto wrote:
> 
> Hi Rafael, Magnus
> 
> > In general I think it looks good for a V1, but I wonder about upcoming
> > patches for PM domain support for board-specific devices on the
> > Armadillo board. Do you have any other Armadillo-specific patch that
> > for instance hooks up the board specific LCDC device to the correct
> > power domain?
> > 
> > I recommend you to test during runtime with subsystem specific
> > interfaces - not only suspend-to-RAM. As an example, I believe the
> > LCDC can be powered on and off using some fbdev specific "blanking"
> > file in sysfs.
> 
> OK. now I created the incremental patches which enable USB/LCDC PM domain.
> Can I send these patches ? or should I wait until Rafael's tree became update ?

Actaully, please drop patch 1 (the RFC), rebase the rest so that they are
not based on this one and repost (preferably organized like I described in
my previous message).

And in the future, please never, _never_ base production patches on RFC ones.

Thanks,
Rafael

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-06-28 21:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-25 10:30 [PATCH 0/1][RFC] ARM: shmobile: r8a7740: basic PM domain support Kuninori Morimoto
2012-06-25 15:55 ` Magnus Damm
2012-06-28  1:27 ` Kuninori Morimoto
2012-06-28 21:07 ` Rafael J. Wysocki

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.