3 * Copyright (c) 2009 Nuvoton technology corporation
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
12 * Wang Qiang(rurality.linux@gmail.com) 2009/12/16
21 enum nuc900_lcddrv_type
{
30 #define PALETTE_BUFFER_SIZE 256
31 #define PALETTE_BUFF_CLEAR (0x80000000) /* entry is clear/invalid */
33 struct nuc900fb_info
{
39 void __iomem
*irq_base
;
41 struct nuc900fb_hw regs
;
42 unsigned long clk_rate
;
44 #ifdef CONFIG_CPU_FREQ
45 struct notifier_block freq_transition
;
48 /* keep these registers in case we need to re-write palette */
49 u32 palette_buffer
[PALETTE_BUFFER_SIZE
];
53 int nuc900fb_init(void);
55 #endif /* __NUC900FB_H */