2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2014-09-05 05:52:48 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2014 Freescale Semiconductor, Inc.
|
|
|
|
*
|
|
|
|
* FSL DCU Framebuffer driver
|
|
|
|
*/
|
|
|
|
#include <linux/fb.h>
|
|
|
|
|
2019-06-10 11:47:49 +00:00
|
|
|
int fsl_dcu_init(struct fb_info *fbinfo,
|
|
|
|
unsigned int xres,
|
|
|
|
unsigned int yres,
|
2014-09-05 05:52:48 +00:00
|
|
|
unsigned int pixel_format);
|
2019-06-10 11:47:49 +00:00
|
|
|
|
2017-04-11 05:42:10 +00:00
|
|
|
int fsl_dcu_fixedfb_setup(void *blob);
|
2014-09-05 05:52:48 +00:00
|
|
|
|
|
|
|
/* Prototypes for external board-specific functions */
|
2019-06-10 11:47:49 +00: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 05:52:48 +00:00
|
|
|
unsigned int dcu_set_pixel_clock(unsigned int pixclock);
|