diff options
author | Sven Peter <sven@svenpeter.dev> | 2022-11-04 22:12:57 +0100 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-12-12 14:19:24 -0800 |
commit | 45564c4ef607a4410f333a3a5e881bab90c761cd (patch) | |
tree | c7ca77143d77b2a1a5847bb0256ea1452cf135b2 /Documentation/devicetree/bindings/soc/qcom | |
parent | 02d056a3404e20245a69dcb4022a0930085fc5ec (diff) |
dt-bindings: net: Add generic Bluetooth controller
Bluetooth controllers share the common local-bd-address property.
Add a generic YAML schema to replace bluetooth.txt for those.
Signed-off-by: Sven Peter <sven@svenpeter.dev>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'Documentation/devicetree/bindings/soc/qcom')
-rw-r--r-- | Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml index 5320504bb5e0..0e6fd57d658d 100644 --- a/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml @@ -42,15 +42,13 @@ properties: bluetooth: type: object additionalProperties: false + allOf: + - $ref: /schemas/net/bluetooth/bluetooth-controller.yaml# properties: compatible: const: qcom,wcnss-bt - local-bd-address: - $ref: /schemas/types.yaml#/definitions/uint8-array - maxItems: 6 - description: - See Documentation/devicetree/bindings/net/bluetooth.txt + local-bd-address: true required: - compatible |