From 82bbe4f9991ac9fcd9a5dfc049e1e721b66841d6 Mon Sep 17 00:00:00 2001 From: Jaya Kumar Date: Thu, 1 Jan 2009 17:51:01 +0100 Subject: [PATCH] --- yaml --- r: 137136 b: refs/heads/master c: 4ce255c1420dd7c4b97ad4dabd13fa5d862ad700 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-pxa/Kconfig | 3 + trunk/arch/arm/mach-pxa/Makefile | 1 + trunk/arch/arm/mach-pxa/am300epd.c | 295 ++++++++++++++++++ trunk/arch/arm/mach-pxa/gumstix.c | 6 + .../arch/arm/mach-pxa/include/mach/gumstix.h | 1 + 6 files changed, 307 insertions(+), 1 deletion(-) create mode 100644 trunk/arch/arm/mach-pxa/am300epd.c diff --git a/[refs] b/[refs] index 93464cdeef21..68c00a8eb98f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0d4ff4df341208b1b75e01feca27301c0dcbf490 +refs/heads/master: 4ce255c1420dd7c4b97ad4dabd13fa5d862ad700 diff --git a/trunk/arch/arm/mach-pxa/Kconfig b/trunk/arch/arm/mach-pxa/Kconfig index ffd28e48d75f..9c2221c23663 100644 --- a/trunk/arch/arm/mach-pxa/Kconfig +++ b/trunk/arch/arm/mach-pxa/Kconfig @@ -40,6 +40,9 @@ choice config GUMSTIX_AM200EPD bool "Enable AM200EPD board support" +config GUMSTIX_AM300EPD + bool "Enable AM300EPD board support" + endchoice config MACH_INTELMOTE2 diff --git a/trunk/arch/arm/mach-pxa/Makefile b/trunk/arch/arm/mach-pxa/Makefile index 146aba72fa22..6bfbddc5769d 100644 --- a/trunk/arch/arm/mach-pxa/Makefile +++ b/trunk/arch/arm/mach-pxa/Makefile @@ -28,6 +28,7 @@ obj-$(CONFIG_CPU_PXA930) += pxa930.o # Specific board support obj-$(CONFIG_ARCH_GUMSTIX) += gumstix.o obj-$(CONFIG_GUMSTIX_AM200EPD) += am200epd.o +obj-$(CONFIG_GUMSTIX_AM300EPD) += am300epd.o obj-$(CONFIG_ARCH_LUBBOCK) += lubbock.o obj-$(CONFIG_MACH_LOGICPD_PXA270) += lpd270.o obj-$(CONFIG_MACH_MAINSTONE) += mainstone.o diff --git a/trunk/arch/arm/mach-pxa/am300epd.c b/trunk/arch/arm/mach-pxa/am300epd.c new file mode 100644 index 000000000000..4bd10a17332e --- /dev/null +++ b/trunk/arch/arm/mach-pxa/am300epd.c @@ -0,0 +1,295 @@ +/* + * am300epd.c -- Platform device for AM300 EPD kit + * + * 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. + * + * This work was made possible by help and equipment support from E-Ink + * Corporation. http://support.eink.com/community + * + * This driver is written to be used with the Broadsheet display controller. + * on the AM300 EPD prototype kit/development kit with an E-Ink 800x600 + * Vizplex EPD on a Gumstix board using the Broadsheet interface board. + * + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include + +#include "generic.h" + +#include