Linux-libre 3.11-gnu
[librecmc/linux-libre.git] / arch / arm / plat-samsung / include / plat / fb.h
1 /* arch/arm/plat-samsung/include/plat/fb.h
2  *
3  * Copyright 2008 Openmoko, Inc.
4  * Copyright 2008 Simtec Electronics
5  *      http://armlinux.simtec.co.uk/
6  *      Ben Dooks <ben@simtec.co.uk>
7  *
8  * S3C - FB platform data definitions
9  *
10  * This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License version 2 as
12  * published by the Free Software Foundation.
13 */
14
15 #ifndef __PLAT_S3C_FB_H
16 #define __PLAT_S3C_FB_H __FILE__
17
18 #include <linux/platform_data/video_s3c.h>
19
20 /**
21  * s3c_fb_set_platdata() - Setup the FB device with platform data.
22  * @pd: The platform data to set. The data is copied from the passed structure
23  *      so the machine data can mark the data __initdata so that any unused
24  *      machines will end up dumping their data at runtime.
25  */
26 extern void s3c_fb_set_platdata(struct s3c_fb_platdata *pd);
27
28 /**
29  * s5p_fimd0_set_platdata() - Setup the FB device with platform data.
30  * @pd: The platform data to set. The data is copied from the passed structure
31  *      so the machine data can mark the data __initdata so that any unused
32  *      machines will end up dumping their data at runtime.
33  */
34 extern void s5p_fimd0_set_platdata(struct s3c_fb_platdata *pd);
35
36 /**
37  * s3c64xx_fb_gpio_setup_24bpp() - S3C64XX setup function for 24bpp LCD
38  *
39  * Initialise the GPIO for an 24bpp LCD display on the RGB interface.
40  */
41 extern void s3c64xx_fb_gpio_setup_24bpp(void);
42
43 /**
44  * s5pc100_fb_gpio_setup_24bpp() - S5PC100 setup function for 24bpp LCD
45  *
46  * Initialise the GPIO for an 24bpp LCD display on the RGB interface.
47  */
48 extern void s5pc100_fb_gpio_setup_24bpp(void);
49
50 /**
51  * s5pv210_fb_gpio_setup_24bpp() - S5PV210/S5PC110 setup function for 24bpp LCD
52  *
53  * Initialise the GPIO for an 24bpp LCD display on the RGB interface.
54  */
55 extern void s5pv210_fb_gpio_setup_24bpp(void);
56
57 /**
58  * exynos4_fimd0_gpio_setup_24bpp() - Exynos4 setup function for 24bpp LCD0
59  *
60  * Initialise the GPIO for an 24bpp LCD display on the RGB interface 0.
61  */
62 extern void exynos4_fimd0_gpio_setup_24bpp(void);
63
64 /**
65  * s5p64x0_fb_gpio_setup_24bpp() - S5P6440/S5P6450 setup function for 24bpp LCD
66  *
67  * Initialise the GPIO for an 24bpp LCD display on the RGB interface.
68  */
69 extern void s5p64x0_fb_gpio_setup_24bpp(void);
70
71 #endif /* __PLAT_S3C_FB_H */