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

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

One big Qualcomm Bluetooth schema is hardly manageable: it lists all
possible properties (19 supplies). Split qcom,wcn7850-bt to separate
bindings, so device schema will be easier to read/maintain and list only
relevant properties. Re-shuffle few properties to alphabetical order
while moving them and drop redundant enable-gpios description.

This makes the source qualcomm-bluetooth.yaml binding empty, thus drop
it making entire change a variant of file rename.

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
04ff8210 6e62e401

+89 -98
+89
Documentation/devicetree/bindings/net/bluetooth/qcom,wcn7850-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,wcn7850-bt.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Qualcomm WCN7850 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,wcn7850-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 + vdddig-supply: 31 + description: VDD_DIG supply regulator handle 32 + 33 + vddio-supply: 34 + description: VDD_IO supply regulator handle 35 + 36 + vddrfa0p8-supply: 37 + description: VDD_RFA_0P8 supply regulator handle 38 + 39 + vddrfa1p2-supply: 40 + description: VDD_RFA_1P2 supply regulator handle 41 + 42 + vddrfa1p8-supply: 43 + description: VDD_RFA_1P8 supply regulator handle 44 + 45 + vddrfa1p9-supply: 46 + description: VDD_RFA_1P9 supply regulator handle 47 + 48 + vddrfacmn-supply: 49 + description: VDD_RFA_CMN supply regulator handle 50 + 51 + vddwlcx-supply: 52 + description: VDD_WLCX supply regulator handle 53 + 54 + vddwlmx-supply: 55 + description: VDD_WLMX supply regulator handle 56 + 57 + required: 58 + - compatible 59 + - vddrfacmn-supply 60 + - vddaon-supply 61 + - vddwlcx-supply 62 + - vddwlmx-supply 63 + - vddrfa0p8-supply 64 + - vddrfa1p2-supply 65 + - vddrfa1p8-supply 66 + 67 + allOf: 68 + - $ref: bluetooth-controller.yaml# 69 + - $ref: qcom,bluetooth-common.yaml 70 + - $ref: /schemas/serial/serial-peripheral-props.yaml# 71 + 72 + unevaluatedProperties: false 73 + 74 + examples: 75 + - | 76 + serial { 77 + bluetooth { 78 + compatible = "qcom,wcn7850-bt"; 79 + 80 + max-speed = <3200000>; 81 + vddaon-supply = <&vreg_pmu_aon_0p59>; 82 + vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>; 83 + vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>; 84 + vddrfa1p8-supply = <&vreg_pmu_rfa_1p8>; 85 + vddrfacmn-supply = <&vreg_pmu_rfa_cmn>; 86 + vddwlcx-supply = <&vreg_pmu_wlcx_0p8>; 87 + vddwlmx-supply = <&vreg_pmu_wlmx_0p85>; 88 + }; 89 + };
-98
Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.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/qualcomm-bluetooth.yaml# 5 - $schema: http://devicetree.org/meta-schemas/core.yaml# 6 - 7 - title: Qualcomm Bluetooth Chips 8 - 9 - maintainers: 10 - - Balakrishna Godavarthi <quic_bgodavar@quicinc.com> 11 - - Rocky Liao <quic_rjliao@quicinc.com> 12 - 13 - description: 14 - This binding describes Qualcomm UART-attached bluetooth chips. 15 - 16 - properties: 17 - compatible: 18 - enum: 19 - - qcom,wcn7850-bt 20 - 21 - enable-gpios: 22 - maxItems: 1 23 - description: gpio specifier used to enable chip 24 - 25 - swctrl-gpios: 26 - maxItems: 1 27 - description: gpio specifier is used to find status 28 - of clock supply to SoC 29 - 30 - vddio-supply: 31 - description: VDD_IO supply regulator handle 32 - 33 - vddaon-supply: 34 - description: VDD_AON supply regulator handle 35 - 36 - vdddig-supply: 37 - description: VDD_DIG supply regulator handle 38 - 39 - vddrfacmn-supply: 40 - description: VDD_RFA_CMN supply regulator handle 41 - 42 - vddrfa0p8-supply: 43 - description: VDD_RFA_0P8 supply regulator handle 44 - 45 - vddrfa1p8-supply: 46 - description: VDD_RFA_1P8 supply regulator handle 47 - 48 - vddrfa1p2-supply: 49 - description: VDD_RFA_1P2 supply regulator handle 50 - 51 - vddrfa1p9-supply: 52 - description: VDD_RFA_1P9 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 - max-speed: true 61 - 62 - firmware-name: 63 - minItems: 1 64 - items: 65 - - description: specify the name of nvm firmware to load 66 - - description: specify the name of rampatch firmware to load 67 - 68 - local-bd-address: true 69 - 70 - qcom,local-bd-address-broken: 71 - type: boolean 72 - description: 73 - boot firmware is incorrectly passing the address in big-endian order 74 - 75 - required: 76 - - compatible 77 - 78 - additionalProperties: false 79 - 80 - allOf: 81 - - $ref: bluetooth-controller.yaml# 82 - - $ref: /schemas/serial/serial-peripheral-props.yaml# 83 - 84 - - if: 85 - properties: 86 - compatible: 87 - contains: 88 - enum: 89 - - qcom,wcn7850-bt 90 - then: 91 - required: 92 - - vddrfacmn-supply 93 - - vddaon-supply 94 - - vddwlcx-supply 95 - - vddwlmx-supply 96 - - vddrfa0p8-supply 97 - - vddrfa1p2-supply 98 - - vddrfa1p8-supply