Krzysztof Kozlowski | 4490e3c | 2017-12-25 20:54:35 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | /* |
Ben Dooks | 8f995cc | 2008-11-19 15:41:30 +0000 | [diff] [blame] | 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 |
Krzysztof Kozlowski | 4490e3c | 2017-12-25 20:54:35 +0100 | [diff] [blame] | 9 | */ |
Ben Dooks | 8f995cc | 2008-11-19 15:41:30 +0000 | [diff] [blame] | 10 | |
| 11 | #ifndef __PLAT_S3C_FB_H |
| 12 | #define __PLAT_S3C_FB_H __FILE__ |
| 13 | |
Arnd Bergmann | bbfce37 | 2013-04-11 02:04:55 +0200 | [diff] [blame] | 14 | #include <linux/platform_data/video_s3c.h> |
Ben Dooks | 8f995cc | 2008-11-19 15:41:30 +0000 | [diff] [blame] | 15 | |
| 16 | /** |
| 17 | * s3c_fb_set_platdata() - Setup the FB device with platform data. |
| 18 | * @pd: The platform data to set. The data is copied from the passed structure |
| 19 | * so the machine data can mark the data __initdata so that any unused |
| 20 | * machines will end up dumping their data at runtime. |
| 21 | */ |
| 22 | extern void s3c_fb_set_platdata(struct s3c_fb_platdata *pd); |
| 23 | |
| 24 | /** |
| 25 | * s3c64xx_fb_gpio_setup_24bpp() - S3C64XX setup function for 24bpp LCD |
| 26 | * |
| 27 | * Initialise the GPIO for an 24bpp LCD display on the RGB interface. |
| 28 | */ |
| 29 | extern void s3c64xx_fb_gpio_setup_24bpp(void); |
| 30 | |
Ben Dooks | 8f995cc | 2008-11-19 15:41:30 +0000 | [diff] [blame] | 31 | #endif /* __PLAT_S3C_FB_H */ |