xref: /linux/drivers/video/fbdev/vt8500lcdfb.h (revision 48dea9a700c8728cc31a1dd44588b97578de86ee)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  *  linux/drivers/video/vt8500lcdfb.h
4  *
5  *  Copyright (C) 2010 Alexey Charkov <alchark@gmail.com>
6  */
7 
8 struct vt8500lcd_info {
9 	struct fb_info		fb;
10 	void __iomem		*regbase;
11 	void __iomem		*palette_cpu;
12 	dma_addr_t		palette_phys;
13 	size_t			palette_size;
14 	wait_queue_head_t	wait;
15 };
16 
17 static int bpp_values[] = {
18 	1,
19 	2,
20 	4,
21 	8,
22 	12,
23 	16,
24 	18,
25 	24,
26 };
27