2018-05-07 05:58:06 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2014-09-05 13:52:48 +08:00
|
|
|
/*
|
|
|
|
* Copyright 2014 Freescale Semiconductor, Inc.
|
|
|
|
*
|
|
|
|
* FSL DCU Framebuffer driver
|
|
|
|
*/
|
|
|
|
#include <linux/fb.h>
|
|
|
|
|
|
|
|
int fsl_dcu_init(unsigned int xres, unsigned int yres,
|
|
|
|
unsigned int pixel_format);
|
2017-04-11 13:42:10 +08:00
|
|
|
int fsl_dcu_fixedfb_setup(void *blob);
|
2014-09-05 13:52:48 +08:00
|
|
|
|
|
|
|
/* Prototypes for external board-specific functions */
|
|
|
|
int platform_dcu_init(unsigned int xres, unsigned int yres,
|
|
|
|
const char *port, struct fb_videomode *dcu_fb_videomode);
|
|
|
|
unsigned int dcu_set_pixel_clock(unsigned int pixclock);
|