1 /* linux/include/asm-arm/arch-s3c2410/fb.h
3 * Copyright (c) 2004 Arnaud Patard <arnaud.patard@rtp-net.org>
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
12 #ifndef __ASM_ARM_FB_H
13 #define __ASM_ARM_FB_H
15 #include <asm/arch/regs-lcd.h>
18 unsigned long lcdcon1;
19 unsigned long lcdcon2;
20 unsigned long lcdcon3;
21 unsigned long lcdcon4;
22 unsigned long lcdcon5;
26 struct s3c2410fb_display {
32 unsigned short height;
39 /* lcd configuration registers */
40 struct s3c2410fb_hw regs;
43 struct s3c2410fb_mach_info {
44 unsigned char fixed_syncs; /* do not update sync/border */
46 struct s3c2410fb_display *displays; /* attached diplays info */
47 unsigned num_displays; /* number of defined displays */
48 unsigned default_display;
53 unsigned long gpcup_mask;
55 unsigned long gpccon_mask;
57 unsigned long gpdup_mask;
59 unsigned long gpdcon_mask;
61 /* lpc3600 control register */
65 extern void __init s3c24xx_fb_set_platdata(struct s3c2410fb_mach_info *);
67 #endif /* __ASM_ARM_FB_H */