From patchwork Mon Oct 29 19:25:42 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Hedlund X-Patchwork-Id: 1665361 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 812643FCF7 for ; Mon, 29 Oct 2012 19:25:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752992Ab2J2TZ4 (ORCPT ); Mon, 29 Oct 2012 15:25:56 -0400 Received: from mail-lb0-f174.google.com ([209.85.217.174]:50872 "EHLO mail-lb0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751069Ab2J2TZ4 (ORCPT ); Mon, 29 Oct 2012 15:25:56 -0400 Received: by mail-lb0-f174.google.com with SMTP id n3so3326841lbo.19 for ; Mon, 29 Oct 2012 12:25:54 -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=x2N1Debn0Omj5S9DdWCGn2JHDygY70G4ai4K67Osi/PkhW3AC7ZOTOEssQIQZUHv4Q JRJkw4aTIDfjtlWXFyw64U0vFCZ5QjYuZsqTtLVpNxUvMZH9IM1M7muoFQ79v4DyFnkV AdTBBpeluMWmmr2jA+BcyOHa7OltsF4bsEveQZfoORQwu1Y+vPGA2od0UF2dyF2HIIa9 apcbzb73GTVI+wp9MM7KZhovitl60Oro83SAZr/2b3iKsn/yGEO84gmhTbYeqGrRWY+Y tj+Qf6zvZ7CK3rNTVreYS0jIlZ4m9MnGsCg2y4Zkm3OvPkk5C317zWVeHLSfghUkR1o2 BhBQ== Received: by 10.152.103.243 with SMTP id fz19mr28197142lab.27.1351538754708; Mon, 29 Oct 2012 12:25:54 -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 e4sm3486795lby.12.2012.10.29.12.25.53 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 29 Oct 2012 12:25:54 -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 20:25:42 +0100 Message-Id: <1351538742-27380-1-git-send-email-anders.j.hedlund@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1351533073-5974-1-git-send-email-anders.j.hedlund@gmail.com> References: <1351533073-5974-1-git-send-email-anders.j.hedlund@gmail.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) {