mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 02:34:01 +08:00
420c34e4cc
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>
10 lines
293 B
C
10 lines
293 B
C
#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
|