public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/2] Bluetooth: hci_ll: Add DT control for enhanced SCO setup erratum
@ 2026-02-23 11:52 Stefano Radaelli
  2026-02-23 11:52 ` [PATCH v1 1/2] dt-bindings: net: bluetooth: ti: Add property " Stefano Radaelli
  2026-02-23 11:52 ` [PATCH v1 2/2] Bluetooth: hci_ll: Add DT property to disable enhanced SCO setup Stefano Radaelli
  0 siblings, 2 replies; 7+ messages in thread
From: Stefano Radaelli @ 2026-02-23 11:52 UTC (permalink / raw)
  To: linux-kernel, devicetree, linux-bluetooth
  Cc: pierluigi.p, Stefano Radaelli, Marcel Holtmann,
	Luiz Augusto von Dentz, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, David Lechner

While validating SCO audio on a platform using TI WL183x Bluetooth
modules with the hci_ll driver, we observed failures when the
HCI Enhanced Setup Synchronous Connection command was used.

Although the controller advertises support for the command, SCO setup
fails in certain configurations (e.g. BT_VOICE_TRANSPARENT/mSBC).
This matches the scenario described in commit 05abad857277
("Bluetooth: HCI: Add HCI_QUIRK_BROKEN_ENHANCED_SETUP_SYNC_CONN quirk").

Initially, we considered setting the
HCI_QUIRK_BROKEN_ENHANCED_SETUP_SYNC_CONN quirk unconditionally in
hci_ll. However, this would affect all TI controllers handled by the
driver, including configurations where the enhanced setup command
works correctly.

To avoid hardcoding the quirk globally, this series introduces an
optional DT property that describes the controller limitation and
allows enabling the quirk on affected boards only.

Patch 1 updates the TI Bluetooth DT binding.
Patch 2 adds support for the property in hci_ll and sets the quirk
during controller setup when requested.

Tested on VAR-SOM-MX6 using TI WL183x modules where SCO audio was
previously failing.

Comments welcome.

Stefano Radaelli (2):
  dt-bindings: net: bluetooth: ti: Add property for enhanced SCO setup
    erratum
  Bluetooth: hci_ll: Add DT property to disable enhanced SCO setup

 .../devicetree/bindings/net/bluetooth/ti,bluetooth.yaml  | 7 +++++++
 drivers/bluetooth/hci_ll.c                               | 9 +++++++++
 2 files changed, 16 insertions(+)


base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
-- 
2.47.3


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

end of thread, other threads:[~2026-02-24 10:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-23 11:52 [PATCH v1 0/2] Bluetooth: hci_ll: Add DT control for enhanced SCO setup erratum Stefano Radaelli
2026-02-23 11:52 ` [PATCH v1 1/2] dt-bindings: net: bluetooth: ti: Add property " Stefano Radaelli
2026-02-23 12:03   ` Krzysztof Kozlowski
2026-02-23 12:15     ` Stefano Radaelli
2026-02-24  7:35       ` Krzysztof Kozlowski
2026-02-24 10:42         ` Stefano Radaelli
2026-02-23 11:52 ` [PATCH v1 2/2] Bluetooth: hci_ll: Add DT property to disable enhanced SCO setup Stefano Radaelli

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