Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
York Sun | a877880 | 2007-10-29 13:58:39 -0500 | [diff] [blame] | 2 | /* |
Timur Tabi | ba8e76b | 2011-04-11 14:18:22 -0500 | [diff] [blame] | 3 | * Copyright 2007, 2011 Freescale Semiconductor, Inc. |
| 4 | * Authors: York Sun <yorksun@freescale.com> |
| 5 | * Timur Tabi <timur@freescale.com> |
York Sun | a877880 | 2007-10-29 13:58:39 -0500 | [diff] [blame] | 6 | * |
| 7 | * FSL DIU Framebuffer driver |
York Sun | a877880 | 2007-10-29 13:58:39 -0500 | [diff] [blame] | 8 | */ |
| 9 | |
Timur Tabi | 3b4a226 | 2011-05-26 09:02:17 -0500 | [diff] [blame] | 10 | int fsl_diu_init(u16 xres, u16 yres, u32 pixel_format, int gamma_fix); |
York Sun | a877880 | 2007-10-29 13:58:39 -0500 | [diff] [blame] | 11 | |
Timur Tabi | ba8e76b | 2011-04-11 14:18:22 -0500 | [diff] [blame] | 12 | /* Prototypes for external board-specific functions */ |
| 13 | int platform_diu_init(unsigned int xres, unsigned int yres, const char *port); |
| 14 | void diu_set_pixel_clock(unsigned int pixclock); |