]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/include/asm/imx-common/video.h
Merge branch 'u-boot-microblaze/zynq' into 'u-boot-arm/master'
[karo-tx-uboot.git] / arch / arm / include / asm / imx-common / video.h
1 /*
2  * SPDX-License-Identifier:     GPL-2.0+
3  */
4
5 #ifndef __IMX_VIDEO_H_
6 #define __IMX_VIDEO_H_
7
8 #include <linux/fb.h>
9 #include <ipu_pixfmt.h>
10
11 struct display_info_t {
12         int     bus;
13         int     addr;
14         int     pixfmt;
15         int     (*detect)(struct display_info_t const *dev);
16         void    (*enable)(struct display_info_t const *dev);
17         struct  fb_videomode mode;
18 };
19
20 #ifdef CONFIG_IMX_HDMI
21 extern int detect_hdmi(struct display_info_t const *dev);
22 #endif
23
24 #endif