Re: [PATCH v3] Bluetooth: hci_qca: Add poweroff support during hci down for wcn3990

From: Marcel Holtmann
Date: Thu Sep 27 2018 - 06:30:52 EST


Hi Balakrishna,

> This patch enables power off support for hci down and power on support
> for hci up. As wcn3990 power sources are ignited by regulators, we will
> turn off them during hci down, i.e. an complete power off of wcn3990.
> So while hci up, will call vendor setup which will turn on the regulators,
> requests BT chip version and download the firmware.
>
> Signed-off-by: Balakrishna Godavarthi <bgodavar@xxxxxxxxxxxxxx>
> ---
> v3:
> * addressed reviewer comments.
> v2:
> * Removed vendor specific hdev->open and close functions.
> * Added hdev->shutdown function to turn off the regs.
>
> v1:
> * initial patch.
> ---
> drivers/bluetooth/hci_qca.c | 33 +++++++++++++++++++++++++++++++++
> 1 file changed, 33 insertions(+)

patch has been applied to bluetooth-next tree.

Regards

Marcel