blob: 7898b2bb2f10af2059379ca6cc2817fc73d8988f [file] [log] [blame]
York Sunb7145172007-10-29 13:58:39 -05001/*
Timur Tabi32f709e2011-04-11 14:18:22 -05002 * Copyright 2007, 2011 Freescale Semiconductor, Inc.
3 * Authors: York Sun <yorksun@freescale.com>
4 * Timur Tabi <timur@freescale.com>
York Sunb7145172007-10-29 13:58:39 -05005 *
6 * FSL DIU Framebuffer driver
7 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02008 * SPDX-License-Identifier: GPL-2.0+
York Sunb7145172007-10-29 13:58:39 -05009 */
10
Timur Tabi6d99ce22011-05-26 09:02:17 -050011int fsl_diu_init(u16 xres, u16 yres, u32 pixel_format, int gamma_fix);
York Sunb7145172007-10-29 13:58:39 -050012
Timur Tabi32f709e2011-04-11 14:18:22 -050013/* Prototypes for external board-specific functions */
14int platform_diu_init(unsigned int xres, unsigned int yres, const char *port);
15void diu_set_pixel_clock(unsigned int pixclock);