]> git.baikalelectronics.ru Git - kernel.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:33:05 +0000 (13:33 +0100)
commitf437ac56751cad3a048e1e7ba6ba5a37eeb9fa6c
treebe7ed7c6b27db242bcfe9e40878316c9fa80812d
parent0a46cda7d3ffe94039016a93f89ff58088a5629d
Bluetooth: hci_bcm: Add CYW4373A0 support

[ Upstream commit ae3923c1e0c5cd1d971eb1577b0fe6494cf2926d ]

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