2 * LCD panel support for the Palm Zire71
4 * Original version : Romain Goyet
5 * Current version : Laurent Gonzalez
6 * Modified for zire71 : Marek Vasut
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; either version 2 of the License, or (at your
11 * option) any later version.
13 * This program is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
18 * You should have received a copy of the GNU General Public License along
19 * with this program; if not, write to the Free Software Foundation, Inc.,
20 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 #include <linux/module.h>
24 #include <linux/platform_device.h>
29 static unsigned long palmz71_panel_get_caps(struct lcd_panel
*panel
)
31 return OMAPFB_CAPS_SET_BACKLIGHT
;
34 static struct lcd_panel palmz71_panel
= {
36 .config
= OMAP_LCDC_PANEL_TFT
| OMAP_LCDC_INV_VSYNC
|
37 OMAP_LCDC_INV_HSYNC
| OMAP_LCDC_HSVS_RISING_EDGE
|
38 OMAP_LCDC_HSVS_OPPOSITE
,
52 .get_caps
= palmz71_panel_get_caps
,
55 static int palmz71_panel_probe(struct platform_device
*pdev
)
57 omapfb_register_panel(&palmz71_panel
);
61 static struct platform_driver palmz71_panel_driver
= {
62 .probe
= palmz71_panel_probe
,
64 .name
= "lcd_palmz71",
68 module_platform_driver(palmz71_panel_driver
);
70 MODULE_AUTHOR("Romain Goyet, Laurent Gonzalez, Marek Vasut");
71 MODULE_LICENSE("GPL");
72 MODULE_DESCRIPTION("LCD panel support for the Palm Zire71");