xref: /OK3568_Linux_fs/kernel/arch/arm/mach-s3c/fb.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */
2*4882a593Smuzhiyun /*
3*4882a593Smuzhiyun  * Copyright 2008 Openmoko, Inc.
4*4882a593Smuzhiyun  * Copyright 2008 Simtec Electronics
5*4882a593Smuzhiyun  *	http://armlinux.simtec.co.uk/
6*4882a593Smuzhiyun  *	Ben Dooks <ben@simtec.co.uk>
7*4882a593Smuzhiyun  *
8*4882a593Smuzhiyun  * S3C - FB platform data definitions
9*4882a593Smuzhiyun  */
10*4882a593Smuzhiyun 
11*4882a593Smuzhiyun #ifndef __PLAT_S3C_FB_H
12*4882a593Smuzhiyun #define __PLAT_S3C_FB_H __FILE__
13*4882a593Smuzhiyun 
14*4882a593Smuzhiyun #include <linux/platform_data/video_s3c.h>
15*4882a593Smuzhiyun 
16*4882a593Smuzhiyun /**
17*4882a593Smuzhiyun  * s3c_fb_set_platdata() - Setup the FB device with platform data.
18*4882a593Smuzhiyun  * @pd: The platform data to set. The data is copied from the passed structure
19*4882a593Smuzhiyun  *      so the machine data can mark the data __initdata so that any unused
20*4882a593Smuzhiyun  *      machines will end up dumping their data at runtime.
21*4882a593Smuzhiyun  */
22*4882a593Smuzhiyun extern void s3c_fb_set_platdata(struct s3c_fb_platdata *pd);
23*4882a593Smuzhiyun 
24*4882a593Smuzhiyun /**
25*4882a593Smuzhiyun  * s3c64xx_fb_gpio_setup_24bpp() - S3C64XX setup function for 24bpp LCD
26*4882a593Smuzhiyun  *
27*4882a593Smuzhiyun  * Initialise the GPIO for an 24bpp LCD display on the RGB interface.
28*4882a593Smuzhiyun  */
29*4882a593Smuzhiyun extern void s3c64xx_fb_gpio_setup_24bpp(void);
30*4882a593Smuzhiyun 
31*4882a593Smuzhiyun #endif /* __PLAT_S3C_FB_H */
32