Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: bluetooth: qcom,wcn3990-bt: Split to separate schema

One big Qualcomm Bluetooth schema is hardly manageable: it lists all
possible properties (19 supplies). Split qcom,wcn3990-bt to separate
bindings, so device schema will be easier to read/maintain and list only
relevant properties.

This binding is very similar to qcom,wcn3950-bt, however devices have
additional VDD_CH1 supply.

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

authored by

Krzysztof Kozlowski and committed by
Luiz Augusto von Dentz
77f18353 dcf72cd9

+66 -47
+66
Documentation/devicetree/bindings/net/bluetooth/qcom,wcn3990-bt.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/net/bluetooth/qcom,wcn3990-bt.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Qualcomm WCN3990/WCN3991/WCN3998 Bluetooth 8 + 9 + maintainers: 10 + - Balakrishna Godavarthi <quic_bgodavar@quicinc.com> 11 + - Rocky Liao <quic_rjliao@quicinc.com> 12 + 13 + properties: 14 + compatible: 15 + enum: 16 + - qcom,wcn3990-bt 17 + - qcom,wcn3991-bt 18 + - qcom,wcn3998-bt 19 + 20 + clocks: 21 + items: 22 + - description: External low-power 32.768 kHz clock input 23 + 24 + vddch0-supply: 25 + description: VDD_CH0 supply regulator handle 26 + 27 + vddch1-supply: 28 + description: VDD_CH1 supply regulator handle 29 + 30 + vddio-supply: 31 + description: VDD_IO supply regulator handle 32 + 33 + vddrf-supply: 34 + description: VDD_RF supply regulator handle 35 + 36 + vddxo-supply: 37 + description: VDD_XO supply regulator handle 38 + 39 + required: 40 + - compatible 41 + - vddch0-supply 42 + - vddio-supply 43 + - vddrf-supply 44 + - vddxo-supply 45 + 46 + allOf: 47 + - $ref: bluetooth-controller.yaml# 48 + - $ref: qcom,bluetooth-common.yaml 49 + - $ref: /schemas/serial/serial-peripheral-props.yaml# 50 + 51 + unevaluatedProperties: false 52 + 53 + examples: 54 + - | 55 + serial { 56 + bluetooth { 57 + compatible = "qcom,wcn3990-bt"; 58 + firmware-name = "crnv21.bin"; 59 + max-speed = <3200000>; 60 + vddio-supply = <&vreg_s4a_1p8>; 61 + vddch0-supply = <&vreg_l25a_3p3>; 62 + vddch1-supply = <&vreg_l23a_3p3>; 63 + vddrf-supply = <&vreg_l17a_1p3>; 64 + vddxo-supply = <&vreg_l7a_1p8>; 65 + }; 66 + };
-47
Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.yaml
··· 16 16 properties: 17 17 compatible: 18 18 enum: 19 - - qcom,wcn3990-bt 20 - - qcom,wcn3991-bt 21 - - qcom,wcn3998-bt 22 19 - qcom,wcn6750-bt 23 20 - qcom,wcn6855-bt 24 21 - qcom,wcn7850-bt ··· 29 32 description: gpio specifier is used to find status 30 33 of clock supply to SoC 31 34 32 - clocks: 33 - maxItems: 1 34 - description: clock provided to the controller (SUSCLK_32KHZ) 35 - 36 35 vddio-supply: 37 36 description: VDD_IO supply regulator handle 38 - 39 - vddxo-supply: 40 - description: VDD_XO supply regulator handle 41 - 42 - vddrf-supply: 43 - description: VDD_RF supply regulator handle 44 - 45 - vddch0-supply: 46 - description: VDD_CH0 supply regulator handle 47 - 48 - vddch1-supply: 49 - description: VDD_CH1 supply regulator handle 50 37 51 38 vddaon-supply: 52 39 description: VDD_AON supply regulator handle ··· 103 122 compatible: 104 123 contains: 105 124 enum: 106 - - qcom,wcn3990-bt 107 - - qcom,wcn3991-bt 108 - - qcom,wcn3998-bt 109 - then: 110 - required: 111 - - vddio-supply 112 - - vddxo-supply 113 - - vddrf-supply 114 - - vddch0-supply 115 - 116 - - if: 117 - properties: 118 - compatible: 119 - contains: 120 - enum: 121 125 - qcom,wcn6750-bt 122 126 then: 123 127 required: ··· 144 178 - vddrfa1p8-supply 145 179 146 180 examples: 147 - - | 148 - serial { 149 - 150 - bluetooth { 151 - compatible = "qcom,wcn3990-bt"; 152 - vddio-supply = <&vreg_s4a_1p8>; 153 - vddxo-supply = <&vreg_l7a_1p8>; 154 - vddrf-supply = <&vreg_l17a_1p3>; 155 - vddch0-supply = <&vreg_l25a_3p3>; 156 - max-speed = <3200000>; 157 - firmware-name = "crnv21.bin"; 158 - }; 159 - }; 160 181 - | 161 182 #include <dt-bindings/gpio/gpio.h> 162 183 serial {