Bluetooth: hci_ll: Add DT control for enhanced SCO setup erratum
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | dt-bindings: net: bluetooth: ti: Add property for enhanced SCO setup erratumDocumentation/ | +7 | 5 replies | |
| 2/2 | Bluetooth: hci_ll: Add DT property to disable enhanced SCO setupdrivers/ | +9 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 0/2] Bluetooth: hci_ll: Add DT control for enhanced SCO setup erratum
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
Signature · 1 line
2.47.3