public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: "Rajendra Nayak" <rnayak@ti.com>
To: "'\"Högander\" Jouni'" <jouni.hogander@nokia.com>
Cc: linux-omap@vger.kernel.org
Subject: RE: [PATCH 00/11] OMAP3 CPUidle patches - ver 2
Date: Wed, 13 Aug 2008 11:36:07 +0530	[thread overview]
Message-ID: <00ae01c8fd0a$ad278dd0$LocalHost@wipultra1382> (raw)
In-Reply-To: <00ad01c8fd09$6bcdc6c0$LocalHost@wipultra1382>

> 
> >  
> > Serial and gpio clock disabling and gpio_prepare/resume can 
> be removed 
> > from omap3_pm_idle because they are already done in omap_sram_idle. 
> > And if omap_serial_can_sleep is removed from 
> omap3_can_sleep it should 
> > be added to omap3_pm_idle.
> > Omap3_pm_idle can be also put behind #ifndef CONFIG_CPU_IDLE:
> > 
> > +#ifndef CONFIG_CPU_IDLE
> >  static void omap3_pm_idle(void)
> >  {
> >         local_irq_disable();
> > @@ -454,33 +455,16 @@ static void omap3_pm_idle(void)
> >         if (omap_irq_pending())
> >                 goto out;
> >  
> > -       omap2_gpio_prepare_for_retention();
> > -
> > -       if (clocks_off_while_idle) {
> > -               omap_serial_enable_clocks(0, 0);
> > -               omap_serial_enable_clocks(0, 1);
> > -               omap_serial_enable_clocks(0, 2);
> > -               /* XXX This is for gpio fclk hack. Will be 
> removed as
> > -                * gpio driver * handles fcks correctly */
> > -               per_gpio_clk_disable();
> > -       }
> > +       if (!omap_serial_can_sleep())
> > +               goto out;
> >  
> >         omap_sram_idle();
> >  
> > -       if (clocks_off_while_idle) {
> > -               omap_serial_enable_clocks(1, 0);
> > -               omap_serial_enable_clocks(1, 1);
> > -               omap_serial_enable_clocks(1, 2);
> > -               /* XXX This is for gpio fclk hack. Will be 
> removed as
> > -                * gpio driver * handles fcks correctly */
> > -               per_gpio_clk_enable();
> > -       }
> > -
> > -       omap2_gpio_resume_after_retention();
> >  out:
> >         local_fiq_enable();
> >         local_irq_enable();
> >  }
> > +#endif /* CONFIG_CPU_IDLE */
> 
> These are also done as part of the last patch in the series.
> 

Ok.. so I misunderstood your comment initially, I confused omap3_pm_idle with the 
omap3_enter_idle and thought this was already done.
Yes, these can be now removed.


  reply	other threads:[~2008-08-13  6:06 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-01 14:16 [PATCH 00/11] OMAP3 CPUidle patches Rajendra Nayak
2008-07-02 13:11 ` Peter 'p2' De Schrijver
2008-07-02 13:37   ` Rajendra Nayak
2008-07-02 15:42     ` Peter 'p2' De Schrijver
2008-07-03  8:39       ` Rajendra Nayak
2008-07-03 12:44         ` Peter 'p2' De Schrijver
2008-07-04  7:26         ` Högander Jouni
2008-07-04  9:32           ` Högander Jouni
2008-07-04  9:45             ` Koen Kooi
2008-07-04  9:45             ` Rajendra Nayak
2008-07-04  9:55               ` Högander Jouni
2008-07-04 11:08               ` Högander Jouni
2008-07-07  9:38               ` Kalle Jokiniemi
2008-07-07  9:56                 ` Högander Jouni
2008-07-07 13:58                   ` Premi, Sanjeev
2008-07-07 22:25                     ` Woodruff, Richard
2008-07-08  6:15                       ` Högander Jouni
2008-07-08 12:11                         ` Woodruff, Richard
2008-07-08 13:41                           ` Högander Jouni
2008-07-08 13:52                             ` Woodruff, Richard
2008-07-09  6:48                               ` Högander Jouni
2008-07-09 16:31                                 ` Woodruff, Richard
2008-07-04 11:05             ` Peter 'p2' De Schrijver
2008-07-04 11:39               ` Peter 'p2' De Schrijver
2008-07-03  5:57 ` Högander Jouni
2008-07-03 10:20   ` Rajendra Nayak
2008-07-15 13:20 ` Rajendra Nayak
2008-07-18 13:18 ` [PATCH 00/11] OMAP3 CPUidle patches - ver 2 Rajendra Nayak
     [not found] ` <002f01c8f7c5$0790fea0$LocalHost@wipultra1382>
2008-08-06 13:12   ` Rajendra Nayak
2008-08-07  9:54     ` Kalle Jokiniemi
2008-08-12 12:40     ` Högander Jouni
2008-08-13  5:57       ` Rajendra Nayak
2008-08-13  6:06         ` Rajendra Nayak [this message]
2008-08-13  6:55         ` Högander Jouni
2008-08-13 12:35           ` Woodruff, Richard
2008-08-13 13:12             ` Högander Jouni
2008-08-14  5:25             ` Rajendra Nayak
2008-08-19 19:08     ` Paul Walmsley

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='00ae01c8fd0a$ad278dd0$LocalHost@wipultra1382' \
    --to=rnayak@ti.com \
    --cc=jouni.hogander@nokia.com \
    --cc=linux-omap@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox