From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jaya Kumar Date: Mon, 01 Feb 2010 10:35:08 +0000 Subject: [PATCH/RFC 2.6.33-rc5 1/1] broadsheetfb: support storing waveform Message-Id: <1265020508-13605-1-git-send-email-jayakumar.lkml@gmail.com> List-Id: References: <1264395836-9892-1-git-send-email-jayakumar.lkml@gmail.com> In-Reply-To: <1264395836-9892-1-git-send-email-jayakumar.lkml@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-fbdev@vger.kernel.org Hi Geert, Krzysztof, Andrew, fbdev friends, This patch adds the ability to store waveforms to broadsheetfb. It uses the firmware class to retrieve the waveform. The request to store the waveform is triggered from a driver sysfs entry called loadstore_waveform. I considered adding this to Documentation/ABI/testing/ but then decided against it. It is not something I would expect a user to ever interact with. It would be only useful for people doing platform bringup and other such dirty activities. Also, I noticed it is not (yet?) common practice to document sysfs entries for fbdev drivers in there. Please let me know your feedback. Thanks, jaya This patch adds waveform storing capability to broadsheetfb. It uses the firmware class to retrieve the waveform, and the request to initiate the waveform storing is done via a driver sysfs entry, loadstore_waveform. Cc: Geert Uytterhoeven Cc: Krzysztof Helt Cc: adaplas@gmail.com Cc: akpm@linux-foundation.org Cc: linux-fbdev@vger.kernel.org Signed-off-by: Jaya Kumar --- drivers/video/broadsheetfb.c | 501 +++++++++++++++++++++++++++++++++++++++++- include/video/broadsheetfb.h | 5 + 2 files changed, 505 insertions(+), 1 deletions(-) diff --git a/drivers/video/broadsheetfb.c b/drivers/video/broadsheetfb.c index 57dc1a0..d3f32e7 100644 --- a/drivers/video/broadsheetfb.c +++ b/drivers/video/broadsheetfb.c @@ -29,6 +29,7 @@ #include #include #include +#include #include #include