All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tero Kristo <t-kristo@ti.com>
To: Jean Pihet <jean.pihet@newoldbits.com>
Cc: linux-omap@vger.kernel.org, khilman@ti.com, paul@pwsan.com,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCHv4 8/8] ARM: OMAP4: PM: Added option for enabling OSWR
Date: Thu, 3 May 2012 19:14:03 +0300	[thread overview]
Message-ID: <1336061643.2149.213.camel@sokoban> (raw)
In-Reply-To: <CAORVsuWVMa-_T4JuXTwT6sePhp0mPoE9U_xhwA28AULveeiM+w@mail.gmail.com>


<clip>

> > @@ -274,8 +278,16 @@ static int __init pm_dbg_init(void)
> >
> >        pwrdm_for_each(pwrdms_setup, (void *)d);
> >
> > -       (void) debugfs_create_file("enable_off_mode", S_IRUGO | S_IWUSR, d,
> > -                                  &enable_off_mode, &pm_dbg_option_fops);
> > +       if (cpu_is_omap34xx())
> > +               (void) debugfs_create_file("enable_off_mode",
> > +                       S_IRUGO | S_IWUSR, d, &enable_off_mode,
> > +                       &pm_dbg_option_fops);
> Is the enable_off_mode entry needed on other OMAP platorms (OMAP<3)?

Actually I am not sure, I've never used OMAP2. It looks like at least
the kernel does not support off-mode for OMAP2, but according to TRM it
might be possible to support it on HW.

-Tero


WARNING: multiple messages have this Message-ID (diff)
From: t-kristo@ti.com (Tero Kristo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCHv4 8/8] ARM: OMAP4: PM: Added option for enabling OSWR
Date: Thu, 3 May 2012 19:14:03 +0300	[thread overview]
Message-ID: <1336061643.2149.213.camel@sokoban> (raw)
In-Reply-To: <CAORVsuWVMa-_T4JuXTwT6sePhp0mPoE9U_xhwA28AULveeiM+w@mail.gmail.com>


<clip>

> > @@ -274,8 +278,16 @@ static int __init pm_dbg_init(void)
> >
> >        pwrdm_for_each(pwrdms_setup, (void *)d);
> >
> > -       (void) debugfs_create_file("enable_off_mode", S_IRUGO | S_IWUSR, d,
> > -                                  &enable_off_mode, &pm_dbg_option_fops);
> > +       if (cpu_is_omap34xx())
> > +               (void) debugfs_create_file("enable_off_mode",
> > +                       S_IRUGO | S_IWUSR, d, &enable_off_mode,
> > +                       &pm_dbg_option_fops);
> Is the enable_off_mode entry needed on other OMAP platorms (OMAP<3)?

Actually I am not sure, I've never used OMAP2. It looks like@least
the kernel does not support off-mode for OMAP2, but according to TRM it
might be possible to support it on HW.

-Tero

  reply	other threads:[~2012-05-03 16:14 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-20  9:19 [PATCHv4 0/8] ARM: OMAP4: core retention support Tero Kristo
2012-04-20  9:19 ` Tero Kristo
2012-04-20  9:19 ` [PATCHv4 1/8] ARM: OMAP4: suspend: Program all domains to retention Tero Kristo
2012-04-20  9:19   ` Tero Kristo
2012-04-20  9:19 ` [PATCHv4 2/8] TEMP: ARM: OMAP4: hwmod_data: Do not get DSP out of reset at boot time Tero Kristo
2012-04-20  9:19   ` Tero Kristo
2012-04-20  9:19 ` [PATCHv4 3/8] ARM: OMAP4460: Workaround for ROM bug because of CA9 r2pX gic control register change Tero Kristo
2012-04-20  9:19   ` Tero Kristo
2012-04-20  9:19 ` [PATCHv4 4/8] ARM: OMAP4: hwmod: flag hwmods/modules supporting module level context status Tero Kristo
2012-04-20  9:19   ` Tero Kristo
2012-04-23 15:52   ` Jon Hunter
2012-04-23 15:52     ` Jon Hunter
2012-04-24 14:46     ` Tero Kristo
2012-04-24 14:46       ` Tero Kristo
2012-04-24 17:14       ` Cousson, Benoit
2012-04-24 17:14         ` Cousson, Benoit
2012-05-15 22:22         ` Kevin Hilman
2012-05-15 22:22           ` Kevin Hilman
2012-05-16  5:24           ` Rajendra Nayak
2012-05-16  5:24             ` Rajendra Nayak
2012-05-16  5:45             ` Rajendra Nayak
2012-05-16  5:45               ` Rajendra Nayak
2012-05-22 14:20               ` Tero Kristo
2012-05-22 14:20                 ` Tero Kristo
2012-05-22 14:29                 ` Cousson, Benoit
2012-05-22 14:29                   ` Cousson, Benoit
2012-04-20  9:19 ` [PATCHv4 5/8] ARM: OMAP: hwmod: Add support for per hwmod/module context lost count Tero Kristo
2012-04-20  9:19   ` Tero Kristo
2012-04-20  9:19 ` [PATCHv4 6/8] ARM: OMAP4: PM: support ret_logic/mem_off_counters Tero Kristo
2012-04-20  9:19   ` Tero Kristo
2012-05-02  8:45   ` Bedia, Vaibhav
2012-05-02  8:45     ` Bedia, Vaibhav
2012-05-02  9:20     ` Tero Kristo
2012-05-02  9:20       ` Tero Kristo
2012-05-02  9:55       ` Bedia, Vaibhav
2012-05-02  9:55         ` Bedia, Vaibhav
2012-05-08  0:19   ` Kevin Hilman
2012-05-08  0:19     ` Kevin Hilman
2012-05-08  8:03     ` Tero Kristo
2012-05-08  8:03       ` Tero Kristo
2012-05-08  8:36     ` Tero Kristo
2012-05-08  8:36       ` Tero Kristo
2012-05-08  8:57       ` Rajendra Nayak
2012-05-08  8:57         ` Rajendra Nayak
2012-05-08  9:09         ` Tero Kristo
2012-05-08  9:09           ` Tero Kristo
2012-05-08  9:15           ` Rajendra Nayak
2012-05-08  9:15             ` Rajendra Nayak
2012-05-08  9:49             ` Tero Kristo
2012-05-08  9:49               ` Tero Kristo
2012-04-20  9:19 ` [PATCHv4 7/8] ARM: OMAP4: PM: Add next_logic_state param to power_state Tero Kristo
2012-04-20  9:19   ` Tero Kristo
2012-04-20  9:19 ` [PATCHv4 8/8] ARM: OMAP4: PM: Added option for enabling OSWR Tero Kristo
2012-04-20  9:19   ` Tero Kristo
2012-05-03 11:03   ` Jean Pihet
2012-05-03 11:03     ` Jean Pihet
2012-05-03 16:14     ` Tero Kristo [this message]
2012-05-03 16:14       ` Tero Kristo

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=1336061643.2149.213.camel@sokoban \
    --to=t-kristo@ti.com \
    --cc=jean.pihet@newoldbits.com \
    --cc=khilman@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=paul@pwsan.com \
    /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.