2 * File: drivers/video/omap/lcd-h4.c
4 * LCD panel support for the TI OMAP H4 board
6 * Copyright (C) 2004 Nokia Corporation
7 * Author: Imre Deak <imre.deak@nokia.com>
9 * This program is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU General Public License as published by the
11 * Free Software Foundation; either version 2 of the License, or (at your
12 * option) any later version.
14 * This program is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details.
19 * You should have received a copy of the GNU General Public License along
20 * with this program; if not, write to the Free Software Foundation, Inc.,
21 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24 #include <linux/module.h>
26 #include <asm/arch/omapfb.h>
28 /* #define OMAPFB_DBG 1 */
32 static int h4_panel_init(struct omapfb_device *fbdev)
39 static void h4_panel_cleanup(void)
45 static int h4_panel_enable(void)
53 static void h4_panel_disable(void)
59 static unsigned long h4_panel_get_caps(void)
64 struct lcd_panel h4_panel = {
66 .config = OMAP_LCDC_PANEL_TFT,
80 .init = h4_panel_init,
81 .cleanup = h4_panel_cleanup,
82 .enable = h4_panel_enable,
83 .disable = h4_panel_disable,
84 .get_caps = h4_panel_get_caps,