From: George Moussalem <[email protected]> Document the Qualcomm IPQ5018 Bluetooth controller.
Signed-off-by: George Moussalem <[email protected]> --- .../bindings/net/bluetooth/qcom,ipq5018-bt.yaml | 86 ++++++++++++++++++++++ 1 file changed, 86 insertions(+) diff --git a/Documentation/devicetree/bindings/net/bluetooth/qcom,ipq5018-bt.yaml b/Documentation/devicetree/bindings/net/bluetooth/qcom,ipq5018-bt.yaml new file mode 100644 index 000000000000..2119162994e0 --- /dev/null +++ b/Documentation/devicetree/bindings/net/bluetooth/qcom,ipq5018-bt.yaml @@ -0,0 +1,86 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/bluetooth/qcom,ipq5018-bt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm IPQ5018 Bluetooth + +maintainers: + - George Moussalem <[email protected]> + +properties: + compatible: + enum: + - qcom,ipq5018-bt + + clocks: + items: + - description: Bluetooth Subsystem low power oscillator clock + + clock-names: + items: + - const: lpo + + firmware-name: + maxItems: 1 + + memory-region: + items: + - description: | + Reserved memory carveout for firmware loading and runtime data + transport between the host and the Bluetooth controller. + + interrupts: + maxItems: 1 + + qcom,ipc: + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + - items: + - description: syscon node representing the APCS registers + - description: offset to the register within the syscon + - description: IPC bit within the register + description: | + The outgoing IPC bit used for signaling the Bluetooth controller of a host + event or for sending an ACK if the remote processor expects it. + + resets: + items: + - description: Bluetooth Subsystem reset + +required: + - compatible + - clocks + - clock-names + - firmware-name + - interrupts + - qcom,ipc + - resets + +allOf: + - $ref: bluetooth-controller.yaml# + - $ref: qcom,bluetooth-common.yaml + +unevaluatedProperties: false + +examples: + - | + #include <dt-bindings/clock/qcom,gcc-ipq5018.h> + #include <dt-bindings/interrupt-controller/arm-gic.h> + #include <dt-bindings/reset/qcom,gcc-ipq5018.h> + + bluetooth { + compatible = "qcom,ipq5018-bt"; + + firmware-name = "qca/bt_fw_patch.mbn"; + + clocks = <&gcc GCC_BTSS_LPO_CLK>; + clock-names = "lpo"; + resets = <&gcc GCC_BTSS_BCR>; + + qcom,ipc = <&apcs_glb 8 23>; + interrupts = <GIC_SPI 162 IRQ_TYPE_EDGE_RISING>; + + memory-region = <&btss_region>; + }; -- 2.53.0

