]> git.karo-electronics.de Git - karo-tx-linux.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)
commit371805522f870986144fcd88727a47858e364a2c
treecb4ab4c0e4206df4a9b802166cb583c5d749590a
parent31927e5a52847761c1f2797a7ea53b6a75bdc518
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