From: Felipe Contreras <felipe.contreras@gmail.com>
To: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Cc: h-kanigeri2@ti.com, linux-omap@vger.kernel.org, tony@atomide.com,
ohad@wizery.com
Subject: Re: [RFC/PATCH 6/8] omap: mailbox: more more stuff to omap2_mbox_init
Date: Tue, 4 May 2010 11:42:15 +0300 [thread overview]
Message-ID: <x2w94a0d4531005040142y719ceae9i362341a638ebc976@mail.gmail.com> (raw)
In-Reply-To: <20100504.090417.242149613.Hiroshi.DOYU@nokia.com>
On Tue, May 4, 2010 at 9:04 AM, Hiroshi DOYU <Hiroshi.DOYU@nokia.com> wrote:
> From: "ext Kanigeri, Hari" <h-kanigeri2@ti.com>
> Subject: RE: [RFC/PATCH 6/8] omap: mailbox: more more stuff to omap2_mbox_init
> Date: Mon, 3 May 2010 20:50:39 +0200
>> 2. Compare iommu_get with mailbox_get. iommu_get uses
>> driver_find_device to get the iommu structure. I guess we can apply
>> the same logic to get mailbox structure. This way we can get rid of
>> omap_mbox_register, omap_mbox_unregister, and find_mboxes functions.
>
> Right. The same logic could be applied.
How? In omap2 there are two mailboxes, but the memory is the same. In
omap4 there are two mailboxes, but the memory region _and_ irqs are
the same.
Platform devices cannot share resources... so all the mailboxes are
part of a single platform device.
--
Felipe Contreras
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2010-05-04 8:42 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-02 23:59 [RFC/PATCH 0/8] omap: mailbox: split platform_driver Felipe Contreras
2010-05-02 23:59 ` [RFC/PATCH 1/8] omap: mailbox: trivial cleanups Felipe Contreras
2010-05-02 23:59 ` [RFC/PATCH 2/8] omap: mailbox: reorganize structures Felipe Contreras
2010-05-02 23:59 ` [RFC/PATCH 3/8] omap: mailbox: 2420 should be detected at run-time Felipe Contreras
2010-05-02 23:59 ` [RFC/PATCH 4/8] omap: mailbox: reorganize omap2 registering Felipe Contreras
2010-05-03 0:02 ` [RFC/PATCH 5/8] omap: mailbox: reorganize omap2 platform_device Felipe Contreras
2010-05-03 18:10 ` Tony Lindgren
2010-05-03 18:14 ` Felipe Contreras
2010-05-03 0:02 ` [RFC/PATCH 6/8] omap: mailbox: more more stuff to omap2_mbox_init Felipe Contreras
2010-05-03 13:42 ` Kanigeri, Hari
2010-05-03 15:08 ` Felipe Contreras
2010-05-03 18:50 ` Kanigeri, Hari
2010-05-03 19:22 ` Felipe Contreras
2010-05-04 6:04 ` Hiroshi DOYU
2010-05-04 8:42 ` Felipe Contreras [this message]
2010-05-03 0:02 ` [RFC/PATCH 7/8] omap: mailbox: split platform_driver Felipe Contreras
2010-05-03 0:02 ` [RFC/PATCH 8/8] omap: mailbox: always built-in omap2 platform data Felipe Contreras
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=x2w94a0d4531005040142y719ceae9i362341a638ebc976@mail.gmail.com \
--to=felipe.contreras@gmail.com \
--cc=Hiroshi.DOYU@nokia.com \
--cc=h-kanigeri2@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=ohad@wizery.com \
--cc=tony@atomide.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).