From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wi0-f180.google.com ([209.85.212.180]:55421 "EHLO mail-wi0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759094Ab3DBQrI (ORCPT ); Tue, 2 Apr 2013 12:47:08 -0400 Received: by mail-wi0-f180.google.com with SMTP id c10so654863wiw.1 for ; Tue, 02 Apr 2013 09:47:07 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1364916033.9475.YahooMailNeo@web193504.mail.sg3.yahoo.com> References: <515A0847.7000306@gmail.com> <1364903851.35703.YahooMailNeo@web193501.mail.sg3.yahoo.com> <1364916033.9475.YahooMailNeo@web193504.mail.sg3.yahoo.com> Date: Tue, 2 Apr 2013 09:47:06 -0700 Message-ID: (sfid-20130402_184726_262118_6933ABED) Subject: Re: AR9287; mapping between GPIOs and COEX pins From: Adrian Chadd To: sandeep suresh Cc: ath9k-devel , "linux-wireless@vger.kernel.org" Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: The point behind GPIO pins is that they're generic. There's a multiplexer in the NIC which lets you map various GPIO pins to any internal function. So, you need to find which GPIO pins the bluetooth device is connected to. Once you know that, you can set the GPIO input/output multiplexer bits to give those GPIO pins the right BT behaviour. Adrian On 2 April 2013 08:20, sandeep suresh wrote: > Hello Mr.Adrian, > The card manufacturer like Compex systems for AR9287 has these pins > available on PCIe interface. But my query is AR9287 specific. AR9287 is a 76 > pin IC. GPIO4 is Pin22, GPIO5 is Pin23, GPIO6 is Pin 24 and so on. The > question is if I need to access COEX signals (WL_ACTIVE, BT_ACTIVE, > BT_PRIORITY, BT_FREQUENCY), on which of these 76 pins can I access them? > Please help. > > Regards > Sandeep. > > From: Adrian Chadd > To: sandeep suresh > Cc: ath9k-devel ; > "linux-wireless@vger.kernel.org" > Sent: Tuesday, 2 April 2013 8:23 PM > Subject: Re: AR9287; mapping between GPIOs and COEX pins > > It depends on what the card manufacturer has done. > > > > > Adrian > > On 2 April 2013 04:57, sandeep suresh wrote: >> Hello All, >> In AR9287, there are ten GPIOs and GPIO[0:3] are mapped to JTAG. >> Remaining GPIOs [4:9] are free. Can you please help me with the mapping of >> GPIO pins to COEX pins? That means which GPIO is connected to: >> a) WLAN_ACTIVE >> b)BT_PRIORITY >> c)BT_ACTIVE >> d)BT_FREQUENCY >> >> Thanks & regards >> Sandeep. > > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adrian Chadd Date: Tue, 2 Apr 2013 09:47:06 -0700 Subject: [ath9k-devel] AR9287; mapping between GPIOs and COEX pins In-Reply-To: <1364916033.9475.YahooMailNeo@web193504.mail.sg3.yahoo.com> References: <515A0847.7000306@gmail.com> <1364903851.35703.YahooMailNeo@web193501.mail.sg3.yahoo.com> <1364916033.9475.YahooMailNeo@web193504.mail.sg3.yahoo.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org The point behind GPIO pins is that they're generic. There's a multiplexer in the NIC which lets you map various GPIO pins to any internal function. So, you need to find which GPIO pins the bluetooth device is connected to. Once you know that, you can set the GPIO input/output multiplexer bits to give those GPIO pins the right BT behaviour. Adrian On 2 April 2013 08:20, sandeep suresh wrote: > Hello Mr.Adrian, > The card manufacturer like Compex systems for AR9287 has these pins > available on PCIe interface. But my query is AR9287 specific. AR9287 is a 76 > pin IC. GPIO4 is Pin22, GPIO5 is Pin23, GPIO6 is Pin 24 and so on. The > question is if I need to access COEX signals (WL_ACTIVE, BT_ACTIVE, > BT_PRIORITY, BT_FREQUENCY), on which of these 76 pins can I access them? > Please help. > > Regards > Sandeep. > > From: Adrian Chadd > To: sandeep suresh > Cc: ath9k-devel ; > "linux-wireless at vger.kernel.org" > Sent: Tuesday, 2 April 2013 8:23 PM > Subject: Re: AR9287; mapping between GPIOs and COEX pins > > It depends on what the card manufacturer has done. > > > > > Adrian > > On 2 April 2013 04:57, sandeep suresh wrote: >> Hello All, >> In AR9287, there are ten GPIOs and GPIO[0:3] are mapped to JTAG. >> Remaining GPIOs [4:9] are free. Can you please help me with the mapping of >> GPIO pins to COEX pins? That means which GPIO is connected to: >> a) WLAN_ACTIVE >> b)BT_PRIORITY >> c)BT_ACTIVE >> d)BT_FREQUENCY >> >> Thanks & regards >> Sandeep. > >