Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 226580
b: refs/heads/master
c: 6d38c4b
h: refs/heads/master
v: v3
  • Loading branch information
Jarkko Nikula authored and Tony Lindgren committed Dec 22, 2010
1 parent 443759f commit 269f4f9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 31bbb4f035c13a73d1ebc2626663971723cbd28f
refs/heads/master: 6d38c4b4f1df70f953633c27ebcdc2712e9039bc
20 changes: 0 additions & 20 deletions trunk/arch/arm/mach-omap2/board-rx51-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@
#include "mux.h"

#define RX51_LCD_RESET_GPIO 90
/* REVISIT to verify with rx51.c at sound/soc/omap */
#define RX51_TVOUT_SEL_GPIO 40


#if defined(CONFIG_FB_OMAP2) || defined(CONFIG_FB_OMAP2_MODULE)

Expand All @@ -41,17 +38,6 @@ static void rx51_lcd_disable(struct omap_dss_device *dssdev)
gpio_set_value(dssdev->reset_gpio, 0);
}

static int rx51_tvout_enable(struct omap_dss_device *dssdev)
{
gpio_set_value(dssdev->reset_gpio, 1);
return 0;
}

static void rx51_tvout_disable(struct omap_dss_device *dssdev)
{
gpio_set_value(dssdev->reset_gpio, 0);
}

static struct omap_dss_device rx51_lcd_device = {
.name = "lcd",
.driver_name = "panel-acx565akm",
Expand All @@ -67,9 +53,6 @@ static struct omap_dss_device rx51_tv_device = {
.type = OMAP_DISPLAY_TYPE_VENC,
.driver_name = "venc",
.phy.venc.type = OMAP_DSS_VENC_TYPE_COMPOSITE,
.reset_gpio = RX51_TVOUT_SEL_GPIO,
.platform_enable = rx51_tvout_enable,
.platform_disable = rx51_tvout_disable,
};

static struct omap_dss_device *rx51_dss_devices[] = {
Expand Down Expand Up @@ -112,9 +95,6 @@ static int __init rx51_video_init(void)

gpio_direction_output(RX51_LCD_RESET_GPIO, 1);

/* REVISIT to verify with rx51.c at sound/soc/omap */
gpio_direction_output(RX51_TVOUT_SEL_GPIO, 1);

platform_add_devices(rx51_video_devices,
ARRAY_SIZE(rx51_video_devices));
return 0;
Expand Down

0 comments on commit 269f4f9

Please sign in to comment.