[PATCH v2] Bluetooth: BT Driver: mediatek: add gpio pin to reset bt

Krzysztof Kozlowski krzk at kernel.org
Thu Jun 5 07:38:10 PDT 2025


On 05/06/2025 11:53, Zhangchao Zhang wrote:
> This patch provides two methods btmtk_reset_by_gpio,
> btmtk_reset_by_gpio_work for mediatek controller,
> it has been tested locally many times and can reset normally.
> 
> The pin is configured in dts files, bluetooth is reset by pulling
> the pin, when exception or coredump occurs, the above methods will
> be used to reset the bluetooth, if the pin is not found, it also can
> reset bluetooth successfully by software reset.
> 
> Co-develop-by Hao Qin <hao.qin at mediatek.com>
> Co-develop-by Chris LU <chris.lu at mediatek.com>
> Co-develop-by Jiande Lu <jiande.lu at mediatek.com>
> Signed-off-by: Zhangchao Zhang <ot_zhangchao.zhang at mediatek.com>
> ---
>  drivers/bluetooth/btmtk.c | 60 +++++++++++++++++++++++++++++++++++++++
>  drivers/bluetooth/btmtk.h |  5 ++++
>  2 files changed, 65 insertions(+)

You just sent the same without any changes, any changelog, any improvements.

Respond to previous feedback and them implement it.

Best regards,
Krzysztof



More information about the Linux-mediatek mailing list