From: ohad@wizery.com (Ohad Ben-Cohen)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 00/17] omap: mailbox: reorganize init
Date: Fri, 14 May 2010 18:09:30 +0300 [thread overview]
Message-ID: <AANLkTildHTovAq6DZa2nPgYwX3BHsHuvM9oKGFssFH6-@mail.gmail.com> (raw)
In-Reply-To: <1273849310-32169-1-git-send-email-felipe.contreras@gmail.com>
Hi Felipe,
On Fri, May 14, 2010 at 6:01 PM, Felipe Contreras
<felipe.contreras@gmail.com> wrote:
> Hi,
>
> The main purpose of this patch series is to be able to compile mach platform
> data as built-in. Otherwise, client modules such as bridgedriver will load the
> platform code, but not the mach code when mailbox is built as a module.
>
> Unfortunately, there's no easy way to do that since plat and mach code are
> deepely interrelated. So the first patches try to separate the mailbox
> registering through a defined omap_mbox_platform_data.
Have you considered converting mailbox to hwmod + omap_device ?
Thanks,
Ohad.
>
> Also, it's worth noting that mailboxes are not a one-to-one mapping to
> resources; that is, some resources belong to multiple mboxes. So it's best to
> think of mailboxes as fake devices. That is why custom platform_data is required.
>
> Finally, a bunch of cleaning up is done in the very first patches, specially for
> OMAP1.
>
> The initial RFC included comments from Felipe Balbi, and this proposal includes
> comments from Tony Lindgren.
>
> v2:
> ?* Rebased on top of Hiroshi's v2.6.34-rc7.mailbox
> ?* A bit more extra cleanups
>
> v1 was tested on OMAP3 (beagleboard), and compiled-tested for OMAP1.
> v2 was compile-tested for OMAP3 and 1.
>
> Felipe Contreras (17):
> ?omap: mailbox: trivial whitespace cleanups
> ?omap: mailbox: trivial cleanups
> ?omap: mailbox: reorganize structures
> ?omap: mailbox: 2420 should be detected at run-time
> ?omap: mailbox: use correct config for omap1
> ?omap: mailbox: update omap1 probing
> ?omap: mailbox: reorganize registering
> ?omap: mailbox: only compile for configured archs
> ?omap: mailbox: reorganize omap platform_device
> ?omap: mailbox: move more stuff to omap_mbox_init()
> ?omap: mailbox: trivial sync between omap1 and 2
> ?omap: mailbox: split platform driver
> ?omap: mailbox: always built-in platform data
> ?omap: mailbox: reorganize headers
> ?omap: mailbox: don't export unecessary symbols
> ?omap: mailbox: mark some resources as __initdata
> ?omap: mailbox: don't export register/unregister
>
> ?arch/arm/mach-omap1/Makefile ? ? ? ? ? ? ?| ? ?6 +-
> ?arch/arm/mach-omap1/devices.c ? ? ? ? ? ? | ? 40 -----
> ?arch/arm/mach-omap1/mailbox.c ? ? ? ? ? ? | ?118 ++++++++------
> ?arch/arm/mach-omap2/Makefile ? ? ? ? ? ? ?| ? ?5 +-
> ?arch/arm/mach-omap2/devices.c ? ? ? ? ? ? | ? 92 -----------
> ?arch/arm/mach-omap2/mailbox.c ? ? ? ? ? ? | ?254 ++++++++++++++++-------------
> ?arch/arm/plat-omap/include/plat/mailbox.h | ? 10 +-
> ?arch/arm/plat-omap/mailbox.c ? ? ? ? ? ? ?| ? 89 +++++++---
> ?8 files changed, 290 insertions(+), 324 deletions(-)
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at ?http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2010-05-14 15:09 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-14 15:01 [PATCH v2 00/17] omap: mailbox: reorganize init Felipe Contreras
2010-05-14 15:01 ` [PATCH v2 01/17] omap: mailbox: trivial whitespace cleanups Felipe Contreras
2010-05-14 15:01 ` [PATCH v2 02/17] omap: mailbox: trivial cleanups Felipe Contreras
2010-05-14 15:01 ` [PATCH v2 03/17] omap: mailbox: reorganize structures Felipe Contreras
2010-05-14 15:01 ` [PATCH v2 04/17] omap: mailbox: 2420 should be detected at run-time Felipe Contreras
2010-05-14 15:01 ` [PATCH v2 05/17] omap: mailbox: use correct config for omap1 Felipe Contreras
2010-05-14 15:01 ` [PATCH v2 06/17] omap: mailbox: update omap1 probing Felipe Contreras
2010-05-14 15:01 ` [PATCH v2 07/17] omap: mailbox: reorganize registering Felipe Contreras
2010-05-14 15:01 ` [PATCH v2 08/17] omap: mailbox: only compile for configured archs Felipe Contreras
2010-05-14 21:27 ` Kanigeri, Hari
2010-05-14 22:24 ` Felipe Contreras
2010-05-14 15:01 ` [PATCH v2 09/17] omap: mailbox: reorganize omap platform_device Felipe Contreras
2010-05-14 15:01 ` [PATCH v2 10/17] omap: mailbox: move more stuff to omap_mbox_init() Felipe Contreras
2010-05-14 15:01 ` [PATCH v2 11/17] omap: mailbox: trivial sync between omap1 and 2 Felipe Contreras
2010-05-14 15:01 ` [PATCH v2 12/17] omap: mailbox: split platform driver Felipe Contreras
2010-05-14 15:01 ` [PATCH v2 13/17] omap: mailbox: always built-in platform data Felipe Contreras
2010-05-14 15:01 ` [PATCH v2 14/17] omap: mailbox: reorganize headers Felipe Contreras
2010-05-14 15:01 ` [PATCH v2 15/17] omap: mailbox: don't export unecessary symbols Felipe Contreras
2010-05-14 15:01 ` [PATCH v2 16/17] omap: mailbox: mark some resources as __initdata Felipe Contreras
2010-05-14 15:01 ` [PATCH v2 17/17] omap: mailbox: don't export register/unregister Felipe Contreras
2010-05-14 15:09 ` Ohad Ben-Cohen [this message]
2010-05-14 19:03 ` [PATCH v2 00/17] omap: mailbox: reorganize init Felipe Contreras
2010-05-15 8:36 ` Ohad Ben-Cohen
2010-05-18 8:46 ` Hiroshi DOYU
2010-05-18 12:03 ` Felipe Contreras
2010-05-18 13:31 ` Hiroshi DOYU
2010-05-18 16:57 ` Felipe Contreras
2010-05-18 19:58 ` Hiroshi DOYU
2010-05-19 10:03 ` Felipe Contreras
2010-05-19 18:13 ` Tony Lindgren
2010-05-21 21:51 ` 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=AANLkTildHTovAq6DZa2nPgYwX3BHsHuvM9oKGFssFH6-@mail.gmail.com \
--to=ohad@wizery.com \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).