]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mailbox: OMAP: introduce mailbox framework
authorOmar Ramirez Luna <omar.luna@linaro.org>
Tue, 12 Mar 2013 22:55:29 +0000 (17:55 -0500)
committerSuman Anna <s-anna@ti.com>
Thu, 14 Mar 2013 18:04:30 +0000 (13:04 -0500)
commita1824eaab70f2a5eb7de5f4c6b7f0890bdc7b297
treef27443d95d3a6fa5bf09263d7853eabdeb17b1cd
parent4a1c0e83bb4ec4f962a29f1b33dcbed393ae7a67
mailbox: OMAP: introduce mailbox framework

Actually moving it from plat-omap, as this framework/driver code is
supposed to be under drivers/ folder. The framework should work with
the current supported OMAP processors (OMAP1+) that have mailbox and
can be used as a method of interprocessor communication.

The mailbox hardware (in OMAP) uses a queued mailbox-interrupt mechanism
that provides a communication channel between processors through a set of
registers and their associated interrupt signals by sending and receiving
messages.

As part of the migration from plat and mach code:
- Kconfig symbols have been renamed to build OMAP1 or OMAP2+ drivers.
- mailbox.h has been changed from plat to a dedicated drivers/ folder.

Module names have changed too, instead of mailbox_mach:
- OMAP1: mailbox-omap1.ko
- OMAP2+: mailbox-omap2.ko

Signed-off-by: Omar Ramirez Luna <omar.luna@linaro.org>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
[s-anna@ti.com: Kconfig fixes for build errors]
Signed-off-by: Suman Anna <s-anna@ti.com>
17 files changed:
arch/arm/configs/omap1_defconfig
arch/arm/mach-omap1/Makefile
arch/arm/mach-omap2/Makefile
arch/arm/mach-omap2/devices.c
arch/arm/plat-omap/Kconfig
arch/arm/plat-omap/Makefile
drivers/mailbox/Kconfig
drivers/mailbox/Makefile
drivers/mailbox/mailbox-omap1.c [moved from arch/arm/mach-omap1/mailbox.c with 99% similarity]
drivers/mailbox/mailbox-omap2.c [moved from arch/arm/mach-omap2/mailbox.c with 98% similarity]
drivers/mailbox/mailbox.c [moved from arch/arm/plat-omap/mailbox.c with 97% similarity]
drivers/mailbox/mailbox_internal.h [new file with mode: 0644]
drivers/remoteproc/Kconfig
drivers/remoteproc/omap_remoteproc.c
drivers/staging/tidspbridge/Kconfig
drivers/staging/tidspbridge/include/dspbridge/host_os.h
include/linux/mailbox.h [moved from arch/arm/plat-omap/include/plat/mailbox.h with 90% similarity]