diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-02-20 05:18:52 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-05-09 03:53:05 -0400 |
commit | 3acc797c1db2eb873b13a07f21fe9572af4b78ee (patch) | |
tree | 6b28c959da58c5ac7a0da4080688d9b1220fa2cb /arch/arm | |
parent | dac8eb5f1d29eb4cf44305239da7e7a477e48a90 (diff) |
OMAPDSS: Taal: move reset gpio handling to taal driver
The reset GPIO for Taal panel driver is currently requested in the
4430sdp board file. This patch moves the gpio request/free into the Taal
driver, where it should be.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-omap2/board-4430sdp.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c index 130ab00c09a2..6cbb16fb3817 100644 --- a/arch/arm/mach-omap2/board-4430sdp.c +++ b/arch/arm/mach-omap2/board-4430sdp.c | |||
@@ -758,21 +758,6 @@ static struct omap_dss_device sdp4430_lcd2_device = { | |||
758 | .channel = OMAP_DSS_CHANNEL_LCD2, | 758 | .channel = OMAP_DSS_CHANNEL_LCD2, |
759 | }; | 759 | }; |
760 | 760 | ||
761 | static void sdp4430_lcd_init(void) | ||
762 | { | ||
763 | int r; | ||
764 | |||
765 | r = gpio_request_one(dsi1_panel.reset_gpio, GPIOF_DIR_OUT, | ||
766 | "lcd1_reset_gpio"); | ||
767 | if (r) | ||
768 | pr_err("%s: Could not get lcd1_reset_gpio\n", __func__); | ||
769 | |||
770 | r = gpio_request_one(dsi2_panel.reset_gpio, GPIOF_DIR_OUT, | ||
771 | "lcd2_reset_gpio"); | ||
772 | if (r) | ||
773 | pr_err("%s: Could not get lcd2_reset_gpio\n", __func__); | ||
774 | } | ||
775 | |||
776 | static struct omap_dss_hdmi_data sdp4430_hdmi_data = { | 761 | static struct omap_dss_hdmi_data sdp4430_hdmi_data = { |
777 | .hpd_gpio = HDMI_GPIO_HPD, | 762 | .hpd_gpio = HDMI_GPIO_HPD, |
778 | }; | 763 | }; |
@@ -858,7 +843,6 @@ static void __init omap_4430sdp_display_init(void) | |||
858 | if (r) | 843 | if (r) |
859 | pr_err("%s: Could not get display_sel GPIO\n", __func__); | 844 | pr_err("%s: Could not get display_sel GPIO\n", __func__); |
860 | 845 | ||
861 | sdp4430_lcd_init(); | ||
862 | sdp4430_picodlp_init(); | 846 | sdp4430_picodlp_init(); |
863 | omap_display_init(&sdp4430_dss_data); | 847 | omap_display_init(&sdp4430_dss_data); |
864 | /* | 848 | /* |