Bluetooth: mt7921s: support bluetooth reset mechanism
authorChih-Ying Chiang <chih-yin.chiang@mediatek.com>
Tue, 8 Feb 2022 18:17:40 +0000 (02:17 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 17 Feb 2022 13:05:59 +0000 (14:05 +0100)
commit2fadc8c1d54d0ac6a1ee6c8309214008947f73dd
tree0d6d1b1058b2be24ae343133c11d7da068aeca59
parent55442fc23d66d33d4f8036e0c6f061c586f4d150
Bluetooth: mt7921s: support bluetooth reset mechanism

Implement .cmd_timeout to reset the MT7921s device via a dedicated GPIO
pin when the firmware hang or the command has no response.

Co-developed-by: Mark Chen <mark-yw.chen@mediatek.com>
Signed-off-by: Mark Chen <mark-yw.chen@mediatek.com>
Co-developed-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Chih-Ying Chiang <chih-yin.chiang@mediatek.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btmtk.h
drivers/bluetooth/btmtksdio.c