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

One big Qualcomm Bluetooth schema is hardly manageable: it lists all
possible properties (19 supplies). Split qcom,wcn6855-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
19372501 edd3240f

+94 -26
+94
Documentation/devicetree/bindings/net/bluetooth/qcom,wcn6855-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,wcn6855-bt.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Qualcomm WCN6855 Bluetooth 8 + 9 + maintainers: 10 + - Bartosz Golaszewski <brgl@bgdev.pl> 11 + - Balakrishna Godavarthi <quic_bgodavar@quicinc.com> 12 + - Rocky Liao <quic_rjliao@quicinc.com> 13 + 14 + properties: 15 + compatible: 16 + enum: 17 + - qcom,wcn6855-bt 18 + 19 + enable-gpios: 20 + maxItems: 1 21 + 22 + swctrl-gpios: 23 + maxItems: 1 24 + description: gpio specifier is used to find status 25 + of clock supply to SoC 26 + 27 + vddaon-supply: 28 + description: VDD_AON supply regulator handle 29 + 30 + vddbtcmx-supply: 31 + description: VDD_BT_CMX supply regulator handle 32 + 33 + vddbtcxmx-supply: 34 + description: VDD_BT_CXMX supply regulator handle 35 + 36 + vddio-supply: 37 + description: VDD_IO supply regulator handle 38 + 39 + vddrfa0p8-supply: 40 + description: VDD_RFA_0P8 supply regulator handle 41 + 42 + vddrfa1p2-supply: 43 + description: VDD_RFA_1P2 supply regulator handle 44 + 45 + vddrfa1p7-supply: 46 + description: VDD_RFA_1P7 supply regulator handle 47 + 48 + vddrfa1p8-supply: 49 + description: VDD_RFA_1P8 supply regulator handle 50 + 51 + vddrfacmn-supply: 52 + description: VDD_RFA_CMN supply regulator handle 53 + 54 + vddwlcx-supply: 55 + description: VDD_WLCX supply regulator handle 56 + 57 + vddwlmx-supply: 58 + description: VDD_WLMX supply regulator handle 59 + 60 + required: 61 + - compatible 62 + - vddaon-supply 63 + - vddbtcmx-supply 64 + - vddrfa0p8-supply 65 + - vddrfa1p2-supply 66 + - vddrfa1p8-supply 67 + - vddrfacmn-supply 68 + - vddwlcx-supply 69 + - vddwlmx-supply 70 + 71 + allOf: 72 + - $ref: bluetooth-controller.yaml# 73 + - $ref: qcom,bluetooth-common.yaml 74 + - $ref: /schemas/serial/serial-peripheral-props.yaml# 75 + 76 + unevaluatedProperties: false 77 + 78 + examples: 79 + - | 80 + serial { 81 + bluetooth { 82 + compatible = "qcom,wcn6855-bt"; 83 + 84 + max-speed = <3000000>; 85 + vddaon-supply = <&vreg_pmu_aon_0p8>; 86 + vddbtcmx-supply = <&vreg_pmu_btcmx_0p8>; 87 + vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>; 88 + vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>; 89 + vddrfa1p8-supply = <&vreg_pmu_rfa_1p7>; 90 + vddrfacmn-supply = <&vreg_pmu_rfa_cmn_0p8>; 91 + vddwlcx-supply = <&vreg_pmu_wlcx_0p8>; 92 + vddwlmx-supply = <&vreg_pmu_wlmx_0p8>; 93 + }; 94 + };
-26
Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.yaml
··· 16 16 properties: 17 17 compatible: 18 18 enum: 19 - - qcom,wcn6855-bt 20 19 - qcom,wcn7850-bt 21 20 22 21 enable-gpios: ··· 36 37 vdddig-supply: 37 38 description: VDD_DIG supply regulator handle 38 39 39 - vddbtcmx-supply: 40 - description: VDD_BT_CMX supply regulator handle 41 - 42 - vddbtcxmx-supply: 43 - description: VDD_BT_CXMX supply regulator handle 44 - 45 40 vddrfacmn-supply: 46 41 description: VDD_RFA_CMN supply regulator handle 47 42 48 43 vddrfa0p8-supply: 49 44 description: VDD_RFA_0P8 supply regulator handle 50 - 51 - vddrfa1p7-supply: 52 - description: VDD_RFA_1P7 supply regulator handle 53 45 54 46 vddrfa1p8-supply: 55 47 description: VDD_RFA_1P8 supply regulator handle ··· 81 91 - $ref: bluetooth-controller.yaml# 82 92 - $ref: /schemas/serial/serial-peripheral-props.yaml# 83 93 84 - - if: 85 - properties: 86 - compatible: 87 - contains: 88 - enum: 89 - - qcom,wcn6855-bt 90 - then: 91 - required: 92 - - vddrfacmn-supply 93 - - vddaon-supply 94 - - vddwlcx-supply 95 - - vddwlmx-supply 96 - - vddbtcmx-supply 97 - - vddrfa0p8-supply 98 - - vddrfa1p2-supply 99 - - vddrfa1p8-supply 100 94 - if: 101 95 properties: 102 96 compatible: