xref: /linux/drivers/video/fbdev/vt8500lcdfb.h (revision 8e07e0e3964ca4e23ce7b68e2096fe660a888942)
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