Re: [PATCH v5] Bluetooth: hci_qca: Add qca_power_on() API to support both wcn399x and Rome power up

From: Marcel Holtmann
Date: Tue Jan 14 2020 - 08:55:44 EST


Hi Rocky,

> This patch adds a unified API qca_power_on() to support both wcn399x and
> Rome power on. For wcn399x it calls the qca_wcn3990_init() to init the
> regulators, and for Rome it pulls up the bt_en GPIO to power up the btsoc.
> It also moves all the power up operation from hdev->open() to
> hdev->setup().
>
> Signed-off-by: Rocky Liao <rjliao@xxxxxxxxxxxxxx>
> Reviewed-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>
> ---
>
> Changes in v2: None
> Changes in v3:
> -moved all the power up operation from open() to setup()
> -updated the commit message
> Changes in v4:
> -made a single call to qca_power_on() in setup()
> Changes in v5:
> -modified the debug log location
>
> drivers/bluetooth/hci_qca.c | 54 ++++++++++++++++++++++---------------
> 1 file changed, 33 insertions(+), 21 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel