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,wcn6750-bt: Split to separate schema

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

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
af97be93 77f18353

+86 -45
+86
Documentation/devicetree/bindings/net/bluetooth/qcom,wcn6750-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,wcn6750-bt.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Qualcomm WCN6750 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,wcn6750-bt 17 + 18 + enable-gpios: 19 + maxItems: 1 20 + 21 + swctrl-gpios: 22 + maxItems: 1 23 + description: gpio specifier is used to find status 24 + of clock supply to SoC 25 + 26 + vddaon-supply: 27 + description: VDD_AON supply regulator handle 28 + 29 + vddasd-supply: 30 + description: VDD_ASD supply regulator handle 31 + 32 + vddbtcmx-supply: 33 + description: VDD_BT_CMX supply regulator handle 34 + 35 + vddbtcxmx-supply: 36 + description: VDD_BT_CXMX supply regulator handle 37 + 38 + vddio-supply: 39 + description: VDD_IO supply regulator handle 40 + 41 + vddrfa0p8-supply: 42 + description: VDD_RFA_0P8 supply regulator handle 43 + 44 + vddrfa1p2-supply: 45 + description: VDD_RFA_1P2 supply regulator handle 46 + 47 + vddrfa1p7-supply: 48 + description: VDD_RFA_1P7 supply regulator handle 49 + 50 + vddrfa2p2-supply: 51 + description: VDD_RFA_2P2 supply regulator handle 52 + 53 + vddrfacmn-supply: 54 + description: VDD_RFA_CMN supply regulator handle 55 + 56 + required: 57 + - compatible 58 + - vddaon-supply 59 + - vddrfa0p8-supply 60 + - vddrfa1p2-supply 61 + - vddrfa1p7-supply 62 + - vddrfacmn-supply 63 + 64 + allOf: 65 + - $ref: bluetooth-controller.yaml# 66 + - $ref: qcom,bluetooth-common.yaml 67 + - $ref: /schemas/serial/serial-peripheral-props.yaml# 68 + 69 + unevaluatedProperties: false 70 + 71 + examples: 72 + - | 73 + serial { 74 + bluetooth { 75 + compatible = "qcom,wcn6750-bt"; 76 + 77 + firmware-name = "msnv11.bin"; 78 + max-speed = <3200000>; 79 + vddaon-supply = <&vreg_pmu_aon_0p59>; 80 + vddbtcmx-supply = <&vreg_pmu_btcmx_0p85>; 81 + vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>; 82 + vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>; 83 + vddrfa1p7-supply = <&vreg_pmu_rfa_1p7>; 84 + vddrfacmn-supply = <&vreg_pmu_rfa_cmn>; 85 + }; 86 + };
-45
Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.yaml
··· 16 16 properties: 17 17 compatible: 18 18 enum: 19 - - qcom,wcn6750-bt 20 19 - qcom,wcn6855-bt 21 20 - qcom,wcn7850-bt 22 21 ··· 61 62 vddrfa1p9-supply: 62 63 description: VDD_RFA_1P9 supply regulator handle 63 64 64 - vddrfa2p2-supply: 65 - description: VDD_RFA_2P2 supply regulator handle 66 - 67 - vddasd-supply: 68 - description: VDD_ASD supply regulator handle 69 - 70 65 vddwlcx-supply: 71 66 description: VDD_WLCX supply regulator handle 72 67 ··· 96 103 compatible: 97 104 contains: 98 105 enum: 99 - - qcom,wcn6750-bt 100 - then: 101 - required: 102 - - vddaon-supply 103 - - vddrfacmn-supply 104 - - vddrfa0p8-supply 105 - - vddrfa1p7-supply 106 - - vddrfa1p2-supply 107 - - if: 108 - properties: 109 - compatible: 110 - contains: 111 - enum: 112 106 - qcom,wcn6855-bt 113 107 then: 114 108 required: ··· 122 142 - vddrfa0p8-supply 123 143 - vddrfa1p2-supply 124 144 - vddrfa1p8-supply 125 - 126 - examples: 127 - - | 128 - #include <dt-bindings/gpio/gpio.h> 129 - serial { 130 - 131 - bluetooth { 132 - compatible = "qcom,wcn6750-bt"; 133 - pinctrl-names = "default"; 134 - pinctrl-0 = <&bt_en_default>; 135 - enable-gpios = <&tlmm 85 GPIO_ACTIVE_HIGH>; 136 - swctrl-gpios = <&tlmm 86 GPIO_ACTIVE_HIGH>; 137 - vddio-supply = <&vreg_l19b_1p8>; 138 - vddaon-supply = <&vreg_s7b_0p9>; 139 - vddbtcxmx-supply = <&vreg_s7b_0p9>; 140 - vddrfacmn-supply = <&vreg_s7b_0p9>; 141 - vddrfa0p8-supply = <&vreg_s7b_0p9>; 142 - vddrfa1p7-supply = <&vreg_s1b_1p8>; 143 - vddrfa1p2-supply = <&vreg_s8b_1p2>; 144 - vddrfa2p2-supply = <&vreg_s1c_2p2>; 145 - vddasd-supply = <&vreg_l11c_2p8>; 146 - max-speed = <3200000>; 147 - firmware-name = "msnv11.bin"; 148 - }; 149 - };