[PATCH 0/2] Bluetooth: btmtksdio: fix MT7663 setup next to the Wi-Fi function
From: Ryan Brue
Date: Mon Oct 26 2026 - 15:02:34 EST
On MT7663 and MT7668 combo chips the Bluetooth and Wi-Fi SDIO functions
share one ROM patch, and which driver downloads it depends on probe
order. When btmtksdio probes while mt7663s is downloading or starting
its firmware, setup fails, and in the first case the chip is left
unresponsive until reset. Patch 1 waits for the other function's
download to finish; patch 2 retries the function-enable request that
the chip refuses while Wi-Fi is starting.
The matching mt76 fix, for when Bluetooth downloads the patch first, is
posted separately to linux-wireless.
Tested on v7.3 on an Amazon Fire TV Stick (3rd generation, MT8695, with
an MT7663 SDIO module), with both drivers built in: six boots in a row
brought up both functions, with each driver downloading the patch first
at least once, and BLE scanning works next to Wi-Fi.
The patches apply unchanged to bluetooth-next, where they were
build-tested with W=1.
This series was developed with the help of an LLM coding assistant.
Signed-off-by: Ryan Brue <ryanbrue.dev@xxxxxxxxx>
---
Ryan Brue (2):
Bluetooth: btmtksdio: wait while Wi-Fi downloads the shared patch
Bluetooth: btmtksdio: retry enabling the function on MT7663/MT7668
drivers/bluetooth/btmtksdio.c | 63 ++++++++++++++++++++++++++++++++++---------
1 file changed, 51 insertions(+), 12 deletions(-)
---
base-commit: 27731ba091954eccddb2657053b590d2113e8d98
change-id: 20261021-rbrue-sheldon-upstreaming-btmtksdio-mt7663-99d049724644
Best regards,
--
Ryan Brue <ryanbrue.dev@xxxxxxxxx>