From e345499d8edea2f2754907ceebd39443cf313d71 Mon Sep 17 00:00:00 2001 From: Lennert Buytenhek Date: Wed, 11 Feb 2009 17:25:24 +0800 Subject: [PATCH] --- yaml --- r: 149374 b: refs/heads/master c: 638772c7553f6893f7b346bfee4d46851af59afc h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/video/Kconfig | 10 + trunk/drivers/video/Makefile | 1 + trunk/drivers/video/pxa168fb.c | 803 +++++++++++++++++++++++++++++++++ trunk/drivers/video/pxa168fb.h | 558 +++++++++++++++++++++++ trunk/include/video/pxa168fb.h | 127 ++++++ 6 files changed, 1500 insertions(+), 1 deletion(-) create mode 100644 trunk/drivers/video/pxa168fb.c create mode 100644 trunk/drivers/video/pxa168fb.h create mode 100644 trunk/include/video/pxa168fb.h diff --git a/[refs] b/[refs] index a4fdd5634da5..4d19923ea957 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 51cdd9289d2e0d83eb32ed6d7a42596b02bf924e +refs/heads/master: 638772c7553f6893f7b346bfee4d46851af59afc diff --git a/trunk/drivers/video/Kconfig b/trunk/drivers/video/Kconfig index 0048f1185a60..13fd66a1f102 100644 --- a/trunk/drivers/video/Kconfig +++ b/trunk/drivers/video/Kconfig @@ -1759,6 +1759,16 @@ config FB_68328 Say Y here if you want to support the built-in frame buffer of the Motorola 68328 CPU family. +config FB_PXA168 + tristate "PXA168/910 LCD framebuffer support" + depends on FB && (CPU_PXA168 || CPU_PXA910) + select FB_CFB_FILLRECT + select FB_CFB_COPYAREA + select FB_CFB_IMAGEBLIT + ---help--- + Frame buffer driver for the built-in LCD controller in the Marvell + MMP processor. + config FB_PXA tristate "PXA LCD framebuffer support" depends on FB && ARCH_PXA diff --git a/trunk/drivers/video/Makefile b/trunk/drivers/video/Makefile index d8d0be5151e3..01a819f47371 100644 --- a/trunk/drivers/video/Makefile +++ b/trunk/drivers/video/Makefile @@ -97,6 +97,7 @@ obj-$(CONFIG_FB_GBE) += gbefb.o obj-$(CONFIG_FB_CIRRUS) += cirrusfb.o obj-$(CONFIG_FB_ASILIANT) += asiliantfb.o obj-$(CONFIG_FB_PXA) += pxafb.o +obj-$(CONFIG_FB_PXA168) += pxa168fb.o obj-$(CONFIG_FB_W100) += w100fb.o obj-$(CONFIG_FB_TMIO) += tmiofb.o obj-$(CONFIG_FB_AU1100) += au1100fb.o diff --git a/trunk/drivers/video/pxa168fb.c b/trunk/drivers/video/pxa168fb.c new file mode 100644 index 000000000000..84d8327e47db --- /dev/null +++ b/trunk/drivers/video/pxa168fb.c @@ -0,0 +1,803 @@ +/* + * linux/drivers/video/pxa168fb.c -- Marvell PXA168 LCD Controller + * + * Copyright (C) 2008 Marvell International Ltd. + * All rights reserved. + * + * 2009-02-16 adapted from original version for PXA168/910 + * Jun Nie + * + * 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. + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include