Re: [PATCH 1/3] Powerpc/4xx: Add suspend and idle support

2010-10-08 Thread Victor Gallardo
On Fri, Oct 8, 2010 at 6:46 AM, Josh Boyer wrote: > On Thu, Oct 07, 2010 at 12:07:16PM -0700, Victor Gallardo wrote: > > I hit send too soon on my earlier response.  My apologies. > >>--- /dev/null >>+++ b/arch/powerpc/sysdev/ppc4xx_cpm.c >>@@ -0,0 +1,339 @@ >>+/* >>+ * PowerPC 4xx Clock and Power

Re: [PATCH 1/3] Powerpc/4xx: Add suspend and idle support

2010-10-08 Thread Victor Gallardo
Hi Josh, On Fri, Oct 8, 2010 at 6:35 AM, Josh Boyer wrote: > On Thu, Oct 07, 2010 at 12:07:16PM -0700, Victor Gallardo wrote: >>Add suspend/resume support for all 4xx compatible CPUs. >>See /sys/power/state for available power states configured in. >> >>Add two different idle states (idle-wait a

Re: [PATCH 1/3] Powerpc/4xx: Add suspend and idle support

2010-10-08 Thread Josh Boyer
On Thu, Oct 07, 2010 at 12:07:16PM -0700, Victor Gallardo wrote: I hit send too soon on my earlier response. My apologies. >--- /dev/null >+++ b/arch/powerpc/sysdev/ppc4xx_cpm.c >@@ -0,0 +1,339 @@ >+/* >+ * PowerPC 4xx Clock and Power Management >+ * >+ * Copyright (C) 2010, Applied Micro Circui

Re: [PATCH 1/3] Powerpc/4xx: Add suspend and idle support

2010-10-08 Thread Josh Boyer
On Thu, Oct 07, 2010 at 12:07:16PM -0700, Victor Gallardo wrote: >Add suspend/resume support for all 4xx compatible CPUs. >See /sys/power/state for available power states configured in. > >Add two different idle states (idle-wait and idle-doze) >controlled via sysfs. Default is idle-wait. > c

[PATCH 1/3] Powerpc/4xx: Add suspend and idle support

2010-10-07 Thread Victor Gallardo
Add suspend/resume support for all 4xx compatible CPUs. See /sys/power/state for available power states configured in. Add two different idle states (idle-wait and idle-doze) controlled via sysfs. Default is idle-wait. cat /sys/devices/system/cpu/cpu0/idle [wait] doze To save addi