Skip to content

Commit 5050135

Browse files
bgodavarholtmann
authored andcommitted
dt-bindings: net: bluetooth: Add device tree bindings for QTI chip wcn3990
This patch enables regulators for the Qualcomm Bluetooth wcn3990 controller. Signed-off-by: Balakrishna Godavarthi <[email protected]> Reviewed-by: Rob Herring <[email protected]> Reviewed-by: Stephen Boyd <[email protected]> Reviewed-by: Matthias Kaehlcke <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
1 parent 4c79148 commit 5050135

File tree

1 file changed

+27
-2
lines changed

1 file changed

+27
-2
lines changed

Documentation/devicetree/bindings/net/qualcomm-bluetooth.txt

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,25 @@ device the slave device is attached to.
1010
Required properties:
1111
- compatible: should contain one of the following:
1212
* "qcom,qca6174-bt"
13+
* "qcom,wcn3990-bt"
14+
15+
Optional properties for compatible string qcom,qca6174-bt:
1316

14-
Optional properties:
1517
- enable-gpios: gpio specifier used to enable chip
1618
- clocks: clock provided to the controller (SUSCLK_32KHZ)
1719

18-
Example:
20+
Required properties for compatible string qcom,wcn3990-bt:
21+
22+
- vddio-supply: VDD_IO supply regulator handle.
23+
- vddxo-supply: VDD_XO supply regulator handle.
24+
- vddrf-supply: VDD_RF supply regulator handle.
25+
- vddch0-supply: VDD_CH0 supply regulator handle.
26+
27+
Optional properties for compatible string qcom,wcn3990-bt:
28+
29+
- max-speed: see Documentation/devicetree/bindings/serial/slave-device.txt
30+
31+
Examples:
1932

2033
serial@7570000 {
2134
label = "BT-UART";
@@ -28,3 +41,15 @@ serial@7570000 {
2841
clocks = <&divclk4>;
2942
};
3043
};
44+
45+
serial@898000 {
46+
bluetooth {
47+
compatible = "qcom,wcn3990-bt";
48+
49+
vddio-supply = <&vreg_s4a_1p8>;
50+
vddxo-supply = <&vreg_l7a_1p8>;
51+
vddrf-supply = <&vreg_l17a_1p3>;
52+
vddch0-supply = <&vreg_l25a_3p3>;
53+
max-speed = <3200000>;
54+
};
55+
};

0 commit comments

Comments
 (0)