diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-01-18 20:08:06 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-02-19 11:09:12 +0000 |
commit | 420c34e4ccbbacab56d199e90a214e24380077dd (patch) | |
tree | 57acbdb10e263fc718704e9666fa55cf4b79f17a /arch/arm/plat-versatile/include | |
parent | 7b4e9ced69a120e7e7446e3303d2307aa29d891c (diff) | |
download | talos-op-linux-420c34e4ccbbacab56d199e90a214e24380077dd.tar.gz talos-op-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.h | 9 |
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 |