From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anders Hedlund Subject: [PATCH v2] ARM: OMAP3: igep0020: Set WIFI/BT GPIO pins in correct mux mode Date: Mon, 29 Oct 2012 19:59:15 +0100 Message-ID: <1351537155-27159-1-git-send-email-anders.j.hedlund@gmail.com> References: <1351507226-10328-1-git-send-email-sourav.poddar@ti.com> Return-path: Received: from mail-la0-f46.google.com ([209.85.215.46]:50316 "EHLO mail-la0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932398Ab2J2S7e (ORCPT ); Mon, 29 Oct 2012 14:59:34 -0400 Received: by mail-la0-f46.google.com with SMTP id h6so4023602lag.19 for ; Mon, 29 Oct 2012 11:59:33 -0700 (PDT) In-Reply-To: <1351507226-10328-1-git-send-email-sourav.poddar@ti.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: tony@atomide.com, linux-omap@vger.kernel.org Cc: Anders Hedlund , Jonas Zetterberg , Enric Balletbo i Serra , Javier Martinez Canillas , Matthias Brugger Setup the WIFI/BT GPIO pin muxes to enable WIFI/BT functionality. Signed-off-by: Anders Hedlund Cc: Jonas Zetterberg Cc: Enric Balletbo i Serra Cc: Javier Martinez Canillas Cc: Matthias Brugger --- arch/arm/mach-omap2/board-igep0020.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/mach-omap2/board-igep0020.c b/arch/arm/mach-omap2/board-igep0020.c index 2821448..2a21947 100644 --- a/arch/arm/mach-omap2/board-igep0020.c +++ b/arch/arm/mach-omap2/board-igep0020.c @@ -583,6 +583,11 @@ static void __init igep_wlan_bt_init(void) } else return; + /* Make sure that the GPIO pins are muxed correctly */ + omap_mux_init_gpio(igep_wlan_bt_gpios[0].gpio, OMAP_PIN_OUTPUT); + omap_mux_init_gpio(igep_wlan_bt_gpios[1].gpio, OMAP_PIN_OUTPUT); + omap_mux_init_gpio(igep_wlan_bt_gpios[2].gpio, OMAP_PIN_OUTPUT); + err = gpio_request_array(igep_wlan_bt_gpios, ARRAY_SIZE(igep_wlan_bt_gpios)); if (err) { -- 1.7.10.4