diff options
author | Sean Wang <sean.wang@mediatek.com> | 2019-03-08 02:15:44 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2019-04-23 18:09:07 +0200 |
commit | 9aebfd4a2200ab8075e44379c758bccefdc589bb (patch) | |
tree | b159de906f241bf6ccebf0d330846f77aa04aa36 /drivers/bluetooth/Kconfig | |
parent | mmc: add SDIO identifiers for MediaTek Bluetooth devices (diff) | |
download | linux-9aebfd4a2200ab8075e44379c758bccefdc589bb.tar.xz linux-9aebfd4a2200ab8075e44379c758bccefdc589bb.zip |
Bluetooth: mediatek: add support for MediaTek MT7663S and MT7668S SDIO devices
This adds the support of enabling MT7663S and MT7668S SDIO-based
Bluetooth function.
There are quite many differences between MT766[3,8]S and standard
Bluetooth SDIO devices such as Type-A and Type-B devices. For example,
MT766[3,8]S have its own SDIO registers layout, definition, SDIO packet
format, and the specific flow should be programmed on them to complete
the device initialization and low power control and so on.
Currently, there are many independent programming sequences from the
transport which are exactly the same as the ones in btusb.c about MediaTek
support [1] and btmtkuart.c. We can try to split the transport independent
Bluetooth setups on the advance, place them into the common files and allow
varous transport drivers to reuse them in the future.
[1] http://lists.infradead.org/pipermail/linux-mediatek/2019-January/017074.html
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/Kconfig')
-rw-r--r-- | drivers/bluetooth/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/bluetooth/Kconfig b/drivers/bluetooth/Kconfig index 7b2e76e7f22f..b0f9a20401d6 100644 --- a/drivers/bluetooth/Kconfig +++ b/drivers/bluetooth/Kconfig @@ -379,6 +379,17 @@ config BT_WILINK Say Y here to compile support for Texas Instrument's WiLink7 driver into the kernel or say M to compile it as module (btwilink). +config BT_MTKSDIO + tristate "MediaTek HCI SDIO driver" + depends on MMC + help + MediaTek Bluetooth HCI SDIO driver. + This driver is required if you want to use MediaTek Bluetooth + with SDIO interface. + + Say Y here to compile support for MediaTek Bluetooth SDIO devices + into the kernel or say M to compile it as module (btmtksdio). + config BT_MTKUART tristate "MediaTek HCI UART driver" depends on SERIAL_DEV_BUS |