summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/sharpsl.h
diff options
context:
space:
mode:
authorRichard Purdie2005-09-13 10:25:32 +0200
committerLinus Torvalds2005-09-13 17:22:31 +0200
commit9fc7896b62b48714fafecf9266d9dc14c1cd6e33 (patch)
treed22c4df945338313bae436df9b3ca8c08d3bed4e /arch/arm/mach-pxa/sharpsl.h
parent[PATCH] SharpSL: Abstract c7x0 specifics from Corgi SSP (diff)
downloadkernel-qcow2-linux-9fc7896b62b48714fafecf9266d9dc14c1cd6e33.tar.gz
kernel-qcow2-linux-9fc7896b62b48714fafecf9266d9dc14c1cd6e33.tar.xz
kernel-qcow2-linux-9fc7896b62b48714fafecf9266d9dc14c1cd6e33.zip
[PATCH] SharpSL: Add cxx00 support to the Corgi LCD driver
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 <rpurdie@rpsys.net> Cc: Vojtech Pavlik <vojtech@suse.cz> Cc: Russell King <rmk@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/arm/mach-pxa/sharpsl.h')
-rw-r--r--arch/arm/mach-pxa/sharpsl.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/sharpsl.h b/arch/arm/mach-pxa/sharpsl.h
index 672262ee9d2b..7007d8a1c5c5 100644
--- a/arch/arm/mach-pxa/sharpsl.h
+++ b/arch/arm/mach-pxa/sharpsl.h
@@ -13,3 +13,14 @@ struct corgissp_machinfo {
};
void corgi_ssp_set_machinfo(struct corgissp_machinfo *machinfo);
+
+/*
+ * SharpSL Touchscreen Driver
+ */
+
+unsigned long corgi_get_hsync_len(void);
+unsigned long spitz_get_hsync_len(void);
+void corgi_put_hsync(void);
+void spitz_put_hsync(void);
+void corgi_wait_hsync(void);
+void spitz_wait_hsync(void);