Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH] Bluetooth: hci_bcm: Default to 4 Mbps
@ 2026-08-29 10:02 Paul Cercueil
  2026-08-29 10:50 ` bluez.test.bot
  2026-08-31 14:56 ` [PATCH] " Luiz Augusto von Dentz
  0 siblings, 2 replies; 4+ messages in thread
From: Paul Cercueil @ 2026-08-29 10:02 UTC (permalink / raw)
  To: Marcel Holtmann, Luiz Augusto von Dentz
  Cc: linux-bluetooth, linux-kernel, Paul Cercueil

The ACPI path already did default to 4000000 baud, while the OF path did
not, for some reason. This meant that unless overridden with the
'max-speed' OF property, the serial port would stay at the init speed of
115200 bps, making it unsuitable with high-speed Bluetooth devices like
audio equipment.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---
 drivers/bluetooth/hci_bcm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/bluetooth/hci_bcm.c b/drivers/bluetooth/hci_bcm.c
index 9a103db7e355..c44d552f9ad5 100644
--- a/drivers/bluetooth/hci_bcm.c
+++ b/drivers/bluetooth/hci_bcm.c
@@ -1224,6 +1224,7 @@ static int bcm_acpi_probe(struct bcm_device *dev)
 
 static int bcm_of_probe(struct bcm_device *bdev)
 {
+	bdev->oper_speed = 4000000;
 	bdev->use_autobaud_mode = device_property_read_bool(bdev->dev,
 							    "brcm,requires-autobaud-mode");
 	device_property_read_u32(bdev->dev, "max-speed", &bdev->oper_speed);
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-09-01 14:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-29 10:02 [PATCH] Bluetooth: hci_bcm: Default to 4 Mbps Paul Cercueil
2026-08-29 10:50 ` bluez.test.bot
2026-08-31 14:56 ` [PATCH] " Luiz Augusto von Dentz
2026-09-01 14:24   ` Paul Cercueil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox