From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Rapoport Subject: Re: [PATCH 01/11] video: Add support for the Avionic Design Xanthos framebuffer. Date: Thu, 14 May 2009 18:05:47 +0300 Message-ID: <4A0C334B.9040008@compulab.co.il> References: <1242294422-10478-1-git-send-email-thierry.reding@avionic-design.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1242294422-10478-1-git-send-email-thierry.reding@avionic-design.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.arm.linux.org.uk Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.arm.linux.org.uk To: Thierry Reding Cc: Russell King - ARM Linux , linux-arm-kernel@lists.arm.linux.org.uk, "Antonino A. Daplas" , linux-fbdev-devel@lists.sourceforge.net (cc'ed fbdev list and maintainer) Thierry Reding wrote: > This patch adds support for the Avionic Design Xanthos framebuffer. > > Signed-off-by: Thierry Reding > --- > drivers/video/Kconfig | 12 + > drivers/video/Makefile | 1 + > drivers/video/adxfb/Makefile | 1 + > drivers/video/adxfb/adxfb.h | 120 +++++++++++ > drivers/video/adxfb/fb.c | 456 +++++++++++++++++++++++++++++++++++++++++ > drivers/video/adxfb/overlay.c | 190 +++++++++++++++++ > drivers/video/adxfb/scaler.c | 231 +++++++++++++++++++++ > include/video/Kbuild | 1 + > include/video/adxfb.h | 128 ++++++++++++ > 9 files changed, 1140 insertions(+), 0 deletions(-) > create mode 100644 drivers/video/adxfb/Makefile > create mode 100644 drivers/video/adxfb/adxfb.h > create mode 100644 drivers/video/adxfb/fb.c > create mode 100644 drivers/video/adxfb/overlay.c > create mode 100644 drivers/video/adxfb/scaler.c > create mode 100644 include/video/adxfb.h > > diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig > index 7826bdc..976238f 100644 > --- a/drivers/video/Kconfig > +++ b/drivers/video/Kconfig > @@ -1678,6 +1678,18 @@ config CARMINE_DRAM_CUSTOM > Use custom board timings. > endchoice > > +config FB_ADX > + tristate "Avionic Design Xanthos framebuffer support" > + depends on FB > + select FB_CFB_FILLRECT > + select FB_CFB_COPYAREA > + select FB_CFB_IMAGEBLIT > + help > + Framebuffer driver for the LCD controller in Avionic Design > + Xanthos boards. > + > + If in doubt, say N. > + > config FB_AU1100 > bool "Au1100 LCD Driver" > depends on (FB = y) && MIPS && SOC_AU1100 > diff --git a/drivers/video/Makefile b/drivers/video/Makefile > index d8d0be5..4de52a5 100644 > --- a/drivers/video/Makefile > +++ b/drivers/video/Makefile > @@ -125,6 +125,7 @@ obj-$(CONFIG_FB_OMAP) += omap/ > obj-$(CONFIG_XEN_FBDEV_FRONTEND) += xen-fbfront.o > obj-$(CONFIG_FB_CARMINE) += carminefb.o > obj-$(CONFIG_FB_MB862XX) += mb862xx/ > +obj-$(CONFIG_FB_ADX) += adxfb/ > > # Platform or fallback drivers go here > obj-$(CONFIG_FB_UVESA) += uvesafb.o > diff --git a/drivers/video/adxfb/Makefile b/drivers/video/adxfb/Makefile > new file mode 100644 > index 0000000..389d65c > --- /dev/null > +++ b/drivers/video/adxfb/Makefile > @@ -0,0 +1 @@ > +obj-y += fb.o overlay.o scaler.o > diff --git a/drivers/video/adxfb/adxfb.h b/drivers/video/adxfb/adxfb.h > new file mode 100644 > index 0000000..d6535c2 > --- /dev/null > +++ b/drivers/video/adxfb/adxfb.h > @@ -0,0 +1,120 @@ > +/* > + * linux/drivers/video/adxfb/adxfb.h > + * > + * Copyright (C) 2007-2008 Avionic Design Development GmbH > + * Copyright (C) 2008-2009 Avionic Design GmbH > + * > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License version 2 as > + * published by the Free Software Foundation. > + * > + * Written by Thierry Reding > + */ > + > +#ifndef _DRIVERS_VIDEO_ADXFB_ADXFB_H > +#define _DRIVERS_VIDEO_ADXFB_ADXFB_H 1 > + > +#include > +#include