* [PATCH v2] Bluetooth: hci_qca: disable power control for WCN7850 when bt_en is not defined
@ 2026-03-19 7:51 Shuai Zhang
2026-03-19 9:35 ` Bartosz Golaszewski
0 siblings, 1 reply; 3+ messages in thread
From: Shuai Zhang @ 2026-03-19 7:51 UTC (permalink / raw)
To: Bartosz Golaszewski, Marcel Holtmann, Luiz Augusto von Dentz
Cc: linux-arm-msm, linux-bluetooth, linux-kernel, cheng.jiang,
quic_chezhou, wei.deng, jinwang.li, mengshi.wu, shuai.zhang
On platforms using an M.2 slot with both UART and USB support, bt_en is
pulled high by hardware. In this case, software-based power control
should be disabled. The current platforms are Lemans-EVK and Monaco-EVK.
Add QCA_WCN7850 to the existing condition so that power_ctrl_enabled is
cleared when bt_en is not software-controlled (or absent), aligning its
behavior with WCN6750 and WCN6855
Signed-off-by: Shuai Zhang <shuai.zhang@oss.qualcomm.com>
---
drivers/bluetooth/hci_qca.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
index c17a462aef55..4512ff7cd0c0 100644
--- a/drivers/bluetooth/hci_qca.c
+++ b/drivers/bluetooth/hci_qca.c
@@ -2484,7 +2484,8 @@ static int qca_serdev_probe(struct serdev_device *serdev)
if (!qcadev->bt_en &&
(data->soc_type == QCA_WCN6750 ||
- data->soc_type == QCA_WCN6855))
+ data->soc_type == QCA_WCN6855 ||
+ data->soc_type == QCA_WCN7850))
power_ctrl_enabled = false;
qcadev->sw_ctrl = devm_gpiod_get_optional(&serdev->dev, "swctrl",
--
2.34.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] Bluetooth: hci_qca: disable power control for WCN7850 when bt_en is not defined
2026-03-19 7:51 [PATCH v2] Bluetooth: hci_qca: disable power control for WCN7850 when bt_en is not defined Shuai Zhang
@ 2026-03-19 9:35 ` Bartosz Golaszewski
2026-03-19 9:48 ` Shuai Zhang
0 siblings, 1 reply; 3+ messages in thread
From: Bartosz Golaszewski @ 2026-03-19 9:35 UTC (permalink / raw)
To: Shuai Zhang
Cc: Marcel Holtmann, Luiz Augusto von Dentz, linux-arm-msm,
linux-bluetooth, linux-kernel, cheng.jiang, quic_chezhou,
wei.deng, jinwang.li, mengshi.wu
On Thu, Mar 19, 2026 at 8:51 AM Shuai Zhang
<shuai.zhang@oss.qualcomm.com> wrote:
>
> On platforms using an M.2 slot with both UART and USB support, bt_en is
> pulled high by hardware. In this case, software-based power control
> should be disabled. The current platforms are Lemans-EVK and Monaco-EVK.
>
> Add QCA_WCN7850 to the existing condition so that power_ctrl_enabled is
> cleared when bt_en is not software-controlled (or absent), aligning its
> behavior with WCN6750 and WCN6855
>
> Signed-off-by: Shuai Zhang <shuai.zhang@oss.qualcomm.com>
> ---
What are the changes in v2?
Bartosz
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] Bluetooth: hci_qca: disable power control for WCN7850 when bt_en is not defined
2026-03-19 9:35 ` Bartosz Golaszewski
@ 2026-03-19 9:48 ` Shuai Zhang
0 siblings, 0 replies; 3+ messages in thread
From: Shuai Zhang @ 2026-03-19 9:48 UTC (permalink / raw)
To: Bartosz Golaszewski
Cc: Marcel Holtmann, Luiz Augusto von Dentz, linux-arm-msm,
linux-bluetooth, linux-kernel, cheng.jiang, quic_chezhou,
wei.deng, jinwang.li, mengshi.wu
Hi Bartosz
On 3/19/2026 5:35 PM, Bartosz Golaszewski wrote:
> On Thu, Mar 19, 2026 at 8:51 AM Shuai Zhang
> <shuai.zhang@oss.qualcomm.com> wrote:
>> On platforms using an M.2 slot with both UART and USB support, bt_en is
>> pulled high by hardware. In this case, software-based power control
>> should be disabled. The current platforms are Lemans-EVK and Monaco-EVK.
>>
>> Add QCA_WCN7850 to the existing condition so that power_ctrl_enabled is
>> cleared when bt_en is not software-controlled (or absent), aligning its
>> behavior with WCN6750 and WCN6855
>>
>> Signed-off-by: Shuai Zhang <shuai.zhang@oss.qualcomm.com>
>> ---
> What are the changes in v2?
Sorry, I forgot to include the version update differences. v2 only
updates the commit content
and adds explanations regarding hardware management.
>
> Bartosz
Thanks,
Shuai
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-03-19 9:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-19 7:51 [PATCH v2] Bluetooth: hci_qca: disable power control for WCN7850 when bt_en is not defined Shuai Zhang
2026-03-19 9:35 ` Bartosz Golaszewski
2026-03-19 9:48 ` Shuai Zhang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®