1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * LCD panel support for the Palm Zire71
5 * Original version : Romain Goyet
6 * Current version : Laurent Gonzalez
7 * Modified for zire71 : Marek Vasut
10 #include <linux/module.h>
11 #include <linux/platform_device.h>
16 static unsigned long palmz71_panel_get_caps(struct lcd_panel
*panel
)
18 return OMAPFB_CAPS_SET_BACKLIGHT
;
21 static struct lcd_panel palmz71_panel
= {
23 .config
= OMAP_LCDC_PANEL_TFT
| OMAP_LCDC_INV_VSYNC
|
24 OMAP_LCDC_INV_HSYNC
| OMAP_LCDC_HSVS_RISING_EDGE
|
25 OMAP_LCDC_HSVS_OPPOSITE
,
39 .get_caps
= palmz71_panel_get_caps
,
42 static int palmz71_panel_probe(struct platform_device
*pdev
)
44 omapfb_register_panel(&palmz71_panel
);
48 static struct platform_driver palmz71_panel_driver
= {
49 .probe
= palmz71_panel_probe
,
51 .name
= "lcd_palmz71",
55 module_platform_driver(palmz71_panel_driver
);
57 MODULE_AUTHOR("Romain Goyet, Laurent Gonzalez, Marek Vasut");
58 MODULE_LICENSE("GPL");
59 MODULE_DESCRIPTION("LCD panel support for the Palm Zire71");