Skip to content

Commit

Permalink
[Bluetooth] Add UART driver for Texas Instruments' BRF63xx chips
Browse files Browse the repository at this point in the history
Add support for Texas Instruments' HCI Low Level (HCILL) Bluetooth
protocol, which is a power management extension to H4. The HCILL is
widely used by TI's BRF63xx Bluetooth chips.

Signed-off-by: Ohad Ben-Cohen <ohad@bencohen.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
  • Loading branch information
Ohad Ben-Cohen authored and David S. Miller committed Oct 22, 2007
1 parent e24b21e commit 166d2f6
Show file tree
Hide file tree
Showing 5 changed files with 557 additions and 2 deletions.
11 changes: 11 additions & 0 deletions drivers/bluetooth/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,17 @@ config BT_HCIUART_BCSP

Say Y here to compile support for HCI BCSP protocol.

config BT_HCIUART_LL
bool "HCILL protocol support"
depends on BT_HCIUART
help
HCILL (HCI Low Level) is a serial protocol for communication
between Bluetooth device and host. This protocol is required for
serial Bluetooth devices that are based on Texas Instruments'
BRF chips.

Say Y here to compile support for HCILL protocol.

config BT_HCIBCM203X
tristate "HCI BCM203x USB driver"
depends on USB
Expand Down
1 change: 1 addition & 0 deletions drivers/bluetooth/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ obj-$(CONFIG_BT_HCIBTUART) += btuart_cs.o
hci_uart-y := hci_ldisc.o
hci_uart-$(CONFIG_BT_HCIUART_H4) += hci_h4.o
hci_uart-$(CONFIG_BT_HCIUART_BCSP) += hci_bcsp.o
hci_uart-$(CONFIG_BT_HCIUART_LL) += hci_ll.o
hci_uart-objs := $(hci_uart-y)
8 changes: 7 additions & 1 deletion drivers/bluetooth/hci_ldisc.c
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,10 @@ static int __init hci_uart_init(void)
#ifdef CONFIG_BT_HCIUART_BCSP
bcsp_init();
#endif

#ifdef CONFIG_BT_HCIUART_LL
ll_init();
#endif

return 0;
}

Expand All @@ -563,6 +566,9 @@ static void __exit hci_uart_exit(void)
#ifdef CONFIG_BT_HCIUART_BCSP
bcsp_deinit();
#endif
#ifdef CONFIG_BT_HCIUART_LL
ll_deinit();
#endif

/* Release tty registration of line discipline */
if ((err = tty_unregister_ldisc(N_HCI)))
Expand Down
Loading

0 comments on commit 166d2f6

Please sign in to comment.