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