1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * LCD panel support for Palm Tungsten|T
4 * Current version : Marek Vasut <marek.vasut@gmail.com>
6 * Modified from lcd_inn1510.c
11 GPIO12 - screen blanking
12 GPIO13 - screen blanking
15 #include <linux/platform_device.h>
16 #include <linux/module.h>
18 #include <linux/gpio.h>
22 static unsigned long palmtt_panel_get_caps(struct lcd_panel
*panel
)
24 return OMAPFB_CAPS_SET_BACKLIGHT
;
27 static struct lcd_panel palmtt_panel
= {
29 .config
= OMAP_LCDC_PANEL_TFT
| OMAP_LCDC_INV_VSYNC
|
30 OMAP_LCDC_INV_HSYNC
| OMAP_LCDC_HSVS_RISING_EDGE
|
31 OMAP_LCDC_HSVS_OPPOSITE
,
45 .get_caps
= palmtt_panel_get_caps
,
48 static int palmtt_panel_probe(struct platform_device
*pdev
)
50 omapfb_register_panel(&palmtt_panel
);
54 static struct platform_driver palmtt_panel_driver
= {
55 .probe
= palmtt_panel_probe
,
61 module_platform_driver(palmtt_panel_driver
);
63 MODULE_AUTHOR("Marek Vasut <marek.vasut@gmail.com>");
64 MODULE_DESCRIPTION("LCD panel support for Palm Tungsten|T");
65 MODULE_LICENSE("GPL");