[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAA8EJppo4X1KmeeTRz9n7+9S0fGWE4AD1O1cCc_aPHTWPUGVvw@mail.gmail.com>
Date: Tue, 2 Jul 2024 14:42:21 +0300
From: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
To: Bartosz Golaszewski <brgl@...ev.pl>
Cc: Krzysztof Kozlowski <krzk@...nel.org>, Amit Pundir <amit.pundir@...aro.org>, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org,
Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
Subject: Re: [PATCH] power: sequencing: qcom-wcn: don't request BT enable
GPIOs for wcn7850
On Tue, 2 Jul 2024 at 14:41, Bartosz Golaszewski <brgl@...ev.pl> wrote:
>
> From: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
>
> Due to having many existing users of wcn7850 in the kernel, conversion
> of the hci_qca driver to using pwrseq exclusively must be done
> carefully. Right now, the Bluetooth driver requests and controls the BT
> enable GPIO and so the PMU pwrseq driver must not do it or we will run
> into problems depending on the probe ordering.
>
> Add a flag that tells the driver not to request the BT-enable GPIO. We
> will remove it once the conversion of the Bluetooth driver is complete.
This will not prevent the pinctrl conflict if both PMU and BT devices
declare pinctrl for the BT_EN pin.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
> ---
> drivers/power/sequencing/pwrseq-qcom-wcn.c | 17 +++++++++++++----
> 1 file changed, 13 insertions(+), 4 deletions(-)
>
--
With best wishes
Dmitry
Powered by blists - more mailing lists