mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
One big Qualcomm Bluetooth schema is hardly manageable: it lists all possible properties (19 supplies). Split common part and qcom,qca2066-bt to separate bindings, so each schema will be easier to read/maintain and list only relevant properties. The existing bindings do not mention interrupts, but am335x-sancloud-bbe-extended-wifi.dts already defines such. This issue is not being fixed here. Existing binding also did not mention any supplies (which do exist as confirmed in datasheet) and Linux driver does not ask for any, thus keep this state unchanged. 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>
50 lines
1.0 KiB
YAML
50 lines
1.0 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/net/bluetooth/qcom,qca2066-bt.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Qualcomm QCA2006 Bluetooth
|
|
|
|
maintainers:
|
|
- Balakrishna Godavarthi <quic_bgodavar@quicinc.com>
|
|
- Rocky Liao <quic_rjliao@quicinc.com>
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- qcom,qca2066-bt
|
|
- qcom,qca6174-bt
|
|
|
|
clocks:
|
|
items:
|
|
- description: External low-power 32.768 kHz clock input
|
|
|
|
enable-gpios:
|
|
maxItems: 1
|
|
|
|
required:
|
|
- compatible
|
|
- clocks
|
|
- enable-gpios
|
|
|
|
allOf:
|
|
- $ref: bluetooth-controller.yaml#
|
|
- $ref: qcom,bluetooth-common.yaml
|
|
- $ref: /schemas/serial/serial-peripheral-props.yaml#
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
serial {
|
|
bluetooth {
|
|
compatible = "qcom,qca6174-bt";
|
|
clocks = <&divclk4>;
|
|
enable-gpios = <&pm8994_gpios 19 GPIO_ACTIVE_HIGH>;
|
|
firmware-name = "nvm_00440302.bin";
|
|
};
|
|
};
|