From 814e5a09cc40abd866016d21a7665c30ab0de30c Mon Sep 17 00:00:00 2001 From: Jaya Kumar Date: Thu, 1 Jan 2009 17:49:19 +0100 Subject: [PATCH] --- yaml --- r: 137135 b: refs/heads/master c: 0d4ff4df341208b1b75e01feca27301c0dcbf490 h: refs/heads/master i: 137133: fb19bedc40d2e21ca0940f35b39ac2b4ac7a835c 137131: 6dc68219817f6161c69d806e6ee95de614c4fd76 137127: 39c49386c6645493d90bbe0c23934a5f8a6ea0b2 137119: f0aa0c37a0e12a1f02bff8ef24a7ef5a684f0b15 v: v3 --- [refs] | 2 +- trunk/drivers/video/Kconfig | 14 + trunk/drivers/video/Makefile | 1 + trunk/drivers/video/broadsheetfb.c | 568 +++++++++++++++++++++++++++++ trunk/include/video/broadsheetfb.h | 59 +++ 5 files changed, 643 insertions(+), 1 deletion(-) create mode 100644 trunk/drivers/video/broadsheetfb.c create mode 100644 trunk/include/video/broadsheetfb.h diff --git a/[refs] b/[refs] index cf8da6397a0e..93464cdeef21 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b4e411294a193e18c41912bc3df03f5b9cd7c823 +refs/heads/master: 0d4ff4df341208b1b75e01feca27301c0dcbf490 diff --git a/trunk/drivers/video/Kconfig b/trunk/drivers/video/Kconfig index f0267706cb45..5aa099bc7690 100644 --- a/trunk/drivers/video/Kconfig +++ b/trunk/drivers/video/Kconfig @@ -2135,6 +2135,20 @@ config FB_MX3 far only synchronous displays are supported. If you plan to use an LCD display with your i.MX31 system, say Y here. +config FB_BROADSHEET + tristate "E-Ink Broadsheet/Epson S1D13521 controller support" + depends on FB + select FB_SYS_FILLRECT + select FB_SYS_COPYAREA + select FB_SYS_IMAGEBLIT + select FB_SYS_FOPS + select FB_DEFERRED_IO + help + This driver implements support for the E-Ink Broadsheet + controller. The release name for this device was Epson S1D13521 + and could also have been called by other names when coupled with + a bridge adapter. + source "drivers/video/omap/Kconfig" source "drivers/video/backlight/Kconfig" diff --git a/trunk/drivers/video/Makefile b/trunk/drivers/video/Makefile index 2a998ca6181d..edd5a85c1eb5 100644 --- a/trunk/drivers/video/Makefile +++ b/trunk/drivers/video/Makefile @@ -106,6 +106,7 @@ obj-$(CONFIG_FB_PMAG_BA) += pmag-ba-fb.o obj-$(CONFIG_FB_PMAGB_B) += pmagb-b-fb.o obj-$(CONFIG_FB_MAXINE) += maxinefb.o obj-$(CONFIG_FB_METRONOME) += metronomefb.o +obj-$(CONFIG_FB_BROADSHEET) += broadsheetfb.o obj-$(CONFIG_FB_S1D13XXX) += s1d13xxxfb.o obj-$(CONFIG_FB_SH7760) += sh7760fb.o obj-$(CONFIG_FB_IMX) += imxfb.o diff --git a/trunk/drivers/video/broadsheetfb.c b/trunk/drivers/video/broadsheetfb.c new file mode 100644 index 000000000000..509cb92e8731 --- /dev/null +++ b/trunk/drivers/video/broadsheetfb.c @@ -0,0 +1,568 @@ +/* + * broadsheetfb.c -- FB driver for E-Ink Broadsheet controller + * + * Copyright (C) 2008, Jaya Kumar + * + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file COPYING in the main directory of this archive for + * more details. + * + * Layout is based on skeletonfb.c by James Simmons and Geert Uytterhoeven. + * + * This driver is written to be used with the Broadsheet display controller. + * + * It is intended to be architecture independent. A board specific driver + * must be used to perform all the physical IO interactions. + * + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include