Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Wang Huan | 327def5 | 2014-09-05 13:52:48 +0800 | [diff] [blame] | 2 | /* |
| 3 | * Copyright 2014 Freescale Semiconductor, Inc. |
| 4 | * |
| 5 | * FSL DCU Framebuffer driver |
Wang Huan | 327def5 | 2014-09-05 13:52:48 +0800 | [diff] [blame] | 6 | */ |
| 7 | #include <linux/fb.h> |
| 8 | |
| 9 | int fsl_dcu_init(unsigned int xres, unsigned int yres, |
| 10 | unsigned int pixel_format); |
Stefan Agner | 77810e6 | 2017-04-11 11:12:10 +0530 | [diff] [blame] | 11 | int fsl_dcu_fixedfb_setup(void *blob); |
Wang Huan | 327def5 | 2014-09-05 13:52:48 +0800 | [diff] [blame] | 12 | |
| 13 | /* Prototypes for external board-specific functions */ |
| 14 | int platform_dcu_init(unsigned int xres, unsigned int yres, |
| 15 | const char *port, struct fb_videomode *dcu_fb_videomode); |
| 16 | unsigned int dcu_set_pixel_clock(unsigned int pixclock); |