summaryrefslogtreecommitdiff
path: root/packages/linux/linux-omap
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-11-14 13:03:25 +0100
committerKoen Kooi <koen@openembedded.org>2008-11-14 13:03:25 +0100
commit5bbc2d06e61847ae30a3f3a87e1ff5c9b2e15652 (patch)
treea27b71bf2c093a62a2cc254b1ab5d709ef15b291 /packages/linux/linux-omap
parentff95dccb3c1617033c698165327e74ebda5f42a1 (diff)
linux omap git: bump to 2.6.28rc4, fix evm dss2 patch for upstream changes
* dss2 still not enabled in defconfig
Diffstat (limited to 'packages/linux/linux-omap')
-rw-r--r--packages/linux/linux-omap/omap3evm/omap3evm-dss2.diff8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/linux/linux-omap/omap3evm/omap3evm-dss2.diff b/packages/linux/linux-omap/omap3evm/omap3evm-dss2.diff
index afcebba10f..60832e72ca 100644
--- a/packages/linux/linux-omap/omap3evm/omap3evm-dss2.diff
+++ b/packages/linux/linux-omap/omap3evm/omap3evm-dss2.diff
@@ -146,7 +146,7 @@ index 42ab826..e244fa7 100644
+ printk(KERN_ERR "cannot enable LCD, DVI is enabled\n");
+ return -EINVAL;
+ }
-+ if (system_rev > OMAP3430_REV_ES1_0) {
++ if (omap_rev() > OMAP3430_REV_ES1_0) {
+ twl4030_i2c_write_u8(TWL4030_MODULE_PM_RECEIVER,
+ ENABLE_VPLL2_DEDICATED, TWL4030_VPLL2_DEDICATED);
+ twl4030_i2c_write_u8(TWL4030_MODULE_PM_RECEIVER,
@@ -159,20 +159,20 @@ index 42ab826..e244fa7 100644
+
+static void panel_disable_lcd(struct omap_display *display)
+{
-+ if (system_rev > OMAP3430_REV_ES1_0) {
++ if (omap_rev() > OMAP3430_REV_ES1_0) {
+ twl4030_i2c_write_u8(TWL4030_MODULE_PM_RECEIVER, 0x0,
+ TWL4030_VPLL2_DEDICATED);
+ twl4030_i2c_write_u8(TWL4030_MODULE_PM_RECEIVER, 0x0,
+ TWL4030_VPLL2_DEV_GRP);
+ }
-+ omap_set_gpio_dataout(LCD_PANEL_ENABLE_GPIO, 1);
++ gpio_set_value(LCD_PANEL_ENABLE_GPIO, 1);
+ lcd_enabled = 0;
+}
+
+static struct omap_display_data evm_display_data = {
+ .type = OMAP_DISPLAY_TYPE_DPI,
+ .name = "lcd",
-+ .panel_name = "panel-evm",
++ .panel_name = "panel-sdp3430",
+ .u.dpi.data_lines = 16,
+ .panel_enable = panel_enable_lcd,
+ .panel_disable = panel_disable_lcd,