Path: blob/master/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/dma/qcom,bam-dma.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Qualcomm Technologies Inc BAM DMA controller78maintainers:9- Andy Gross <agross@kernel.org>10- Bjorn Andersson <andersson@kernel.org>1112allOf:13- $ref: dma-controller.yaml#1415properties:16compatible:17oneOf:18- enum:19# APQ8064, IPQ8064 and MSM896020- qcom,bam-v1.3.021# MSM8974, APQ8074 and APQ808422- qcom,bam-v1.4.023# MSM8916, SDM63024- qcom,bam-v1.7.025- items:26- enum:27# SDM845, SM6115, SM8150, SM8250 and QCM229028- qcom,bam-v1.7.429- const: qcom,bam-v1.7.03031clocks:32maxItems: 13334clock-names:35items:36- const: bam_clk3738"#dma-cells":39const: 14041interrupts:42maxItems: 14344dma-coherent: true4546iommus:47minItems: 148maxItems: 64950num-channels:51$ref: /schemas/types.yaml#/definitions/uint3252description:53Indicates supported number of DMA channels in a remotely controlled bam.5455qcom,controlled-remotely:56type: boolean57description:58Indicates that the bam is controlled by remote processor i.e. execution59environment.6061qcom,ee:62$ref: /schemas/types.yaml#/definitions/uint3263minimum: 064maximum: 765description:66Indicates the active Execution Environment identifier (0-7) used in the67secure world.6869qcom,num-ees:70$ref: /schemas/types.yaml#/definitions/uint3271description:72Indicates supported number of Execution Environments in a remotely73controlled bam.7475qcom,powered-remotely:76type: boolean77description:78Indicates that the bam is powered up by a remote processor but must be79initialized by the local processor.8081reg:82maxItems: 18384required:85- compatible86- "#dma-cells"87- interrupts88- qcom,ee89- reg9091anyOf:92- required:93- qcom,powered-remotely94- required:95- qcom,controlled-remotely96- required:97- clocks98- clock-names99100additionalProperties: false101102examples:103- |104#include <dt-bindings/interrupt-controller/arm-gic.h>105#include <dt-bindings/clock/qcom,gcc-msm8974.h>106107dma-controller@f9944000 {108compatible = "qcom,bam-v1.4.0";109reg = <0xf9944000 0x19000>;110interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>;111clocks = <&gcc GCC_BLSP2_AHB_CLK>;112clock-names = "bam_clk";113#dma-cells = <1>;114qcom,ee = <0>;115};116...117118119