blob: 139851ba1a8735bba7e52950132614fbb7aef6e8 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
York Sunb7145172007-10-29 13:58:39 -05002/*
Timur Tabi32f709e2011-04-11 14:18:22 -05003 * Copyright 2007, 2011 Freescale Semiconductor, Inc.
4 * Authors: York Sun <yorksun@freescale.com>
5 * Timur Tabi <timur@freescale.com>
York Sunb7145172007-10-29 13:58:39 -05006 *
7 * FSL DIU Framebuffer driver
York Sunb7145172007-10-29 13:58:39 -05008 */
9
Timur Tabi6d99ce22011-05-26 09:02:17 -050010int fsl_diu_init(u16 xres, u16 yres, u32 pixel_format, int gamma_fix);
York Sunb7145172007-10-29 13:58:39 -050011
Timur Tabi32f709e2011-04-11 14:18:22 -050012/* Prototypes for external board-specific functions */
13int platform_diu_init(unsigned int xres, unsigned int yres, const char *port);
14void diu_set_pixel_clock(unsigned int pixclock);