aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap/lcd_2430sdp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/omap/lcd_2430sdp.c')
-rw-r--r--drivers/video/omap/lcd_2430sdp.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/video/omap/lcd_2430sdp.c b/drivers/video/omap/lcd_2430sdp.c
index 284cfcec55d9..393712b6f369 100644
--- a/drivers/video/omap/lcd_2430sdp.c
+++ b/drivers/video/omap/lcd_2430sdp.c
@@ -39,13 +39,17 @@
39static unsigned backlight_gpio; 39static unsigned backlight_gpio;
40static unsigned enable_gpio; 40static unsigned enable_gpio;
41 41
42#define LCD_PANEL_BACKLIGHT_GPIO 91
43#define LCD_PANEL_ENABLE_GPIO 154
44#define LCD_PIXCLOCK_MAX 5400 /* freq 5.4 MHz */ 42#define LCD_PIXCLOCK_MAX 5400 /* freq 5.4 MHz */
45#define PM_RECEIVER TWL4030_MODULE_PM_RECEIVER 43#define PM_RECEIVER TWL4030_MODULE_PM_RECEIVER
46#define ENABLE_VAUX2_DEDICATED 0x09 44#define ENABLE_VAUX2_DEDICATED 0x09
47#define ENABLE_VAUX2_DEV_GRP 0x20 45#define ENABLE_VAUX2_DEV_GRP 0x20
46#define ENABLE_VAUX3_DEDICATED 0x03
47#define ENABLE_VAUX3_DEV_GRP 0x20
48 48
49#define ENABLE_VPLL2_DEDICATED 0x05
50#define ENABLE_VPLL2_DEV_GRP 0xE0
51#define TWL4030_VPLL2_DEV_GRP 0x33
52#define TWL4030_VPLL2_DEDICATED 0x36
49 53
50#define t2_out(c, r, v) twl4030_i2c_write_u8(c, r, v) 54#define t2_out(c, r, v) twl4030_i2c_write_u8(c, r, v)
51 55
@@ -146,7 +150,7 @@ struct lcd_panel sdp2430_panel = {
146 150
147 .init = sdp2430_panel_init, 151 .init = sdp2430_panel_init,
148 .cleanup = sdp2430_panel_cleanup, 152 .cleanup = sdp2430_panel_cleanup,
149 .enable = sdp2430_panel_enable, 153 .enable = sdp2430_panel_enable,
150 .disable = sdp2430_panel_disable, 154 .disable = sdp2430_panel_disable,
151 .get_caps = sdp2430_panel_get_caps, 155 .get_caps = sdp2430_panel_get_caps,
152}; 156};
@@ -176,7 +180,7 @@ static int sdp2430_panel_resume(struct platform_device *pdev)
176struct platform_driver sdp2430_panel_driver = { 180struct platform_driver sdp2430_panel_driver = {
177 .probe = sdp2430_panel_probe, 181 .probe = sdp2430_panel_probe,
178 .remove = sdp2430_panel_remove, 182 .remove = sdp2430_panel_remove,
179 .suspend = sdp2430_panel_suspend, 183 .suspend = sdp2430_panel_suspend,
180 .resume = sdp2430_panel_resume, 184 .resume = sdp2430_panel_resume,
181 .driver = { 185 .driver = {
182 .name = "sdp2430_lcd", 186 .name = "sdp2430_lcd",