On Feb 15, 2014, at 12:25 PM, Jassi Brar <jassisinghb...@gmail.com> wrote:
> Introduce common framework for client/protocol drivers and > controller drivers of Inter-Processor-Communication (IPC). > > Client driver developers should have a look at > include/linux/mailbox_client.h to understand the part of > the API exposed to client drivers. > Similarly controller driver developers should have a look > at include/linux/mailbox_controller.h > > Signed-off-by: Jassi Brar <jaswinder.si...@linaro.org> > --- > drivers/mailbox/Makefile | 4 + > drivers/mailbox/mailbox.c | 534 +++++++++++++++++++++++++++++++++++++ > include/linux/mailbox.h | 17 ++ > include/linux/mailbox_client.h | 87 ++++++ > include/linux/mailbox_controller.h | 102 +++++++ > 5 files changed, 744 insertions(+) > create mode 100644 drivers/mailbox/mailbox.c > create mode 100644 include/linux/mailbox.h > create mode 100644 include/linux/mailbox_client.h > create mode 100644 include/linux/mailbox_controller.h What’s the intent of trying to provide a unified interface here? I’m trying to understand what benefit we are going for, I get possibly wanting something to reduce duplication in drivers (help functions, library, etc). But do we really see benefit in a common interface for clients? Are we really going to mix a OMAP mailbox controller with a client developed for some other SoC vendor? - k -- Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/