blob: 139851ba1a8735bba7e52950132614fbb7aef6e8 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
York Suna8778802007-10-29 13:58:39 -05002/*
Timur Tabiba8e76b2011-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 Suna8778802007-10-29 13:58:39 -05006 *
7 * FSL DIU Framebuffer driver
York Suna8778802007-10-29 13:58:39 -05008 */
9
Timur Tabi3b4a2262011-05-26 09:02:17 -050010int fsl_diu_init(u16 xres, u16 yres, u32 pixel_format, int gamma_fix);
York Suna8778802007-10-29 13:58:39 -050011
Timur Tabiba8e76b2011-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);