Skip to content

Bluetooth: reset optional BT enable GPIO with PMU#3

Closed
Tristan1019-user wants to merge 1 commit into
CoreELEC:masterfrom
Tristan1019-user:codex/mt7668-optional-bt-enable-reset
Closed

Bluetooth: reset optional BT enable GPIO with PMU#3
Tristan1019-user wants to merge 1 commit into
CoreELEC:masterfrom
Tristan1019-user:codex/mt7668-optional-bt-enable-reset

Conversation

@Tristan1019-user
Copy link
Copy Markdown

Summary

Add optional mt76x8_bt_en_gpio handling to the MT7668 Bluetooth SDIO reset path.

When a board exposes both mt76x8_pmu_en_gpio and a separate Bluetooth-enable GPIO, toggle the BT-enable GPIO low/high with the PMU reset so both sides of the SDIO combo module restart from the same power edge.

Why

Some MT7668 combo designs can leave the Bluetooth side in the previous state across a warm reboot while the Wi-Fi/PMU side is reset. Coordinating the optional BT-enable line with the existing PMU reset avoids that split reset state. If the property is not present, behavior is unchanged.

Validation

  • Patch applies cleanly to current master.
  • git diff --check HEAD~1..HEAD passed.
  • Validated downstream on a Fire TV Cube 2nd Gen CoreELEC 22 integration build where warm reboot previously loaded modules but failed to create wlan0 until cold power-cycle.

@vpeter4
Copy link
Copy Markdown

vpeter4 commented May 13, 2026

Where is mt76x8_bt_en_gpio defined in dts?
Same for mt76x8_pmu_en_gpio?

Looks like another useless PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants