From: Richard Purdie The same LCD is present on both the Sharp Zaurus c7x0 series and the cxx00 but with different framebuffer drivers (w100fb vs. pxafb). This patch adds support for the cxx00 series to the LCD driver. It also adds some LCD to touchscreen interface logic needed by the touchscreen driver to prevent interference problems, the idea being to keep all the ugly code in one place leaving the drivers themselves clean. sharpsl.h is used to provide the abstraction. Signed-Off-by: Richard Purdie Cc: Russell King Signed-off-by: Andrew Morton --- arch/arm/mach-pxa/corgi_lcd.c | 103 +++++++++++++++++++++++++++++++------ include/asm-arm/arch-pxa/sharpsl.h | 8 ++ 2 files changed, 97 insertions(+), 14 deletions(-) diff -puN arch/arm/mach-pxa/corgi_lcd.c~sharpsl-add-cxx00-support-to-the-corgi-lcd-driver arch/arm/mach-pxa/corgi_lcd.c --- devel/arch/arm/mach-pxa/corgi_lcd.c~sharpsl-add-cxx00-support-to-the-corgi-lcd-driver 2005-09-06 17:50:47.000000000 -0700 +++ devel-akpm/arch/arm/mach-pxa/corgi_lcd.c 2005-09-06 17:50:47.000000000 -0700 @@ -1,10 +1,14 @@ /* * linux/drivers/video/w100fb.c * - * Corgi LCD Specific Code for ATI Imageon w100 (Wallaby) + * Corgi/Spitz LCD Specific Code * * Copyright (C) 2005 Richard Purdie * + * Connectivity: + * Corgi - LCD to ATI Imageon w100 (Wallaby) + * Spitz - LCD to PXA Framebuffer + * * 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. @@ -14,9 +18,16 @@ #include #include #include +#include +#include #include +#include +#include +#include +#include +#include #include -#include