From patchwork Mon Oct 29 18:59:15 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Hedlund X-Patchwork-Id: 1665331 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 727AFDFB7A for ; Mon, 29 Oct 2012 19:00:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932468Ab2J2S7g (ORCPT ); Mon, 29 Oct 2012 14:59:36 -0400 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=lrP+WoTlj75cpTXdBe/cZPEfN4Tf1s+n8N+T8DINf8g=; b=H0brT+aBa6F1gnxabaWz6Nc0Cif4ZykVidz3o3kt8CjTmU+UyxVv4BnQ6wYvFsxnWR w4+zGldvmWFLKd2c/VqsaPrn3RFacEclPOVoBj4h91sv2+Lbdva9TsNEeZYBubIGH+hd LOlHPhtP/oz1/cr1ZZe8VhD7P4qMBkkll3D6D1DYu2nvsE1Bk15DLJ/Nc+H/xyhWqY0F C/QoeblCUM7JwFtTQS3WWAQTLoAkTZHIVhkq1hvDv6wLDboYSsba/GTiu/1ztMw+xJOJ XBihlzIFlSf0I1J6DI50KWwUsfSOLGpAH7veI56gb9QysUxHe8GQ4J6WskE1twlo2psK OlKw== Received: by 10.152.110.42 with SMTP id hx10mr28233645lab.0.1351537173271; Mon, 29 Oct 2012 11:59:33 -0700 (PDT) Received: from alice.hemma.lan (217-210-253-252-no53.tbcn.telia.com. [217.210.253.252]) by mx.google.com with ESMTPS id m6sm3469240lbh.10.2012.10.29.11.59.32 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 29 Oct 2012 11:59:32 -0700 (PDT) From: Anders Hedlund To: tony@atomide.com, linux-omap@vger.kernel.org Cc: Anders Hedlund , Jonas Zetterberg , Enric Balletbo i Serra , Javier Martinez Canillas , Matthias Brugger 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> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1351507226-10328-1-git-send-email-sourav.poddar@ti.com> References: <1351507226-10328-1-git-send-email-sourav.poddar@ti.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org 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) {