Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Copyright 2008 Openmoko, Inc.
0004  * Copyright 2008 Simtec Electronics
0005  *  http://armlinux.simtec.co.uk/
0006  *  Ben Dooks <ben@simtec.co.uk>
0007  *
0008  * S3C - FB platform data definitions
0009  */
0010 
0011 #ifndef __PLAT_S3C_FB_H
0012 #define __PLAT_S3C_FB_H __FILE__
0013 
0014 #include <linux/platform_data/video_s3c.h>
0015 
0016 /**
0017  * s3c_fb_set_platdata() - Setup the FB device with platform data.
0018  * @pd: The platform data to set. The data is copied from the passed structure
0019  *      so the machine data can mark the data __initdata so that any unused
0020  *      machines will end up dumping their data at runtime.
0021  */
0022 extern void s3c_fb_set_platdata(struct s3c_fb_platdata *pd);
0023 
0024 /**
0025  * s3c64xx_fb_gpio_setup_24bpp() - S3C64XX setup function for 24bpp LCD
0026  *
0027  * Initialise the GPIO for an 24bpp LCD display on the RGB interface.
0028  */
0029 extern void s3c64xx_fb_gpio_setup_24bpp(void);
0030 
0031 #endif /* __PLAT_S3C_FB_H */