Bluetooth: hci_bcm: Limit bcm43430a0 / bcm43430a1 baudrate to 2000000
authorHans de Goede <hdegoede@redhat.com>
Fri, 31 Mar 2023 21:11:22 +0000 (23:11 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 24 Apr 2023 05:00:32 +0000 (22:00 -0700)
commitce439473acdf0a3aecbda616a0f92973ab1c2e52
tree0795fff710a3fe716860ab07ee507be94288ffda
parent0d218c3642b9ccf71f44987cd03c19320f3bd918
Bluetooth: hci_bcm: Limit bcm43430a0 / bcm43430a1 baudrate to 2000000

The bcm43430a0 and bcm43430a1 BT does not support the 0xfc45 command
to set the UART clock to 48 MHz and it also does not work at 4000000
baud without this command as some newer models do.

These chips are found on ACPI/x86 devices where the operating baudrate
does not come from the firmware but is hardcoded at 4000000, which does
not work.

Add a max_baudrate value to struct bcm_device_data and set this
to 2000000 on all known ACPI hardware-ids for the bcm43430a0
and the bcm43430a1.

Note this also adds the BCM2E9F ACPI HID which was missing until now.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/hci_bcm.c