diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-rx51-video.c')
-rw-r--r-- | arch/arm/mach-omap2/board-rx51-video.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/arch/arm/mach-omap2/board-rx51-video.c b/arch/arm/mach-omap2/board-rx51-video.c index 9919581f3911..acd670054d9a 100644 --- a/arch/arm/mach-omap2/board-rx51-video.c +++ b/arch/arm/mach-omap2/board-rx51-video.c | |||
@@ -24,9 +24,6 @@ | |||
24 | #include "mux.h" | 24 | #include "mux.h" |
25 | 25 | ||
26 | #define RX51_LCD_RESET_GPIO 90 | 26 | #define RX51_LCD_RESET_GPIO 90 |
27 | /* REVISIT to verify with rx51.c at sound/soc/omap */ | ||
28 | #define RX51_TVOUT_SEL_GPIO 40 | ||
29 | |||
30 | 27 | ||
31 | #if defined(CONFIG_FB_OMAP2) || defined(CONFIG_FB_OMAP2_MODULE) | 28 | #if defined(CONFIG_FB_OMAP2) || defined(CONFIG_FB_OMAP2_MODULE) |
32 | 29 | ||
@@ -41,17 +38,6 @@ static void rx51_lcd_disable(struct omap_dss_device *dssdev) | |||
41 | gpio_set_value(dssdev->reset_gpio, 0); | 38 | gpio_set_value(dssdev->reset_gpio, 0); |
42 | } | 39 | } |
43 | 40 | ||
44 | static int rx51_tvout_enable(struct omap_dss_device *dssdev) | ||
45 | { | ||
46 | gpio_set_value(dssdev->reset_gpio, 1); | ||
47 | return 0; | ||
48 | } | ||
49 | |||
50 | static void rx51_tvout_disable(struct omap_dss_device *dssdev) | ||
51 | { | ||
52 | gpio_set_value(dssdev->reset_gpio, 0); | ||
53 | } | ||
54 | |||
55 | static struct omap_dss_device rx51_lcd_device = { | 41 | static struct omap_dss_device rx51_lcd_device = { |
56 | .name = "lcd", | 42 | .name = "lcd", |
57 | .driver_name = "panel-acx565akm", | 43 | .driver_name = "panel-acx565akm", |
@@ -67,9 +53,6 @@ static struct omap_dss_device rx51_tv_device = { | |||
67 | .type = OMAP_DISPLAY_TYPE_VENC, | 53 | .type = OMAP_DISPLAY_TYPE_VENC, |
68 | .driver_name = "venc", | 54 | .driver_name = "venc", |
69 | .phy.venc.type = OMAP_DSS_VENC_TYPE_COMPOSITE, | 55 | .phy.venc.type = OMAP_DSS_VENC_TYPE_COMPOSITE, |
70 | .reset_gpio = RX51_TVOUT_SEL_GPIO, | ||
71 | .platform_enable = rx51_tvout_enable, | ||
72 | .platform_disable = rx51_tvout_disable, | ||
73 | }; | 56 | }; |
74 | 57 | ||
75 | static struct omap_dss_device *rx51_dss_devices[] = { | 58 | static struct omap_dss_device *rx51_dss_devices[] = { |
@@ -112,9 +95,6 @@ static int __init rx51_video_init(void) | |||
112 | 95 | ||
113 | gpio_direction_output(RX51_LCD_RESET_GPIO, 1); | 96 | gpio_direction_output(RX51_LCD_RESET_GPIO, 1); |
114 | 97 | ||
115 | /* REVISIT to verify with rx51.c at sound/soc/omap */ | ||
116 | gpio_direction_output(RX51_TVOUT_SEL_GPIO, 1); | ||
117 | |||
118 | platform_add_devices(rx51_video_devices, | 98 | platform_add_devices(rx51_video_devices, |
119 | ARRAY_SIZE(rx51_video_devices)); | 99 | ARRAY_SIZE(rx51_video_devices)); |
120 | return 0; | 100 | return 0; |