summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-versatile/include
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-01-18 21:08:06 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-02-19 12:09:12 +0100
commit420c34e4ccbbacab56d199e90a214e24380077dd (patch)
tree57acbdb10e263fc718704e9666fa55cf4b79f17a /arch/arm/plat-versatile/include
parentARM: clcd: add method for describing display capabilities (diff)
downloadlinux-420c34e4ccbbacab56d199e90a214e24380077dd.tar.xz
linux-420c34e4ccbbacab56d199e90a214e24380077dd.zip
ARM: add versatile family consolidated CLCD support
This consolidates the CLCD panel definitions and memory allocation into one location. Rename the Sanyo 2.5in and Epson 2.2in displays after their respective part numbers. Rather than using a general "Sanyo 2.5in" and "Epson 2.2in" description of the display panel, use the manufacturers part number to be more specific. This helps people identify what the timings actually refer to, which are panel specific. While here, add CLCD capability information to each panel definition, which has no effect until we add the board-level capabilities. Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/plat-versatile/include')
-rw-r--r--arch/arm/plat-versatile/include/plat/clcd.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/plat-versatile/include/plat/clcd.h b/arch/arm/plat-versatile/include/plat/clcd.h
new file mode 100644
index 000000000000..6bb6a1d2019b
--- /dev/null
+++ b/arch/arm/plat-versatile/include/plat/clcd.h
@@ -0,0 +1,9 @@
+#ifndef PLAT_CLCD_H
+#define PLAT_CLCD_H
+
+struct clcd_panel *versatile_clcd_get_panel(const char *);
+int versatile_clcd_setup_dma(struct clcd_fb *, unsigned long);
+int versatile_clcd_mmap_dma(struct clcd_fb *, struct vm_area_struct *);
+void versatile_clcd_remove_dma(struct clcd_fb *);
+
+#endif