Skip to content

OMAP mailbox cleanup

Suman Anna linux-arm-kernel linux-omap 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 7 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 7 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] OMAP mailbox cleanup
Quoted 48 lines · Tony Lindgren
Quoted 35 lines · Suman Anna

Hi,

This patch series is mainly a cleanup of the current OMAP mailbox drivers in preparation for adding DT support and adoption to the upcoming mailbox framework from Jassi Brar [1]. It removes the OMAP1 mailbox driver as there are no users for it in the kernel, and consolidates the previous OMAP mailbox framework and the OMAP2+ mailbox driver into a single OMAP mailbox driver.

The last patch also allows the OMAP mailbox driver to support multiple instances of the IP (for DRA7xx, which is the first SoC in the OMAP family to have more than one System Mailbox IP).

The patches are based on 3.16-rc2 and do not change any of the functional behavior on any OMAP2+ SoCs. The boot logs on various OMAP platforms with these patches are at:

  OMAP2 (SDP2430)           : http://slexy.org/view/s20rOAReeS
  OMAP3 (BeagleXM)          : http://slexy.org/view/s2QITyvzH9
  OMAP4 (PandaBoard)        : http://slexy.org/view/s2X9jdZ9Wh
  OMAP5 (OMAP5 uEVM)        : http://slexy.org/view/s21hZUTYwm
  DRA7  (DRA7 EVM)          : http://slexy.org/view/s213K7f87s

AM33xx (BeagleBone Black) : http://slexy.org/view/s2vB7oxbix
AM43xx (AM437x GP EVM) : http://slexy.org/view/s21rMlUWMg

[1] https://lkml.org/lkml/2014/6/12/470

Suman Anna (7):
mailbox/omap: use devm_* interfaces mailbox/omap: remove OMAP1 mailbox driver mailbox/omap: remove omap_mbox_type_t from mailbox ops mailbox/omap: simplify the fifo assignment by using macros mailbox/omap: consolidate OMAP mailbox driver mailbox/omap: remove the private mailbox structure mailbox/omap: add a parent structure for every IP instance

Quoted 11 lines
 arch/arm/configs/omap1_defconfig |   2 -
 drivers/mailbox/Kconfig          |  19 +-
 drivers/mailbox/Makefile         |   6 +-
 drivers/mailbox/mailbox-omap1.c  | 203 ------------------
 drivers/mailbox/mailbox-omap2.c  | 357 -------------------------------
 drivers/mailbox/omap-mailbox.c   | 444 +++++++++++++++++++++++++++++++--------
 drivers/mailbox/omap-mbox.h      |  67 ------
 7 files changed, 360 insertions(+), 738 deletions(-)
 delete mode 100644 drivers/mailbox/mailbox-omap1.c
 delete mode 100644 drivers/mailbox/mailbox-omap2.c
 delete mode 100644 drivers/mailbox/omap-mbox.h
Quoted 2 lines

I'll apply these on into omap-for-v3.17/mailbox. Might be a bit too late for v3.17 so no guarantees these will get merged.

Understood. Thanks Tony. I will repost them once rc1 is out _if_ they don't make it.

regards
Suman

Quoted 6 lines

But it removes some old dead code, so that's nice ;)

Regards,

Tony