Skip to content

OMAP mailbox cleanup

Tony Lindgren linux-arm-kernel linux-omap 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 of 7 patches 0 repliesNew

1 of 7 patches is in this archive. The cover letter announces 7.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/7mailbox/omap: remove OMAP1 mailbox driver+0 -01 reply

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchTony LindgrenAaro Koskinen
2/7A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] OMAP mailbox cleanup
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

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. But it removes some old dead code, so that's nice ;)

Regards,

Tony