[PATCH v2 1/2] dt-bindings: bluetooth: qcom,wcn7861-bt: add binding
From: Qianhui Xu
Date: Sat Dec 05 2026 - 00:01:09 EST
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@xxxxxxxxxxxxxxxx>
---
.../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@xxxxxxxx>
+ - Balakrishna Godavarthi <quic_bgodavar@xxxxxxxxxxx>
+ - Rocky Liao <quic_rjliao@xxxxxxxxxxx>
+
+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