xref: /openbmc/linux/arch/arm/mach-omap2/display.h (revision 293d5b43)
1 /*
2  * display.h - OMAP2+ integration-specific DSS header
3  *
4  * Copyright (C) 2011 Texas Instruments, Inc.
5  *
6  * This program is free software; you can redistribute it and/or modify it
7  * under the terms of the GNU General Public License version 2 as published by
8  * the Free Software Foundation.
9  *
10  * This program is distributed in the hope that it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
13  * more details.
14  *
15  * You should have received a copy of the GNU General Public License along with
16  * this program.  If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 #ifndef __ARCH_ARM_MACH_OMAP2_DISPLAY_H
20 #define __ARCH_ARM_MACH_OMAP2_DISPLAY_H
21 
22 #include <linux/kernel.h>
23 
24 struct omap_dss_dispc_dev_attr {
25 	u8	manager_count;
26 	bool	has_framedonetv_irq;
27 };
28 
29 int omap_init_drm(void);
30 int omap_init_vrfb(void);
31 int omap_init_fb(void);
32 int omap_init_vout(void);
33 
34 struct device_node * __init omapdss_find_dss_of_node(void);
35 
36 struct omap_dss_board_info;
37 
38 /* Init with the board info */
39 int omap_display_init(struct omap_dss_board_info *board_data);
40 
41 #endif
42