Linux bluetooth development
 help / color / mirror / Atom feed
From: Paul Cercueil <paul@crapouillou.net>
To: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: Marcel Holtmann <marcel@holtmann.org>,
	linux-bluetooth@vger.kernel.org,  linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Bluetooth: hci_bcm: Default to 4 Mbps
Date: Tue, 01 Sep 2026 16:24:09 +0200	[thread overview]
Message-ID: <bca0949bf284f9246376473821bea3bb6728a93a.camel@crapouillou.net> (raw)
In-Reply-To: <CABBYNZKNSbc7CNsJG3W2AgU_JLng7+Y2Jh4KUbKZQXOMGJ8ALw@mail.gmail.com>

Hi Luiz,

Le lundi 31 août 2026 à 10:56 -0400, Luiz Augusto von Dentz a écrit :
> Hi Paul,
> 
> On Sat, Aug 29, 2026 at 6:02 AM Paul Cercueil <paul@crapouillou.net>
> wrote:
> > 
> > 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
> 
> Sashiko flagged a problem with this:
> 
> https://sashiko.dev/#/patchset/20260829100205.113655-1-paul%40crapouillou.net

Noted.

The argument about breaking Devicetree backwards compatibility is a
good point, I didn't think about that.

Disregard this patch then.

Cheers,
-Paul

      reply	other threads:[~2026-09-01 14:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bca0949bf284f9246376473821bea3bb6728a93a.camel@crapouillou.net \
    --to=paul@crapouillou.net \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luiz.dentz@gmail.com \
    --cc=marcel@holtmann.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox