blob: 7a5347a9247a941493143ee5b40f01c5d9989764 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Wang Huan327def52014-09-05 13:52:48 +08002/*
3 * Copyright 2014 Freescale Semiconductor, Inc.
4 *
5 * FSL DCU Framebuffer driver
Wang Huan327def52014-09-05 13:52:48 +08006 */
7#include <linux/fb.h>
8
Igor Opaniuka6eedb62019-06-10 14:47:49 +03009int fsl_dcu_init(struct fb_info *fbinfo,
10 unsigned int xres,
11 unsigned int yres,
Wang Huan327def52014-09-05 13:52:48 +080012 unsigned int pixel_format);
Igor Opaniuka6eedb62019-06-10 14:47:49 +030013
Stefan Agner77810e62017-04-11 11:12:10 +053014int fsl_dcu_fixedfb_setup(void *blob);
Wang Huan327def52014-09-05 13:52:48 +080015
16/* Prototypes for external board-specific functions */
Igor Opaniuka6eedb62019-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 Huan327def52014-09-05 13:52:48 +080022unsigned int dcu_set_pixel_clock(unsigned int pixclock);