linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] drivers: mailbox: omap-mailbox out of plat code
@ 2012-11-06  2:55 Omar Ramirez Luna
  2012-11-06  2:55 ` [PATCH v2 1/2] mailbox: OMAP: introduce mailbox framework Omar Ramirez Luna
  2012-11-06  2:55 ` [PATCH v2 2/2] mailbox: split internal header from API header Omar Ramirez Luna
  0 siblings, 2 replies; 10+ messages in thread
From: Omar Ramirez Luna @ 2012-11-06  2:55 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Russell King, Tony Lindgren, Janusz Krzysztofik,
	Omar Ramirez Luna, Loic PALLARDY, Arnd Bergmann, Ohad Ben-Cohen,
	Mark Brown, Dom Cobley, Wim Van Sebroeck, Linus Walleij,
	Suman Anna, Juan Gutierrez, Felipe Contreras, Tejun Heo,
	linux-arm-kernel, linux-kernel, linux-omap

As part of plat-omap code cleanup, move omap-mailbox framework to
a newly drivers/mailbox folder, right now this code is specific to
OMAP platforms, but with some clean up it could be the base for a
generic framework; living under drivers/mailbox could give it some
exposure for interested developers to give feedback and propose changes.

In the past there was a mailbox-like driver in mach-ux500, I was
hoping both could live under the same folder, however the platform
using it, was dropped a couple of kernel releases back and with it the
other similar mailbox implementation.

However and as per Loic's comments[1], it looks like there could be
another potential mailbox candidate to live under drivers/mailbox in the
works, along with some proposed changes that could make the original
framework to evolve towards a generic implementation.

So for now, lets move the mailbox code to drivers/mailbox and split
internal structures from common API for others to use.

Based on 3.7-rc4.

1. https://lkml.org/lkml/2012/10/31/123

Omar Ramirez Luna (2):
  mailbox: OMAP: introduce mailbox framework
  mailbox: split internal header from API header

 arch/arm/configs/omap1_defconfig          |    3 +-
 arch/arm/mach-omap1/Makefile              |    4 -
 arch/arm/mach-omap1/mailbox.c             |  199 ------------
 arch/arm/mach-omap2/Makefile              |    3 -
 arch/arm/mach-omap2/devices.c             |    4 +-
 arch/arm/mach-omap2/mailbox.c             |  430 --------------------------
 arch/arm/plat-omap/Kconfig                |   16 -
 arch/arm/plat-omap/Makefile               |    3 -
 arch/arm/plat-omap/include/plat/mailbox.h |  105 -------
 arch/arm/plat-omap/mailbox.c              |  435 --------------------------
 drivers/Kconfig                           |    2 +
 drivers/Makefile                          |    1 +
 drivers/mailbox/Kconfig                   |   37 +++
 drivers/mailbox/Makefile                  |    4 +
 drivers/mailbox/mailbox-omap1.c           |  200 ++++++++++++
 drivers/mailbox/mailbox-omap2.c           |  430 ++++++++++++++++++++++++++
 drivers/mailbox/mailbox.c                 |  469 +++++++++++++++++++++++++++++
 drivers/mailbox/mailbox.h                 |   59 ++++
 include/linux/mailbox.h                   |   22 ++
 19 files changed, 1228 insertions(+), 1198 deletions(-)
 delete mode 100644 arch/arm/mach-omap1/mailbox.c
 delete mode 100644 arch/arm/mach-omap2/mailbox.c
 delete mode 100644 arch/arm/plat-omap/include/plat/mailbox.h
 delete mode 100644 arch/arm/plat-omap/mailbox.c
 create mode 100644 drivers/mailbox/Kconfig
 create mode 100644 drivers/mailbox/Makefile
 create mode 100644 drivers/mailbox/mailbox-omap1.c
 create mode 100644 drivers/mailbox/mailbox-omap2.c
 create mode 100644 drivers/mailbox/mailbox.c
 create mode 100644 drivers/mailbox/mailbox.h
 create mode 100644 include/linux/mailbox.h

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-11-07  6:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-06  2:55 [PATCH v2 0/2] drivers: mailbox: omap-mailbox out of plat code Omar Ramirez Luna
2012-11-06  2:55 ` [PATCH v2 1/2] mailbox: OMAP: introduce mailbox framework Omar Ramirez Luna
2012-11-06  3:40   ` Stephen Warren
2012-11-06  8:55     ` Linus Walleij
2012-11-06  8:59       ` Greg Kroah-Hartman
2012-11-07  1:10         ` Omar Ramirez Luna
2012-11-07  1:05     ` Omar Ramirez Luna
2012-11-06  2:55 ` [PATCH v2 2/2] mailbox: split internal header from API header Omar Ramirez Luna
2012-11-06 12:53   ` Loic PALLARDY
2012-11-07  6:41     ` Omar Ramirez Luna

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).