linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arend van Spriel <arend@broadcom.com>
To: Bastien Nocera <hadess@hadess.net>
Cc: "Rafał Miłecki" <zajec5@gmail.com>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	"brcm80211 development" <brcm80211-dev-list@broadcom.com>
Subject: Re: Broadcom Wi-Fi/Bluetooth on GPIO? (Baytrail tablet)
Date: Mon, 8 Sep 2014 11:00:35 +0200	[thread overview]
Message-ID: <540D7033.5010104@broadcom.com> (raw)
In-Reply-To: <CACna6rxj7wJjWrvcLsTzFPKJP+g-an1qOwJSXZNCp99uKnhF8Q@mail.gmail.com>

On 09/05/14 10:06, Rafał Miłecki wrote:
> On 5 September 2014 00:39, Bastien Nocera<hadess@hadess.net>  wrote:
>> On this tablet, based on a Baytrail SoC, I found reference of this
>> Broadcom device in the DSDT, and I believe it could be the
>> Bluetooth/Wi-Fi chipset (this one[1]?):
>> ---8<---
>> Device (BRC3)
>> {
>>      Name (_ADR, One)  // _ADR: Address
>>      Name (_DEP, Package (0x01)  // _DEP: Dependencies
>>      {
>>          GPO2
>>      })
>>      Name (_HID, "BCM4321")  // _HID: Hardware ID
>>      Name (_CID, "BCM43241")  // _CID: Compatible ID
>>      Name (GMOD, ResourceTemplate ()
>>      {
>>          GpioIo (Exclusive, PullDefault, 0x0000, 0x0000,
>> IoRestrictionOutputOnly,
>>              "\\_SB.GPO2", 0x00, ResourceConsumer, ,
>>              )
>>              {   // Pin list
>>                  0x0014
>>              }
>>      })
>> ---8<---
>>
>> Am I correct in thinking that it's a Broadcom chipset? What would it
>> take to get this supported in the kernel? I'm currently stuck on a
>> slightly older kernel (3.16.0) due to Intel graphics driver problems,
>> but I couldn't find anything directly related to this in the current
>> linus tree.
>
> Most of wireless devices in phones/tables/etc. are full MAC devices.
> Broadcom wireless chipset names are a bit tricky. For example chipset
> 0x4322 can be found in soft MAC devices as well as in full MAC ones.
> However in case of Full MAC 0x4322 chipset Broadcom used marketing
> name BCM43231.
>
> So I think (it's just a guess) your device is a chipset identifying
> itself as 0x4321 in a Full MAC device with marketing name BCM43241.
>
> It seems that brcmfmac already supports BCM43241 as SDIO device. So
> unless your tables uses some different (unsupported) chip revision, it
> should be just a matter of interface to support your WiFi.

Correct. I suspect the tablet has 43241. So you can try brcmfmac driver. 
When you load it with 'debug=0x1416' you will probably get more from the 
kernel log regarding the chip revision. You need to have firmware in 
/lib/firmware/brcm. Which one depends on the chip id and/or revision.

Regards,
Arend

  reply	other threads:[~2014-09-08  9:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-04 22:39 Broadcom Wi-Fi/Bluetooth on GPIO? (Baytrail tablet) Bastien Nocera
2014-09-05  8:06 ` Rafał Miłecki
2014-09-08  9:00   ` Arend van Spriel [this message]
2014-09-09  9:28     ` Bastien Nocera

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=540D7033.5010104@broadcom.com \
    --to=arend@broadcom.com \
    --cc=brcm80211-dev-list@broadcom.com \
    --cc=hadess@hadess.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=zajec5@gmail.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).