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>
|
|
|
|
|
2019-06-10 19:47:49 +08:00
|
|
|
int fsl_dcu_init(struct fb_info *fbinfo,
|
|
|
|
unsigned int xres,
|
|
|
|
unsigned int yres,
|
2014-09-05 13:52:48 +08:00
|
|
|
unsigned int pixel_format);
|
2019-06-10 19:47:49 +08:00
|
|
|
|
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 */
|
2019-06-10 19:47:49 +08:00
|
|
|
int platform_dcu_init(struct fb_info *fbinfo,
|
|
|
|
unsigned int xres,
|
|
|
|
unsigned int yres,
|
|
|
|
const char *port,
|
|
|
|
struct fb_videomode *dcu_fb_videomode);
|
2014-09-05 13:52:48 +08:00
|
|
|
unsigned int dcu_set_pixel_clock(unsigned int pixclock);
|