* RE: Bluetooth: qca: add WCN7861 support
2026-12-05 1:59 [PATCH 1/2] dt-bindings: Bluetooth: add schema for Qualcomm WCN7861 Qianhui Xu
@ 2026-12-05 3:53 ` bluez.test.bot
0 siblings, 0 replies; 9+ messages in thread
From: bluez.test.bot @ 2026-12-05 3:53 UTC (permalink / raw)
To: linux-bluetooth, xiaqinghuan
[-- Attachment #1: Type: text/plain, Size: 2033 bytes --]
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/series/1232591/
---Test result---
Test Summary:
CheckPatch FAIL 1.44 seconds
VerifyFixes PASS 0.10 seconds
VerifySignedoff PASS 0.10 seconds
GitLint FAIL 0.58 seconds
SubjectPrefix PASS 0.19 seconds
BuildKernel PASS 30.79 seconds
CheckAllWarning PASS 35.49 seconds
CheckSparse PASS 37.55 seconds
BuildKernel32 PASS 31.43 seconds
CheckKernelLLVM PASS 32.66 seconds
TestRunnerSetup PASS 747.33 seconds
IncrementalBuild PASS 30.84 seconds
Details
##############################
Test: CheckPatch - FAIL
Desc: Run checkpatch.pl script
Output:
[1/2] dt-bindings: Bluetooth: add schema for Qualcomm WCN7861
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#116:
new file mode 100644
total: 0 errors, 1 warnings, 83 lines checked
NOTE: For some of the reported defects, checkpatch may be able to
mechanically convert to the typical style using --fix or --fix-inplace.
/home/runner/work/bluetooth-next/bluetooth-next/src/patch/15056661.patch has style problems, please review.
NOTE: Ignored message types: UNKNOWN_COMMIT_ID
NOTE: If any of the errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.
##############################
Test: GitLint - FAIL
Desc: Run gitlint
Output:
[1/2] dt-bindings: Bluetooth: add schema for Qualcomm WCN7861
15: B1 Line exceeds max length (88>80): " create mode 100644 Documentation/devicetree/bindings/net/bluetooth/qcom,wcn7861-bt.yaml"
https://github.com/bluez/bluetooth-next/pull/1292
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH v2 0/2] Bluetooth: qca: add WCN7861 support
@ 2026-12-05 5:00 Qianhui Xu
2026-12-05 5:00 ` [PATCH v2 1/2] dt-bindings: bluetooth: qcom,wcn7861-bt: add binding Qianhui Xu
2026-12-05 5:00 ` [PATCH v2 2/2] Bluetooth: hci_qca: add WCN7861 Qianhui Xu
0 siblings, 2 replies; 9+ messages in thread
From: Qianhui Xu @ 2026-12-05 5:00 UTC (permalink / raw)
To: Marcel Holtmann, Luiz Augusto von Dentz, linux-bluetooth
Cc: Bartosz Golaszewski, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, devicetree, linux-arm-msm, linux-kernel
WCN7861 is a UART-attached Bluetooth controller that speaks the same
protocol as the WCN7850 but ships its own firmware and PMU rails. Boards
therefore describe it with a dedicated compatible instead of reusing
qcom,wcn7850-bt.
1/2 adds the binding for that compatible, so board devicetrees validate
and the regulator requirements are checked instead of being skipped as
unmatched. 2/2 adds the matching entry to hci_qca and reuses
qca_soc_data_wcn7850; the firmware file names come from the device tree,
so no separate soc_type is needed.
Changes in v2:
- 1/2: the example uses max-speed = <3200000>, which hci_qca maps to
QCA_BAUDRATE_3200000. <8000000> has no entry in qca_baudrate and is
programmed into the controller as 115200.
- 1/2: drop the local firmware-name node, already provided by
qcom,bluetooth-common.yaml.
- 1/2: drop the top-level description, which described the schema split
rather than the hardware.
- 1/2: the subject prefix follows the binding directory.
- 2/2: unchanged.
Qianhui Xu (2):
dt-bindings: bluetooth: qcom,wcn7861-bt: add binding
Bluetooth: hci_qca: add WCN7861
.../net/bluetooth/qcom,wcn7861-bt.yaml | 72 +++++++++++++++++++
drivers/bluetooth/hci_qca.c | 1 +
2 files changed, 73 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/bluetooth/qcom,wcn7861-bt.yaml
---
*** AI-assistance disclosure ***
This series was prepared with the help of an LLM coding assistant. The
author reviewed every line, checked every quoted claim against the tree,
and ran the checks quoted in the commit messages; the design decisions
and any errors are the author's.
--
2.53.0
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH v2 1/2] dt-bindings: bluetooth: qcom,wcn7861-bt: add binding
2026-12-05 5:00 [PATCH v2 0/2] Bluetooth: qca: add WCN7861 support Qianhui Xu
@ 2026-12-05 5:00 ` Qianhui Xu
2026-12-05 12:33 ` Bluetooth: qca: add WCN7861 support bluez.test.bot
2026-12-05 14:48 ` [PATCH v2 1/2] dt-bindings: bluetooth: qcom,wcn7861-bt: add binding Krzysztof Kozlowski
2026-12-05 5:00 ` [PATCH v2 2/2] Bluetooth: hci_qca: add WCN7861 Qianhui Xu
1 sibling, 2 replies; 9+ messages in thread
From: Qianhui Xu @ 2026-12-05 5:00 UTC (permalink / raw)
To: Marcel Holtmann, Luiz Augusto von Dentz, linux-bluetooth
Cc: Bartosz Golaszewski, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, devicetree, linux-arm-msm, linux-kernel
WCN7861 is wired as a serial device and speaks the same UART protocol as
the WCN7850, but it ships its own firmware images, so boards carry a
dedicated compatible rather than falling back to qcom,wcn7850-bt. Without
a schema, devicetrees using that compatible fail validation with "failed
to match any schema", and the regulator requirements go unchecked.
The example uses max-speed = <3200000>, which qca_get_baudrate_value()
maps to QCA_BAUDRATE_3200000; an unsupported value such as 8000000 falls
through to its default and programs the controller at 115200.
make dt_binding_check DT_SCHEMA_FILES=qcom,wcn7861-bt.yaml passes.
Signed-off-by: Qianhui Xu <xiaqinghuan@mail.ustc.edu.cn>
---
.../net/bluetooth/qcom,wcn7861-bt.yaml | 72 +++++++++++++++++++
1 file changed, 72 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/bluetooth/qcom,wcn7861-bt.yaml
diff --git a/Documentation/devicetree/bindings/net/bluetooth/qcom,wcn7861-bt.yaml b/Documentation/devicetree/bindings/net/bluetooth/qcom,wcn7861-bt.yaml
new file mode 100644
index 0000000000000..cf88a5646b330
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/bluetooth/qcom,wcn7861-bt.yaml
@@ -0,0 +1,72 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/net/bluetooth/qcom,wcn7861-bt.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Qualcomm WCN7861 Bluetooth
+
+maintainers:
+ - Bartosz Golaszewski <brgl@bgdev.pl>
+ - Balakrishna Godavarthi <quic_bgodavar@quicinc.com>
+ - Rocky Liao <quic_rjliao@quicinc.com>
+
+properties:
+ compatible:
+ const: qcom,wcn7861-bt
+
+ vddaon-supply:
+ description: VDD_AON supply regulator handle
+
+ vddrfa0p8-supply:
+ description: VDD_RFA_0P8 supply regulator handle
+
+ vddrfa1p2-supply:
+ description: VDD_RFA_1P2 supply regulator handle
+
+ vddrfa1p8-supply:
+ description: VDD_RFA_1P8 supply regulator handle
+
+ vddrfacmn-supply:
+ description: VDD_RFA_CMN supply regulator handle
+
+ vddwlcx-supply:
+ description: VDD_WLCX supply regulator handle
+
+ vddwlmx-supply:
+ description: VDD_WLMX supply regulator handle
+
+required:
+ - compatible
+ - vddrfacmn-supply
+ - vddaon-supply
+ - vddwlcx-supply
+ - vddwlmx-supply
+ - vddrfa0p8-supply
+ - vddrfa1p2-supply
+ - vddrfa1p8-supply
+
+allOf:
+ - $ref: bluetooth-controller.yaml#
+ - $ref: qcom,bluetooth-common.yaml
+ - $ref: /schemas/serial/serial-peripheral-props.yaml#
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ serial {
+ bluetooth {
+ compatible = "qcom,wcn7861-bt";
+
+ firmware-name = "brhbtnv20.bin", "brhbtfw20.tlv";
+ max-speed = <3200000>;
+ vddaon-supply = <&vreg_pmu_aon_0p59>;
+ vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
+ vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
+ vddrfa1p8-supply = <&vreg_pmu_rfa_1p8>;
+ vddrfacmn-supply = <&vreg_pmu_rfa_cmn>;
+ vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
+ vddwlmx-supply = <&vreg_pmu_wlmx_0p85>;
+ };
+ };
--
2.53.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH v2 2/2] Bluetooth: hci_qca: add WCN7861
2026-12-05 5:00 [PATCH v2 0/2] Bluetooth: qca: add WCN7861 support Qianhui Xu
2026-12-05 5:00 ` [PATCH v2 1/2] dt-bindings: bluetooth: qcom,wcn7861-bt: add binding Qianhui Xu
@ 2026-12-05 5:00 ` Qianhui Xu
2026-12-05 14:50 ` Krzysztof Kozlowski
1 sibling, 1 reply; 9+ messages in thread
From: Qianhui Xu @ 2026-12-05 5:00 UTC (permalink / raw)
To: Marcel Holtmann, Luiz Augusto von Dentz, linux-bluetooth
Cc: Bartosz Golaszewski, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, devicetree, linux-arm-msm, linux-kernel
WCN7861 is a UART-attached controller that uses the same setup and
firmware download sequence as the WCN7850. It ships its own firmware
images and PMU rails, so boards describe it with a dedicated compatible;
without a match entry the serdev driver never probes and the controller
stays unconfigured.
Reuse qca_soc_data_wcn7850 for it. The firmware files are taken from the
firmware-name property in the device tree, which boards already provide,
so no new soc_type is required here.
Signed-off-by: Qianhui Xu <xiaqinghuan@mail.ustc.edu.cn>
---
drivers/bluetooth/hci_qca.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
index 158f294c18902..2482d9026bc4e 100644
--- a/drivers/bluetooth/hci_qca.c
+++ b/drivers/bluetooth/hci_qca.c
@@ -2830,6 +2830,7 @@ static const struct of_device_id qca_bluetooth_of_match[] = {
{ .compatible = "qcom,wcn6750-bt", .data = &qca_soc_data_wcn6750},
{ .compatible = "qcom,wcn6855-bt", .data = &qca_soc_data_wcn6855},
{ .compatible = "qcom,wcn7850-bt", .data = &qca_soc_data_wcn7850},
+ { .compatible = "qcom,wcn7861-bt", .data = &qca_soc_data_wcn7850},
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, qca_bluetooth_of_match);
--
2.53.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* RE: Bluetooth: qca: add WCN7861 support
2026-12-05 5:00 ` [PATCH v2 1/2] dt-bindings: bluetooth: qcom,wcn7861-bt: add binding Qianhui Xu
@ 2026-12-05 12:33 ` bluez.test.bot
2026-12-05 14:48 ` [PATCH v2 1/2] dt-bindings: bluetooth: qcom,wcn7861-bt: add binding Krzysztof Kozlowski
1 sibling, 0 replies; 9+ messages in thread
From: bluez.test.bot @ 2026-12-05 12:33 UTC (permalink / raw)
To: linux-bluetooth, xiaqinghuan
[-- Attachment #1: Type: text/plain, Size: 2200 bytes --]
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/series/1232657/
---Test result---
Test Summary:
CheckPatch FAIL 1.33 seconds
VerifyFixes PASS 0.09 seconds
VerifySignedoff PASS 0.09 seconds
GitLint FAIL 0.52 seconds
SubjectPrefix FAIL 0.16 seconds
BuildKernel PASS 31.43 seconds
CheckAllWarning PASS 34.88 seconds
CheckSparse PASS 37.53 seconds
BuildKernel32 PASS 31.05 seconds
CheckKernelLLVM PASS 34.16 seconds
TestRunnerSetup PASS 741.37 seconds
IncrementalBuild PASS 30.29 seconds
Details
##############################
Test: CheckPatch - FAIL
Desc: Run checkpatch.pl script
Output:
[v2,1/2] dt-bindings: bluetooth: qcom,wcn7861-bt: add binding
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#120:
new file mode 100644
total: 0 errors, 1 warnings, 72 lines checked
NOTE: For some of the reported defects, checkpatch may be able to
mechanically convert to the typical style using --fix or --fix-inplace.
/home/runner/work/bluetooth-next/bluetooth-next/src/patch/15056995.patch has style problems, please review.
NOTE: Ignored message types: UNKNOWN_COMMIT_ID
NOTE: If any of the errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.
##############################
Test: GitLint - FAIL
Desc: Run gitlint
Output:
[v2,1/2] dt-bindings: bluetooth: qcom,wcn7861-bt: add binding
19: B1 Line exceeds max length (88>80): " create mode 100644 Documentation/devicetree/bindings/net/bluetooth/qcom,wcn7861-bt.yaml"
##############################
Test: SubjectPrefix - FAIL
Desc: Check subject contains "Bluetooth" prefix
Output:
"Bluetooth: " prefix is not specified in the subject
https://github.com/bluez/bluetooth-next/pull/1293
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: bluetooth: qcom,wcn7861-bt: add binding
2026-12-05 5:00 ` [PATCH v2 1/2] dt-bindings: bluetooth: qcom,wcn7861-bt: add binding Qianhui Xu
2026-12-05 12:33 ` Bluetooth: qca: add WCN7861 support bluez.test.bot
@ 2026-12-05 14:48 ` Krzysztof Kozlowski
1 sibling, 0 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2026-12-05 14:48 UTC (permalink / raw)
To: Qianhui Xu, Marcel Holtmann, Luiz Augusto von Dentz,
linux-bluetooth
Cc: Bartosz Golaszewski, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, devicetree, linux-arm-msm, linux-kernel
On 05/12/2026 06:00, Qianhui Xu wrote:
> WCN7861 is wired as a serial device and speaks the same UART protocol as
> the WCN7850, but it ships its own firmware images, so boards carry a
> dedicated compatible rather than falling back to qcom,wcn7850-bt. Without
You cannot use the same compatible, so I understand you speak about
fallback, but then why it cannot use same fallback since driver code is
THE SAME?
> a schema, devicetrees using that compatible fail validation with "failed
> to match any schema", and the regulator requirements go unchecked.
Drop this part, irrelevant.
>
> The example uses max-speed = <3200000>, which qca_get_baudrate_value()
> maps to QCA_BAUDRATE_3200000; an unsupported value such as 8000000 falls
> through to its default and programs the controller at 115200.
>
> make dt_binding_check DT_SCHEMA_FILES=qcom,wcn7861-bt.yaml passes.
Drop this part. Do not put to commit msgs obvious things, like that you
built some C code or run completely standard and expected process like
checking bindings with dtschema.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v2 2/2] Bluetooth: hci_qca: add WCN7861
2026-12-05 5:00 ` [PATCH v2 2/2] Bluetooth: hci_qca: add WCN7861 Qianhui Xu
@ 2026-12-05 14:50 ` Krzysztof Kozlowski
2026-12-05 14:59 ` xiaqinghuan
2026-12-05 15:15 ` xiaqinghuan
0 siblings, 2 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2026-12-05 14:50 UTC (permalink / raw)
To: Qianhui Xu, Marcel Holtmann, Luiz Augusto von Dentz,
linux-bluetooth
Cc: Bartosz Golaszewski, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, devicetree, linux-arm-msm, linux-kernel
On 05/12/2026 06:00, Qianhui Xu wrote:
> WCN7861 is a UART-attached controller that uses the same setup and
> firmware download sequence as the WCN7850. It ships its own firmware
> images and PMU rails, so boards describe it with a dedicated compatible;
> without a match entry the serdev driver never probes and the controller
> stays unconfigured.
>
> Reuse qca_soc_data_wcn7850 for it. The firmware files are taken from the
> firmware-name property in the device tree, which boards already provide,
> so no new soc_type is required here.
v1 was sent three hours before. I think you just keep ignoring our
feedback - you were told multiple times you send too many versions the
same day.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Re: [PATCH v2 2/2] Bluetooth: hci_qca: add WCN7861
2026-12-05 14:50 ` Krzysztof Kozlowski
@ 2026-12-05 14:59 ` xiaqinghuan
2026-12-05 15:15 ` xiaqinghuan
1 sibling, 0 replies; 9+ messages in thread
From: xiaqinghuan @ 2026-12-05 14:59 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Marcel Holtmann, Luiz Augusto von Dentz, linux-bluetooth,
Bartosz Golaszewski, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, devicetree, linux-arm-msm, linux-kernel
sincerely sorry about the overlook.thanks for your note.i'll make it less frequency
2026-12-05 22:50:58 "Krzysztof Kozlowski" <krzk@kernel.org> 寫道:
> On 05/12/2026 06:00, Qianhui Xu wrote:
> > WCN7861 is a UART-attached controller that uses the same setup and
> > firmware download sequence as the WCN7850. It ships its own firmware
> > images and PMU rails, so boards describe it with a dedicated compatible;
> > without a match entry the serdev driver never probes and the controller
> > stays unconfigured.
> >
> > Reuse qca_soc_data_wcn7850 for it. The firmware files are taken from the
> > firmware-name property in the device tree, which boards already provide,
> > so no new soc_type is required here.
>
> v1 was sent three hours before. I think you just keep ignoring our
> feedback - you were told multiple times you send too many versions the
> same day.
>
> Best regards,
> Krzysztof
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Re: [PATCH v2 2/2] Bluetooth: hci_qca: add WCN7861
2026-12-05 14:50 ` Krzysztof Kozlowski
2026-12-05 14:59 ` xiaqinghuan
@ 2026-12-05 15:15 ` xiaqinghuan
1 sibling, 0 replies; 9+ messages in thread
From: xiaqinghuan @ 2026-12-05 15:15 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Marcel Holtmann, Luiz Augusto von Dentz, linux-bluetooth,
Bartosz Golaszewski, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, devicetree, linux-arm-msm, linux-kernel
apology again for the trouble.I've put a hard gate on our send path: one send per list and per series
per UTC day, and a same-day respin of an already-sent series is blocked
before it leaves.I'll only resend when there's something substantive,
and after a proper interval.
2026-12-05 22:50:58 "Krzysztof Kozlowski" <krzk@kernel.org> 寫道:
> On 05/12/2026 06:00, Qianhui Xu wrote:
> > WCN7861 is a UART-attached controller that uses the same setup and
> > firmware download sequence as the WCN7850. It ships its own firmware
> > images and PMU rails, so boards describe it with a dedicated compatible;
> > without a match entry the serdev driver never probes and the controller
> > stays unconfigured.
> >
> > Reuse qca_soc_data_wcn7850 for it. The firmware files are taken from the
> > firmware-name property in the device tree, which boards already provide,
> > so no new soc_type is required here.
>
> v1 was sent three hours before. I think you just keep ignoring our
> feedback - you were told multiple times you send too many versions the
> same day.
>
> Best regards,
> Krzysztof
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2026-12-05 15:15 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-05 5:00 [PATCH v2 0/2] Bluetooth: qca: add WCN7861 support Qianhui Xu
2026-12-05 5:00 ` [PATCH v2 1/2] dt-bindings: bluetooth: qcom,wcn7861-bt: add binding Qianhui Xu
2026-12-05 12:33 ` Bluetooth: qca: add WCN7861 support bluez.test.bot
2026-12-05 14:48 ` [PATCH v2 1/2] dt-bindings: bluetooth: qcom,wcn7861-bt: add binding Krzysztof Kozlowski
2026-12-05 5:00 ` [PATCH v2 2/2] Bluetooth: hci_qca: add WCN7861 Qianhui Xu
2026-12-05 14:50 ` Krzysztof Kozlowski
2026-12-05 14:59 ` xiaqinghuan
2026-12-05 15:15 ` xiaqinghuan
-- strict thread matches above, loose matches on Subject: below --
2026-12-05 1:59 [PATCH 1/2] dt-bindings: Bluetooth: add schema for Qualcomm WCN7861 Qianhui Xu
2026-12-05 3:53 ` Bluetooth: qca: add WCN7861 support bluez.test.bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox