Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Wang Huan | 4779d4a | 2014-09-05 13:52:48 +0800 | [diff] [blame] | 2 | /* |
| 3 | * Copyright 2014 Freescale Semiconductor, Inc. |
| 4 | * |
| 5 | * FSL DCU Framebuffer driver |
Wang Huan | 4779d4a | 2014-09-05 13:52:48 +0800 | [diff] [blame] | 6 | */ |
| 7 | #include <linux/fb.h> |
| 8 | |
Igor Opaniuk | 9a0270f | 2019-06-10 14:47:49 +0300 | [diff] [blame] | 9 | int fsl_dcu_init(struct fb_info *fbinfo, |
| 10 | unsigned int xres, |
| 11 | unsigned int yres, |
Wang Huan | 4779d4a | 2014-09-05 13:52:48 +0800 | [diff] [blame] | 12 | unsigned int pixel_format); |
Igor Opaniuk | 9a0270f | 2019-06-10 14:47:49 +0300 | [diff] [blame] | 13 | |
Stefan Agner | ec95423 | 2017-04-11 11:12:10 +0530 | [diff] [blame] | 14 | int fsl_dcu_fixedfb_setup(void *blob); |
Wang Huan | 4779d4a | 2014-09-05 13:52:48 +0800 | [diff] [blame] | 15 | |
| 16 | /* Prototypes for external board-specific functions */ |
Igor Opaniuk | 9a0270f | 2019-06-10 14:47:49 +0300 | [diff] [blame] | 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); |
Wang Huan | 4779d4a | 2014-09-05 13:52:48 +0800 | [diff] [blame] | 22 | unsigned int dcu_set_pixel_clock(unsigned int pixclock); |