Thread (1 message) 1 message, 1 author, 2017-08-17

Re: [PATCH v4 4/4] Bluetooth: hci_bcm: Add serdev support

From: Marcel Holtmann <marcel@holtmann.org>
Date: 2017-08-17 19:30:08
Also in: linux-devicetree
Subsystem: bluetooth drivers, the rest · Maintainers: Marcel Holtmann, Luiz Augusto von Dentz, Linus Torvalds

Possibly related (same subject, not in this thread)

Hi Loic,
Add basic support for Broadcom serial slave devices.
Probe the serial device, retrieve its maximum speed and
register a new hci uart device.

Tested/compatible with bcm43438 (RPi3).

Signed-off-by: Loic Poulain <redacted>
---
v2: dt-bindings as separate patch
    rebase on upcoming pi3 dts changes
v3: changes in bcm serdev drivers:
    name refactoring and additional comments
    Add generic host_set_baudrate method
    Use agnostic device_property_read
v4: changes in doc and dts:
    Add additional params to broadcom bt dt-bindings
    Set the max baudrate to 2000000 instead of 921600
    use chosen/stdout-path instead of console=
    remove useless earlyprintk
    same changes in bcm283x.dtsi

drivers/bluetooth/hci_bcm.c | 85 +++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 83 insertions(+), 2 deletions(-)
you are missing the serdev dependency.
diff --git a/drivers/bluetooth/Kconfig b/drivers/bluetooth/Kconfig
index 3a6ead603e49..fae5a74dc737 100644
--- a/drivers/bluetooth/Kconfig
+++ b/drivers/bluetooth/Kconfig
@@ -168,6 +168,7 @@ config BT_HCIUART_INTEL
 config BT_HCIUART_BCM
        bool "Broadcom protocol support"
        depends on BT_HCIUART
+       depends on BT_HCIUART_SERDEV
        select BT_HCIUART_H4
        select BT_BCM
        help
Regards

Marcel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help