]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Bluetooth: hci_bcm: Add CYW4373A0 support
authorMarek Vasut <marex@denx.de>
Wed, 2 Nov 2022 16:47:05 +0000 (17:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:26:47 +0000 (13:26 +0100)
commitb6b56ea020459de30e6b085a6466ff78c67ec257
treeaac786cdce5e9f8fd613d3b40bfe820a7f79307a
parentcb29811d989bcb7ea81ca111c4b13878b344e086
Bluetooth: hci_bcm: Add CYW4373A0 support

[ Upstream commit 02d056a3404e20245a69dcb4022a0930085fc5ec ]

CYW4373A0 is a Wi-Fi + Bluetooth combo device from Cypress.
This chip is present e.g. on muRata 2AE module.

This chip has additional quirk where the HCI command 0xfc45, used on
older chips to switch UART clock from 24 MHz to 48 MHz, to support
baudrates over 3 Mbdps, is no longer recognized by this newer chip.
This newer chip can configure the 4 Mbdps baudrate without the need
to issue HCI command 0xfc45, so add flag to indicate this and do not
issue the command on this chip to avoid failure to set 4 Mbdps baud
rate.

It is not clear whether there is a way to determine which chip does
and which chip does not support the HCI command 0xfc45, other than
trial and error.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/bluetooth/hci_bcm.c