[PATCH] SDIO support for Globalscale Dreamplug

Ilya Bakulin ilya at bakulin.de
Tue Jul 2 20:09:48 UTC 2013


On 02.07.13 21:34, Warner Losh wrote:
> 
> On Jul 2, 2013, at 1:21 PM, Ilya Bakulin wrote:
>> The SDIO card found in the Dreamplug has three functions, one of them is
>> Bluetooth.
>> Will try to find some docs / Linux code for that...
> 
> I'll see if I can dig mine up as well. This sounds like a fun project..
> 

Seems like Marvell Bluetooth is not a standard one.
The support code for it in the Linux kernel is [1], while generic driver is [2].
Marvell uses a loadable firmware to bring the module to life.
The firmware seems to be shared between Wi-Fi and Bluetooth module.
Implementing firmware upload seems to be implementable using our standard firmware(9)
interface, so I will need to embed the firmware into the kernel.
I cannot use loadable modules because I boot my kernel via NFS.

Of course, Bluetooth support can be implemented only
when the SDIO infrastructure is ready, so this is the highest priority for me atm :-)

[1] https://github.com/torvalds/linux/blob/master/drivers/bluetooth/btmrvl_sdio.c
[2] https://github.com/torvalds/linux/blob/master/drivers/bluetooth/btsdio.c
-- 
Regards,
Ilya Bakulin


More information about the freebsd-arm mailing list