[PATCH 05/17] omap4: pm: Initialise all the clockdomains to supported states

Santosh Shilimkar santosh.shilimkar at ti.com
Thu Mar 3 11:14:43 EST 2011


> -----Original Message-----
> From: Kevin Hilman [mailto:khilman at ti.com]
> Sent: Thursday, March 03, 2011 3:48 AM
> To: Santosh Shilimkar
> Cc: linux-omap at vger.kernel.org; linux-arm-
> kernel at lists.infradead.org; Rajendra Nayak
> Subject: Re: [PATCH 05/17] omap4: pm: Initialise all the
> clockdomains to supported states
>
> Santosh Shilimkar <santosh.shilimkar at ti.com> writes:
>
> > Initialise hardware supervised mode for all clockdomains if it's
> > supported. Initiate sleep transition for other clockdomains,
> > if they are not being used.
> >
> > Signed-off-by: Santosh Shilimkar <santosh.shilimkar at ti.com>
> > Signed-off-by: Rajendra Nayak <rnayak at ti.com>
> > Reviewed-by: Kevin Hilman <khilman at ti.com>
> > ---
> >  arch/arm/mach-omap2/pm44xx.c |   22 +++++++++++++++++++++-
> >  1 files changed, 21 insertions(+), 1 deletions(-)
> >
> > diff --git a/arch/arm/mach-omap2/pm44xx.c b/arch/arm/mach-
> omap2/pm44xx.c
> > index b142673..9a9dc41 100644
> > --- a/arch/arm/mach-omap2/pm44xx.c
> > +++ b/arch/arm/mach-omap2/pm44xx.c
> > @@ -17,9 +17,11 @@
> >  #include <linux/slab.h>
> >  #include <plat/clock.h>
> >
> > -#include "powerdomain.h"
> >  #include <mach/omap4-common.h>
> >
> > +#include "powerdomain.h"
> > +#include "clockdomain.h"
> > +
> >  struct power_state {
> >  	struct powerdomain *pwrdm;
> >  	u32 next_state;
> > @@ -74,6 +76,22 @@ static const struct platform_suspend_ops
> omap_pm_ops = {
> >  };
> >  #endif /* CONFIG_SUSPEND */
> >
> > +/*
> > + * Enable hardwarew supervised mode for all clockdomains if it's
>
> typo: hardware
>
Fixed



More information about the linux-arm-kernel mailing list