OSDN Git Service

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>
Fri, 4 Mar 2022 15:10:50 +0000 (16:10 +0100)
commit8fafe702253d50bf90daf324ae86b5ad5ac8a5e1
tree2814b9eff8a22f81957cd57f64847fcc479f5351
parente616fec63f517449e153051b785b1769775562ce
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