From mboxrd@z Thu Jan 1 00:00:00 1970 From: Loic PALLARDY Subject: Re: [PATCH 1/2] ARM: OMAP2+: move mailbox.h out of plat-omap headers Date: Wed, 31 Oct 2012 09:45:09 +0100 Message-ID: <5090E515.9050407@st.com> References: <1351530381-11459-1-git-send-email-omar.luna@linaro.org> <1351530381-11459-2-git-send-email-omar.luna@linaro.org> <20121029175228.GD11908@atomide.com> <20121030162441.GF11908@atomide.com> <20121030210213.GA6098@kroah.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Return-path: In-Reply-To: Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: Omar Ramirez Luna Cc: Greg Kroah-Hartman , Tony Lindgren , Ohad Ben-Cohen , "devel@driverdev.osuosl.org" , "linux-omap@vger.kernel.org" , Russell King , Arnd Bergmann , Juan Gutierrez , "linux-kernel@vger.kernel.org" , Felipe Contreras , Suman Anna , "linux-arm-kernel@lists.infradead.org" , Linus Walleij List-Id: linux-omap@vger.kernel.org Hi Omar, On 10/31/2012 08:22 AM, Omar Ramirez Luna wrote: > > As part of plat-omap code cleanup, I was planning to 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. And 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. On STE side, we are working on a mailbox driver which will rely on mailbox framework. However some modifications in current Omap mailbox framework are needed to fit STE HW specificities. - API naming should be generic (replace omap prefix by mailbox) - message type should be enhanced - fifo mechanism is linked to Omap maibox, not needed in STE case since it relies on cross interrupt + shared memory I already have modifications I'll send you to see how we can create a common and generic mailbox framework. Regards Loic