blob: 67e29e74e62c72f76407a606d7ddbc4d17581bf7 [file] [log] [blame]
Wang Huan4779d4a2014-09-05 13:52:48 +08001/*
2 * Copyright 2014 Freescale Semiconductor, Inc.
3 *
4 * FSL DCU Framebuffer driver
5 *
6 * SPDX-License-Identifier: GPL-2.0+
7 */
8#include <linux/fb.h>
9
10int fsl_dcu_init(unsigned int xres, unsigned int yres,
11 unsigned int pixel_format);
Stefan Agnerec954232017-04-11 11:12:10 +053012int fsl_dcu_fixedfb_setup(void *blob);
Wang Huan4779d4a2014-09-05 13:52:48 +080013
14/* Prototypes for external board-specific functions */
15int platform_dcu_init(unsigned int xres, unsigned int yres,
16 const char *port, struct fb_videomode *dcu_fb_videomode);
17unsigned int dcu_set_pixel_clock(unsigned int pixclock);