]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
OMAP: 4430SDP/Panda: setup HDMI GPIO muxes
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 17 Jan 2012 09:02:36 +0000 (11:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Mar 2012 19:31:38 +0000 (12:31 -0700)
commit 78a1ad8f12db70b8b0a4548b90704de08ee216ce upstream.

The HDMI GPIO pins LS_OE and CT_CP_HPD are not currently configured.
This patch configures them as output pins.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-omap2/board-4430sdp.c
arch/arm/mach-omap2/board-omap4panda.c

index 385c1fdb826fd700b18f367380579ba479e8ea4a..7bcafb9990eb3e55b5946e5017ee0b6b6d231020 100644 (file)
@@ -824,6 +824,9 @@ static void omap_4430sdp_display_init(void)
        sdp4430_hdmi_mux_init();
        sdp4430_picodlp_init();
        omap_display_init(&sdp4430_dss_data);
+
+       omap_mux_init_gpio(HDMI_GPIO_LS_OE, OMAP_PIN_OUTPUT);
+       omap_mux_init_gpio(HDMI_GPIO_CT_CP_HPD, OMAP_PIN_OUTPUT);
 }
 
 #ifdef CONFIG_OMAP_MUX
index e0d0abcc73dfef9070fd5cb233a242df52eedc3f..27fc162991b37e7ade96a2ae45c1a7ea8e1e3e9d 100644 (file)
@@ -541,6 +541,9 @@ void omap4_panda_display_init(void)
 
        omap4_panda_hdmi_mux_init();
        omap_display_init(&omap4_panda_dss_data);
+
+       omap_mux_init_gpio(HDMI_GPIO_LS_OE, OMAP_PIN_OUTPUT);
+       omap_mux_init_gpio(HDMI_GPIO_CT_CP_HPD, OMAP_PIN_OUTPUT);
 }
 
 static void __init omap4_panda_init(void)