blob: 7898b2bb2f10af2059379ca6cc2817fc73d8988f [file] [log] [blame]
York Suna8778802007-10-29 13:58:39 -05001/*
Timur Tabiba8e76b2011-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 Suna8778802007-10-29 13:58:39 -05005 *
6 * FSL DIU Framebuffer driver
7 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02008 * SPDX-License-Identifier: GPL-2.0+
York Suna8778802007-10-29 13:58:39 -05009 */
10
Timur Tabi3b4a2262011-05-26 09:02:17 -050011int fsl_diu_init(u16 xres, u16 yres, u32 pixel_format, int gamma_fix);
York Suna8778802007-10-29 13:58:39 -050012
Timur Tabiba8e76b2011-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);