2018-05-07 05:58:06 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2007-10-30 02:58:39 +08:00
|
|
|
/*
|
2011-04-12 03:18:22 +08:00
|
|
|
* Copyright 2007, 2011 Freescale Semiconductor, Inc.
|
|
|
|
* Authors: York Sun <yorksun@freescale.com>
|
|
|
|
* Timur Tabi <timur@freescale.com>
|
2007-10-30 02:58:39 +08:00
|
|
|
*
|
|
|
|
* FSL DIU Framebuffer driver
|
|
|
|
*/
|
|
|
|
|
2011-05-26 22:02:17 +08:00
|
|
|
int fsl_diu_init(u16 xres, u16 yres, u32 pixel_format, int gamma_fix);
|
2007-10-30 02:58:39 +08:00
|
|
|
|
2011-04-12 03:18:22 +08: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);
|