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

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

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

+64 -15
+64
Documentation/devicetree/bindings/net/bluetooth/qcom,qca6390-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,qca6390-bt.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Qualcomm QCA6390 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,qca6390-bt 17 + 18 + vddaon-supply: 19 + description: VDD_AON supply regulator handle 20 + 21 + vddbtcmx-supply: 22 + description: VDD_BT_CMX supply regulator handle 23 + 24 + vddrfa0p8-supply: 25 + description: VDD_RFA_0P8 supply regulator handle 26 + 27 + vddrfa1p2-supply: 28 + description: VDD_RFA_1P2 supply regulator handle 29 + 30 + vddrfa1p7-supply: 31 + description: VDD_RFA_1P7 supply regulator handle 32 + 33 + vddrfacmn-supply: 34 + description: VDD_RFA_CMN supply regulator handle 35 + 36 + required: 37 + - compatible 38 + - vddaon-supply 39 + - vddbtcmx-supply 40 + - vddrfa0p8-supply 41 + - vddrfa1p2-supply 42 + - vddrfa1p7-supply 43 + - vddrfacmn-supply 44 + 45 + allOf: 46 + - $ref: bluetooth-controller.yaml# 47 + - $ref: qcom,bluetooth-common.yaml 48 + - $ref: /schemas/serial/serial-peripheral-props.yaml# 49 + 50 + unevaluatedProperties: false 51 + 52 + examples: 53 + - | 54 + serial { 55 + bluetooth { 56 + compatible = "qcom,qca6390-bt"; 57 + vddaon-supply = <&vreg_pmu_aon_0p59>; 58 + vddbtcmx-supply = <&vreg_pmu_btcmx_0p85>; 59 + vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>; 60 + vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>; 61 + vddrfa1p7-supply = <&vreg_pmu_rfa_1p7>; 62 + vddrfacmn-supply = <&vreg_pmu_rfa_cmn>; 63 + }; 64 + };
-15
Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.yaml
··· 21 21 - qcom,wcn3990-bt 22 22 - qcom,wcn3991-bt 23 23 - qcom,wcn3998-bt 24 - - qcom,qca6390-bt 25 24 - qcom,wcn6750-bt 26 25 - qcom,wcn6855-bt 27 26 - qcom,wcn7850-bt ··· 180 181 - vddrfa0p8-supply 181 182 - vddrfa1p2-supply 182 183 - vddrfa1p8-supply 183 - - if: 184 - properties: 185 - compatible: 186 - contains: 187 - enum: 188 - - qcom,qca6390-bt 189 - then: 190 - required: 191 - - vddrfacmn-supply 192 - - vddaon-supply 193 - - vddbtcmx-supply 194 - - vddrfa0p8-supply 195 - - vddrfa1p2-supply 196 - - vddrfa1p7-supply 197 184 198 185 examples: 199 186 - |