blob: 7a5347a9247a941493143ee5b40f01c5d9989764 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Wang Huan4779d4a2014-09-05 13:52:48 +08002/*
3 * Copyright 2014 Freescale Semiconductor, Inc.
4 *
5 * FSL DCU Framebuffer driver
Wang Huan4779d4a2014-09-05 13:52:48 +08006 */
7#include <linux/fb.h>
8
Igor Opaniuk9a0270f2019-06-10 14:47:49 +03009int fsl_dcu_init(struct fb_info *fbinfo,
10 unsigned int xres,
11 unsigned int yres,
Wang Huan4779d4a2014-09-05 13:52:48 +080012 unsigned int pixel_format);
Igor Opaniuk9a0270f2019-06-10 14:47:49 +030013
Stefan Agnerec954232017-04-11 11:12:10 +053014int fsl_dcu_fixedfb_setup(void *blob);
Wang Huan4779d4a2014-09-05 13:52:48 +080015
16/* Prototypes for external board-specific functions */
Igor Opaniuk9a0270f2019-06-10 14:47:49 +030017int platform_dcu_init(struct fb_info *fbinfo,
18 unsigned int xres,
19 unsigned int yres,
20 const char *port,
21 struct fb_videomode *dcu_fb_videomode);
Wang Huan4779d4a2014-09-05 13:52:48 +080022unsigned int dcu_set_pixel_clock(unsigned int pixclock);