On Tue, May 4, 2010 at 9:04 AM, Hiroshi DOYU <[email protected]> wrote:
> From: "ext Kanigeri, Hari" <[email protected]>
> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to