linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Anders Hedlund <anders.j.hedlund@gmail.com>
To: tony@atomide.com, linux-omap@vger.kernel.org
Cc: Anders Hedlund <anders.j.hedlund@gmail.com>,
	Jonas Zetterberg <jozz@jozz.se>,
	Enric Balletbo i Serra <eballetbo@gmail.com>,
	Javier Martinez Canillas <martinez.javier@gmail.com>,
	Matthias Brugger <mbrugger@iseebcn.com>
Subject: [PATCH v2] ARM: OMAP3: igep0020: Set WIFI/BT GPIO pins in correct mux mode
Date: Mon, 29 Oct 2012 19:59:15 +0100	[thread overview]
Message-ID: <1351537155-27159-1-git-send-email-anders.j.hedlund@gmail.com> (raw)
In-Reply-To: <1351507226-10328-1-git-send-email-sourav.poddar@ti.com>

Setup the WIFI/BT GPIO pin muxes to enable WIFI/BT functionality.

Signed-off-by: Anders Hedlund <anders.j.hedlund@gmail.com>
Cc: Jonas Zetterberg <jozz@jozz.se>
Cc: Enric Balletbo i Serra <eballetbo@gmail.com>
Cc: Javier Martinez Canillas <martinez.javier@gmail.com>
Cc: Matthias Brugger <mbrugger@iseebcn.com>
---
 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


  parent reply	other threads:[~2012-10-29 18:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-29 10:40 [RESEND/PATCHv3] arm: dts: omap5-evm: Add keypad support Sourav Poddar
2012-10-29 16:18 ` Felipe Balbi
2012-10-29 16:44 ` Benoit Cousson
2012-10-30  5:26   ` Sourav
2012-10-30  9:13     ` Cousson, Benoit
2012-10-30  9:36       ` Sourav
2012-10-29 18:59 ` Anders Hedlund [this message]
2012-10-29 21:23   ` [PATCH v2] ARM: OMAP3: igep0020: Set WIFI/BT GPIO pins in correct mux mode Anders Hedlund
  -- strict thread matches above, loose matches on Subject: below --
2012-10-29 17:51 [PATCH] " Anders Hedlund
2012-10-29 19:25 ` [PATCH v2] " Anders Hedlund

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1351537155-27159-1-git-send-email-anders.j.hedlund@gmail.com \
    --to=anders.j.hedlund@gmail.com \
    --cc=eballetbo@gmail.com \
    --cc=jozz@jozz.se \
    --cc=linux-omap@vger.kernel.org \
    --cc=martinez.javier@gmail.com \
    --cc=mbrugger@iseebcn.com \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).