]> git.baikalelectronics.ru Git - kernel.git/commit
bluetooth: hci_uart: add LL protocol serdev driver support
authorRob Herring <robh@kernel.org>
Thu, 13 Apr 2017 15:03:52 +0000 (10:03 -0500)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 13 Apr 2017 17:22:53 +0000 (19:22 +0200)
commit63de1d86aa2f852a37cedf1673121ff0feab885c
treecb4ab4c0e4206df4a9b802166cb583c5d749590a
parentc9d23c25b9e272d7602fa19bc31e0ac18a1ba589
bluetooth: hci_uart: add LL protocol serdev driver support

Turns out that the LL protocol and the TI-ST are the same thing AFAICT.
The TI-ST adds firmware loading, GPIO control, and shared access for
NFC, FM radio, etc. For now, we're only implementing what is needed for
BT. This mirrors other drivers like BCM and Intel, but uses the new
serdev bus.

The firmware loading is greatly simplified by using existing
infrastructure to send commands. It may be a bit slower than the
original code using synchronous functions, but the real bottleneck is
likely doing firmware load at 115.2kbps.

Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Marcel Holtmann <marcel@holtmann.org>
Cc: Gustavo Padovan <gustavo@padovan.org>
Cc: Johan Hedberg <johan.hedberg@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_ll.c