All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@deeprootsystems.com>
To: Ohad Ben-Cohen <ohad@wizery.com>
Cc: Felipe Contreras <felipe.contreras@gmail.com>,
	linux-omap <linux-omap@vger.kernel.org>,
	Hiroshi Doyu <hiroshi.doyu@nokia.com>,
	Paul Walmsley <paul@pwsan.com>
Subject: Re: [RFC/PATCH 0/2] omap: mailbox: hwmod experiment
Date: Mon, 24 May 2010 17:02:09 -0700	[thread overview]
Message-ID: <87vdacu9vi.fsf@deeprootsystems.com> (raw)
In-Reply-To: <AANLkTikrjWVfK69M4f22dmYapXZk0tPwD4NGzpmmsFJj@mail.gmail.com> (Ohad Ben-Cohen's message of "Mon\, 24 May 2010 22\:55\:28 +0300")

Ohad Ben-Cohen <ohad@wizery.com> writes:

> On Mon, May 24, 2010 at 10:33 PM, Felipe Contreras
> <felipe.contreras@gmail.com> wrote:
>> On Mon, May 24, 2010 at 8:29 PM, Ohad Ben-Cohen <ohad@wizery.com> wrote:
>>> On Sat, May 22, 2010 at 8:25 PM, Felipe Contreras
>>> <felipe.contreras@gmail.com> wrote:
>>>> I played a bit with omap_hwmod/omap_device for the mailbox, and this is the
>>>> result.
>>>
>>> Nice move Felipe :)
>>
>> Thanks :)
>>
>>> Can you convert this to use the runtime PM layer, instead of directly
>>> calling omap_device functions via pdata ?
>>
>> Well, I didn't see anybody using omap_device, so I just assumed from
>> reading the code.
>>
>> Recently I saw some patches using this pm_runtime stuff, but it seems
>> to be for some pm branch... not sure which one.
>
> check out pm-wip/mmc on
> git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm.git
> :)

Agreed, using runtime PM, you no longer need to call omap_device
functions directly.

As pointed out by Ohad, the pm-wip/mmc branch has an example
conversion of the MMC driver with this approach.

Kevin

      reply	other threads:[~2010-05-25  0:02 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-22 17:25 [RFC/PATCH 0/2] omap: mailbox: hwmod experiment Felipe Contreras
2010-05-22 17:25 ` [RFC/PATCH 1/2] omap: mailbox: initial hwmod support Felipe Contreras
2010-05-24  0:59   ` Kanigeri, Hari
2010-05-24 23:56     ` Kevin Hilman
2010-05-25  0:00   ` Kevin Hilman
2010-05-25  0:29     ` Felipe Contreras
2010-05-25 14:49       ` Kevin Hilman
2010-05-25 15:23         ` Felipe Contreras
2010-05-25 16:08           ` Kevin Hilman
2010-05-22 17:25 ` [RFC/PATCH 2/2] omap: mailbox: add omap_device latency information Felipe Contreras
2010-05-24 17:29 ` [RFC/PATCH 0/2] omap: mailbox: hwmod experiment Ohad Ben-Cohen
2010-05-24 19:33   ` Felipe Contreras
2010-05-24 19:55     ` Ohad Ben-Cohen
2010-05-25  0:02       ` Kevin Hilman [this message]

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=87vdacu9vi.fsf@deeprootsystems.com \
    --to=khilman@deeprootsystems.com \
    --cc=felipe.contreras@gmail.com \
    --cc=hiroshi.doyu@nokia.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=ohad@wizery.com \
    --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.