1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Copyright (c) 2009 Nuvoton technology corporation
8 * Wang Qiang(rurality.linux@gmail.com) 2009/12/16
15 #include <linux/platform_data/video-nuc900fb.h>
17 enum nuc900_lcddrv_type {
26 #define PALETTE_BUFFER_SIZE 256
27 #define PALETTE_BUFF_CLEAR (0x80000000) /* entry is clear/invalid */
29 struct nuc900fb_info {
35 void __iomem *irq_base;
37 struct nuc900fb_hw regs;
38 unsigned long clk_rate;
40 #ifdef CONFIG_CPU_FREQ
41 struct notifier_block freq_transition;
44 /* keep these registers in case we need to re-write palette */
45 u32 palette_buffer[PALETTE_BUFFER_SIZE];
49 int nuc900fb_init(void);
51 #endif /* __NUC900FB_H */