2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2007-10-29 18:58:39 +00:00
|
|
|
/*
|
2011-04-11 19:18:22 +00:00
|
|
|
* Copyright 2007, 2011 Freescale Semiconductor, Inc.
|
|
|
|
* Authors: York Sun <yorksun@freescale.com>
|
|
|
|
* Timur Tabi <timur@freescale.com>
|
2007-10-29 18:58:39 +00:00
|
|
|
*
|
|
|
|
* FSL DIU Framebuffer driver
|
|
|
|
*/
|
|
|
|
|
2011-05-26 14:02:17 +00:00
|
|
|
int fsl_diu_init(u16 xres, u16 yres, u32 pixel_format, int gamma_fix);
|
2007-10-29 18:58:39 +00:00
|
|
|
|
2011-04-11 19:18:22 +00:00
|
|
|
/* Prototypes for external board-specific functions */
|
|
|
|
int platform_diu_init(unsigned int xres, unsigned int yres, const char *port);
|
|
|
|
void diu_set_pixel_clock(unsigned int pixclock);
|