2 * linux/drivers/video/s3c2410fb.h
3 * Copyright (c) 2004 Arnaud Patard
5 * S3C2410 LCD Framebuffer Driver
7 * This file is subject to the terms and conditions of the GNU General Public
8 * License. See the file COPYING in the main directory of this archive for
21 struct s3c2410fb_info
{
27 void __iomem
*irq_base
;
29 enum s3c_drv_type drv_type
;
30 struct s3c2410fb_hw regs
;
32 unsigned long clk_rate
;
33 unsigned int palette_ready
;
35 #ifdef CONFIG_CPU_FREQ
36 struct notifier_block freq_transition
;
39 /* keep these registers in case we need to re-write palette */
40 u32 palette_buffer
[256];
44 #define PALETTE_BUFF_CLEAR (0x80000000) /* entry is clear/invalid */
46 int s3c2410fb_init(void);