Merge tag 'u-boot-rockchip-20200820' of https://gitlab.denx.de/u-boot/custodians...
[platform/kernel/u-boot.git] / include / fsl_dcu_fb.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright 2014 Freescale Semiconductor, Inc.
4  *
5  * FSL DCU Framebuffer driver
6  */
7 #include <linux/fb.h>
8
9 int fsl_dcu_init(struct fb_info *fbinfo,
10                  unsigned int xres,
11                  unsigned int yres,
12                  unsigned int pixel_format);
13
14 int fsl_dcu_fixedfb_setup(void *blob);
15
16 /* Prototypes for external board-specific functions */
17 int 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);
22 unsigned int dcu_set_pixel_clock(unsigned int pixclock);