1
2
3
4
5
6
7
8
9
10
11
12
13 #ifndef __S3C2410FB_H
14 #define __S3C2410FB_H
15
16 enum s3c_drv_type {
17 DRV_S3C2410,
18 DRV_S3C2412,
19 };
20
21 struct s3c2410fb_info {
22 struct device *dev;
23 struct clk *clk;
24
25 struct resource *mem;
26 void __iomem *io;
27 void __iomem *irq_base;
28
29 enum s3c_drv_type drv_type;
30 struct s3c2410fb_hw regs;
31
32 unsigned long clk_rate;
33 unsigned int palette_ready;
34
35 #ifdef CONFIG_ARM_S3C24XX_CPUFREQ
36 struct notifier_block freq_transition;
37 #endif
38
39
40 u32 palette_buffer[256];
41 u32 pseudo_pal[16];
42 };
43
44 #define PALETTE_BUFF_CLEAR (0x80000000)
45
46 int s3c2410fb_init(void);
47
48 #endif